[LRUG] Setting up Ruby + Gems + Rails on OS X
pat at freelancing-gods.com
Wed Dec 9 03:17:20 PST 2009
On 09/12/2009, at 9:59 PM, Paul Campbell wrote:
>>> Like Paul, I use the inbuilt Ruby, but I changed the gem location
>>> to be
>>> local. For bash, this can be done as follows:
>> I'm pretty sure that if you don't have write access to the system gem
>> path a gem install will use ~/.gem by default. I don't know when
>> changed in rubygems but I know it used to complain and now it
>> puts things in ~/.gem whenever I forget to sudo.
> Yeah, I try not to use sudo most of the time. My ~/.bash_profile
> just has this:
It does indeed do it by default - I found it still complained until I
told it to just use ~/.gem and nowhere else.
More information about the Chat