Rails Deployment

Hi,

How do I configure my rails app for a custom gems directory ?
My hosting tells me that I need to add this to my scripts :
$:.push("/home/concptpl/ruby/gems")

But that seems to be for independent ruby scripts, how to I configure
rails
accordingly ?

Thanks & Regards,
Dhruva S…

Ogden Nash http://www.brainyquote.com/quotes/authors/o/ogden_nash.html

“The trouble with a kitten is that when it grows up, it’s always a cat.”

From http://www.rubygems.org/read/chapter/3

If a user does not have access to the standard installation location
(typically /usr/local/lib/ruby), then they have the option of
installing RubyGems in a alternate location.

Note that if you can’t install RubyGems in the standard location, then
you probably can’t install gems in the standard gem repository
location either. You need to specifiy a non-standard gem repository
location via the GEM_HOME environment variable.

Use the following to install RubyGems in a user directory (here
called /home/mystuff) with a repository named /home/mygemrepository):

$ export GEM_HOME=/home/mygemrepository

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