Hi Chris,

Another way is to install homebrew and run brew install ruby.  This will
make ruby 1.9.1p378 your default ruby at /usr/local/bin/ruby.  However,
homebrew is at ruby 1.9.1, and I've experienced trouble running Rails 3 apps
with anything other than 1.9.2-head.  So I also use RVM for all my projects.

The killer feature in RVM is gemsets.  Just drop a .rvmrc file in a project
folder and when you cd to that folder it will automatically change to the
defined ruby version and gemset for that project.

So...

% cd /path/to/my/rails3project
Using ruby 1.9.2 head with gemset myrails3project
[master]%


Have fun,
Peter


On Thu, May 20, 2010 at 8:14 PM, Rob Kaufman <[email protected]> wrote:

> Chris,
>   Its worth noting that the Mac uses its default Ruby for various things.
> I don't know specially if there are system functions that need it, but I do
> know that similar binaries like sqlite3 can not be removed without hosing
> your OS install.
>
> Best,
> Rob
>
>
> On Thu, May 20, 2010 at 17:28, Martin Emde <[email protected]> wrote:
>
>> It's been going really well. I'm really enjoying working at Engine Yard
>> and San Francisco is awesome. I do miss the San Diego weather but that's to
>> be expected :P
>>
>> Martin Emde
>> Tw: @martinemde
>>
>>
>>
>> On Thu, May 20, 2010 at 2:59 PM, Chris McCann <[email protected]>wrote:
>>
>>> Wow, you guys are fast!  Thanks so much for all the input.  Nick
>>> Wientge also suggested RVM so I'm definitely going to give that a try.
>>>
>>> Martin: How's the Bay Area treating you?  Hope you're well.
>>>
>>> Cheers,
>>>
>>> Chris
>>>
>>> On May 20, 2:41 pm, Martin Emde <[email protected]> wrote:
>>> > +1 for RVM
>>> >
>>> > Don't try to uninstall the default OS X Ruby.
>>> >
>>> > Martin Emde
>>> > Tw: @martinemde
>>> >
>>> > On Thu, May 20, 2010 at 2:39 PM, Scott Smith <
>>> [email protected]>wrote:
>>> >
>>> >
>>> >
>>> > > I ran into similar challenges when I upgraded to Snow Leopard.  I
>>> concur w/
>>> > > John on rvm; it's now an integral part of my Ruby development.
>>> >
>>> > > I found I could disable the unwanted ruby by deleting or moving its
>>> > > binaries.  I considered reordering the items in the PATH environment
>>> > > variable, but I decided that was too risky.
>>> >
>>> > > HTH,
>>> >
>>> > > Scott
>>> >
>>> > > On Thu, May 20, 2010 at 2:33 PM, John Lynch <[email protected]
>>> >wrote:
>>> >
>>> > >> Chris, why not try RVM? Its a great way to have multiple Rubies on
>>> your
>>> > >> machine.
>>> >
>>> > >>http://rvm.beginrescueend.com/
>>> >
>>> > >> Regards,
>>> >
>>> > >> John Lynch, CTO
>>> > >> Rigel Group, LLC
>>> > >> [email protected]
>>> >
>>> > >> On Thu, May 20, 2010 at 2:25 PM, Chris McCann <
>>> [email protected]>
>>> > >> wrote:
>>> > >> > SD Ruby,
>>> >
>>> > >> > I'm trying to sort out how best to uninstall the default ruby
>>> 1.8.6
>>> > >> > install that comes with OS X 10.5.  I installed 1.8.7 following
>>> the
>>> > >> > Hivelogic advice but now I'm obviously getting conflicts between
>>> the
>>> > >> > two ruby versions.
>>> >
>>> > >> > My main goal is to do this without clobbering all of the installed
>>> > >> > gems on my MacBook.  Can anyone give me some pointers on how best
>>> to
>>> > >> > do this?  I would have thought this would be a snap to google but
>>> I've
>>> > >> > yet to find an accurate or detailed explanation of how to remove
>>> > >> > 1.8.6.
>>> >
>>> > >> > Cheers,
>>> >
>>> > >> > Chris
>>> >
>>> > >> > --
>>> > >> > SD Ruby mailing list
>>> > >> > [email protected]
>>> > >> >http://groups.google.com/group/sdruby
>>> >
>>> > >> --
>>> > >> SD Ruby mailing list
>>> > >> [email protected]
>>> > >>http://groups.google.com/group/sdruby
>>> >
>>> > > --
>>> > > Scott Smith
>>> >
>>> > > With privilege comes responsibility,
>>> > > with responsibility comes accountability,
>>> > > with accountability comes honesty,
>>> > > with honesty comes faithfulness.
>>> >
>>> > > --
>>> > > SD Ruby mailing list
>>> > > [email protected]
>>> > >http://groups.google.com/group/sdruby
>>> >
>>> > --
>>> > SD Ruby mailing list
>>> > [email protected]http://groups.google.com/group/sdruby
>>>
>>> --
>>> SD Ruby mailing list
>>> [email protected]
>>> http://groups.google.com/group/sdruby
>>>
>>
>>  --
>> SD Ruby mailing list
>> [email protected]
>> http://groups.google.com/group/sdruby
>>
>
>  --
> SD Ruby mailing list
> [email protected]
> http://groups.google.com/group/sdruby
>



-- 
Peter Gumeson
[email protected]

-- 
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby

Reply via email to