Forum: Ruby on Rails Gems on custom dir are ignored

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Pedro V. (Guest)
on 2006-04-10 07:40

Im working on my hosting linux platform and Im trying to use custom gems
not that default installed on /usr/lib/ruby/gems/1.8
I installed gems on $HOME/apps/lib/gems/1.8
I export:
export GEM_HOME=$HOME/apps/lib/gems/1.8
export GEM_PATH=$HOME/apps/lib/gems/1.8

I got rails 1.1.2

rails -v shows
Rails 1.1.2

but on a page using dispatch.rb I got

this shows that the default gem path is used.

I dont know where to specify the paths for gems

This topic is locked and can not be replied to.