Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


Joseph Hall
Joseph Hall
10,865 Points

How to install ruby and Rails 4 on MAC OS Mavericks

Hi Everyone,

It appears there is no "rails installer" for installing ruby on rails and the full development environment on MAC OS Mavericks. Can anyone point me to some good instructions on how to do so, perhaps with an installer or manually?


Joseph Hall

Jason Seifer Jim Hoskins

2 Answers

Ethan Lowry
Ethan Lowry
Courses Plus Student 7,323 Points

Sure thing Joseph.

First of all, you'll want to get RVM. RVM allows you to easily install, manage and switch between multiple different versions of Ruby (or Ruby Gems) on your system. This is very useful when you need to make use of different versions for different projects.

I'd recommend reading through their installation guide, but the simple version is: run the following command from your command line and it will install RVM, Ruby and Rails in one go.

\curl -sSL https://get.rvm.io | bash -s stable --rails

If you require specific versions of Ruby or Rails, there are instructions in the RVM documentation for how to get these easily, or just comment here if you're stuck.