[LRUG] Setting up Ruby + Gems + Rails on OS X

Paul Campbell paul at rslw.com
Wed Dec 9 02:59:07 PST 2009


>> Like Paul, I use the inbuilt Ruby, but I changed the gem location to be
>> local. For bash, this can be done as follows:
>> http://gist.github.com/217895
>>
>
> 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 this
> changed in rubygems but I know it used to complain and now it silently
> 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:

PATH=$PATH:/Users/paul/.gem/ruby/1.8/bin



>
> Muz
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>



-- 


Paul Campbell
paul at rushedsunlight.com
- - - - - - - - - - - - - - - - - - -
blog http://www.pabcas.com
twitter http://www.twitter.com/paulca
github http://www.github.com/paulca
phone +353 87 914 8162
- - - - - - - - - - - - - - - - - - -



More information about the Chat mailing list