telling gems where to install...

D

dc

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!

--
 
E

Eric Hodel

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top