views:

633

answers:

1

i'm deploying my app to a shared hosting environment, and apparently i need to set up the root path in my environment file. when i try to boot it up i get this error:

** Starting Rails with production environment... /home/donner/etc/rails_apps/donnerparty/config/../vendor/rails/railties/lib/initializer.rb:902:in `read': No such file or directory

i can't find any clear instructions on how to set the root path.

A: 

You likely want something like this in your environments/production.rb file (unless you are testing and developing in the same place - then you want it just in the general environment.rb):

RAILS_ROOT = /home/donner/etc/rails_apps/donnerparty

Shane Liebling