Telling gems where to install

hi -

gems is great but it kind of hides the code. id like to download
certain gems and customize/build on them.

is there a way to tell a gem to install to a particular directory?

and if an app is built on a gem, to then run it using all the gem
source local in that dir rather than in /usr/local/lib …

thanks!

  David "DC" Collier

mailto:[email protected]
+81 (0)80 6521 9559
skype: callto://d3ntaku

On Dec 28, 2006, at 10:17, dc wrote:

gems is great but it kind of hides the code. id like to download
certain gems and customize/build on them.

is there a way to tell a gem to install to a particular directory?

and if an app is built on a gem, to then run it using all the gem
source local in that dir rather than in /usr/local/lib …

The GEM_HOME environment variable is the catch-all way, but there are
also arguments to gem install. RubyGems does not know how to search
multiple directories for gems.


Eric H. - [email protected] - http://blog.segment7.net

I LIT YOUR GEM ON FIRE!

Eric H. wrote:

The GEM_HOME environment variable is the catch-all way, but there are
also arguments to gem install. RubyGems does not know how to search
multiple directories for gems.

Can you clarify on this?

Reading http://rubygems.org/read/chapter/11 it seems to support multiple
gem directories.

Am I wrong?

Stefan

On Dec 28, 2006, at 15:31, Stefan M. wrote:

The GEM_HOME environment variable is the catch-all way, but there are
also arguments to gem install. RubyGems does not know how to search
multiple directories for gems.

Can you clarify on this?

Reading http://rubygems.org/read/chapter/11 it seems to support
multiple
gem directories.

Am I wrong?

You are right, I am wrong.


Eric H. - [email protected] - http://blog.segment7.net

I LIT YOUR GEM ON FIRE!