Specify include directory


I’m trying to get my Rails project (working fine locally) to work on a
remote webserver.

When running dispatch.fcgi, I am getting error messages about not being
able to find the required modules. In boot.rb, I deleted the "require
‘rubygems’ line, as Gems is not installed on the server. I also
specified the full path (/usr/share/rails/railties/lib/) to the
initializer.rb file, which in turn exits with an error while trying to
find check_ruby_version. So, specifying the full path at every require
isn’t a good thing to do, I guess.

Where can I specify the path at wich Rails (or is it Ruby) is looking
for required modules?

Thanks a lot

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs