Forum: Ruby on Rails specify include directory

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
7714385c071e185815de39ac3258f814?d=identicon&s=25 mh. (Guest)
on 2006-04-10 19:46
Hi!

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 topic is locked and can not be replied to.