Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


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.