Rails Deployment


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 :

But that seems to be for independent ruby scripts, how to I configure
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