Current Articles | Categories | Search | Syndication

 

Setup Ruby on Rails OS X Lion

By Ryan Doom on Monday, August 22, 2011

Setup Ruby on Rails OS X Lion
By Ryan Doom @ 8:08 PM
1503 Views :: 3 Comments :: :: Technical, General, Popular Article

 In the last 6 months I have installed Ruby on Rails 3 a hand full of time on OS X.  There are lots of different articles on how to do this but this is the simplest and the best way I have found to setup my Ruby on Rails 3 development environment.

Install XCode

Installation

Install Hombrew

Install Git (with homebrew)
  • brew install git

Install RVM (Ruby version manager)

Install Ruby 1.9.2 (or whatever version)
  • rvm install 1.9.2

Install Rails 3
  • Rails is a gem, so you can include this in your new Rails projects gem file and have it available. In your .Gemfile it is just
  •   gem 'rails', '3.0.9'

 

 

Rating
Comments
By David Strauß @ Saturday, December 03, 2011 5:07 AM
If you don't want to download XCode just for GCC, there is a neat little GCC package hosted on Github.

Plus I had some issues with RVM so I switched to rbenv. A more lightweight and simple solution to manage my Ruby versions. You can read my findings here: http://stravid.com/articles/coffeescript-and-ruby-development-setup-on-osx-lion/

By canada goose @ Sunday, December 04, 2011 10:45 PM
<b><a href="http://www.ecanadagooseparka.org/">canada goose parka</a></b> helping the son <b><a href="http://www.ecanadagooseparka.org/">canada goose</a></b> of Wang Feng 1.75 m tall and do physical <b><a href="http://www.ecanadagooseparka.org/">canadian goose</a></b> training. Simple conditions at home.

By 传奇世界私服 @ Thursday, December 29, 2011 3:09 AM
I really like your blog and how you write about your life. You may also like to visit my website for a nice collection of earrings and all. Thanks

Click here to post a comment
Software development and sales blog