Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
telling gems where to install...
d c
12/28/2006 6:17:00 PM
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....
-------------------------------------------
3 Answers
Eric Hodel
12/28/2006 7:34:00 PM
0
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 Hodel - drbrain@segment7.net -
http://blog.se...
I LIT YOUR GEM ON FIRE!
Stefan Mahlitz
12/28/2006 11:32:00 PM
0
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/...
it seems to support multiple
gem directories.
Am I wrong?
Stefan
Eric Hodel
12/28/2006 11:45:00 PM
0
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/...
it seems to support
> multiple
> gem directories.
>
> Am I wrong?
You are right, I am wrong.
--
Eric Hodel - drbrain@segment7.net -
http://blog.se...
I LIT YOUR GEM ON FIRE!
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
telling gems where to install...
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password