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 trialkabir k
Courses Plus Student 18,036 PointsInstalling Ruby on your computer
I'm curious as to how you install Ruby on your computer and how to confirm that it has been installed.
Assuming you are on a Mac.
1 Answer
uxeric
6,263 PointsRuby comes pre-installed on MacOSX. To confirm it's installation, open the terminal by hitting cmd+space, type terminal
, and hit return. Once you have the terminal up, type in ruby --version
. If ruby is installed, a message similar to this one should appear: ruby 1.9.3p484 (2013-11-22 revision 43786)
.
If you don't have it for some reason, I would recommend installing it through the brew package manager here. Once brew is installed you can run the brew install ruby
command to install ruby. Then verify that it was properly installed by following the previous instructions.
Edit: Updated formatting.
uxeric
6,263 PointsForgive me, I had issues with formatting my answer. The first thing you need to press is cmd+space. I've updated the formatting in my original answer. Hopefully that clears things up. :)
kabir k
Courses Plus Student 18,036 PointsOk, got it. It works. Thanks, Eric.
uxeric
6,263 PointsYou're welcome Kabir. Best of luck getting through the course.
amathiaitishar
13,229 Pointsamathiaitishar
13,229 Pointsor you could head over to http://installrails.com/ and click on Start and choose your Operating System and follow the crystal clear instructions.