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:dc@pikkle.com
      +81 (0)80 6521 9559
      skype: callto://d3ntaku
-------------------------------------------
      Pikkle 株式会社
      http://www.pikkle.com
-------------------------------------------

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.

···

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 ...

--
Eric Hodel - drbrain@segment7.net - http://blog.segment7.net

I LIT YOUR GEM ON FIRE!

Eric Hodel wrote:

···

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.

Can you clarify on this?

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

Am I wrong?

Stefan

You are right, I am wrong.

···

On Dec 28, 2006, at 15:31, Stefan Mahlitz wrote:

Eric Hodel wrote:

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.

Can you clarify on this?

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

Am I wrong?

--
Eric Hodel - drbrain@segment7.net - http://blog.segment7.net

I LIT YOUR GEM ON FIRE!