Updated Rails.root snippet to use %W so that variables can be interpolated