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

James Adam james at lazyatom.com
Wed Dec 9 03:06:11 PST 2009

I've set up my new laptop using Homebrew and RVM exclusively, and am  
pretty happy with the results. I even knocked up a script that will  
switch passenger versions according to the current ruby implementation.

The only snag I hit was an issue with Snow Leopard and ruby 1.8.6 gems  
that have compiled extensions; see my recent delicious links for more  
about that, along with the solution.

I had RVM running well on my old machine, which used macports for  
everything else, although I couldn't get rubinius or macruby working  
on it.

What I really like about RVM is that it lowers the barrier for trying  
1.9 and rubinius. I can't believe* we had a Manor talk last year about  
1.9 and yet it's still not really been adopted. I am hoping to start  
using 1.9 for all of my own projects and deployments, but RVM means I  
can still develop against client stacks without worrying too much.

- James

* I do understand why.

* J *

On 9 Dec 2009, at 10:34, Anthony Green <Anthony.Green at bbc.co.uk> wrote:

> I spent a good hour of yesterday evening debugging a gems problem on a
> colleagues laptop.
> It made me wonder whether there's a general consensus amongst  
> LRUGers on
> what's the best way to manage Ruby + Gems + Rails on OS X ?
> For myself I've 'fallen back' to using MacPorts, since it seems to
> accommodate a growth in need (counchDB etc) quite well.
> Thoughts ?
> -- 
> Anthony Green
> Client Side Developer
> Future Media & Technology for BBC Audio & Music Interactive
> http://www.bbc.co.uk/
> This e-mail (and any attachments) is confidential and may contain  
> personal views which are not the views of the BBC unless  
> specifically stated.
> If you have received it in error, please delete it from your system.
> Do not use, copy or disclose the information in any way nor act in  
> reliance on it and notify the sender immediately.
> Please note that the BBC monitors e-mails sent or received.
> Further communication will signify your consent to this.
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> http://lists.lrug.org/listinfo.cgi/chat-lrug.org

More information about the Chat mailing list