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
More Terminal Help!
On the Ruby project installing Ruby Mac:
I've used the ruby installer and if I open terminal and type ruby -v I get this:
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.4.0]
If i type rails --help I get the out put starting:
Usage: rails new APP_PATH [options]
Options: -r, [--ruby=PATH] # Path to the Ruby binary of your choice
The next exercise (Generating a ruby application) asks me to first tell ruby which version to use by typing - rvm use 1.9.3
I'm getting this as a return -
ruby-1.9.3-p374 is not installed. To install do: 'rvm install ruby-1.9.3-p374'
What do I need to do?
As an aside can I break my OS by using terminal and installing things like Ruby?
Thanks for any replies
2 Answers
Paul Dietrich
4,557 PointsIn one of the first several badges of Building A Simple Ruby On Rails Application (https://teamtreehouse.com/learning-adventures/become-a-web-developer), it guides you step-by-step on how to install Ruby on your Mac via the Terminal.
I have Ruby installed on my Mac (installed via Terminal), and so far my OS is fine. :)
Chuck Lauer Vose
3,191 PointsTo install do: 'rvm install ruby-1.9.3-p374'
Yes, you can break your OS through the terminal but it will generally require you to type sudo before the damaging command. Rvm and ruby are pretty safe though