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

Ruby

Rubyinstaller won't install on my Macbook Pro

On the webpage (rubyinstaller.org) this message is currently displayed on the homepage, just before the links to download the Mac OS ruby on rails stack.

Please do not run the installer on OSX Mavericks until further notice.

Now what do I do in order to continue in my ruby on rails learning path via teamtreehouse?

4 Answers

Stone Preston
Stone Preston
42,016 Points

your macbook probably already has ruby installed on it. To check you can open up terminal and run this command:

$ ruby -v

if not (or even if you already had it and want a newer version) you can use RVM to install and manage Ruby versions and any other gems you want to install. to install RVM along with Ruby run the following command

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

then you can install rails using

$ gem install rails

I figured it out. Thanks for the detailed suggestions everyone. Alan and Kang, your suggestions helped round out Stone's advice. Thanks again.

Alan Johnson
Alan Johnson
7,625 Points

In Installing a Ruby Development Environment we also cover using the Treehouse VM to do your development. It's a great solution in that most of the software you need is already installed, just in case digging into RVM as suggested by Stone feels a little daunting.

I'd wholeheartedly recommend Stone's solution too, though. I use RVM for development every day while working on Treehouse, and it works like a champ!

I figured it out. Thanks for the detailed suggestions everyone. Alan and Kang, your suggestions helped round out Stone's advice. Thanks again.

Kang-Kyu Lee
Kang-Kyu Lee
52,045 Points

Hi Jeremy, (I thought actually rubyinstaller.org was not for Macs.. however) I bought a macbook pro last week and I set it up for ruby on Maverick, and it worked like this:

  • install command line dev tool (or xcode-select --install on terminal - this is for Maverick)
  • install homebrew
  • install rbenv and ruby-build
  • and install sqlite3 followed by rails as gem.. (don't even have to install nodejs)

...I guess it's basically what Jason showed us.

I figured it out. Thanks for the detailed suggestions everyone. Alan and Kang, your suggestions helped round out Stone's advice. Thanks again.

I figured it out. Thanks for the detailed suggestions everyone. Alan and Kang, your suggestions helped round out Stone's advice. Thanks again.