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


unable to install ruby on mac

i download gcc(something like that) and i installed it, but when i went to home brew there is nothing called as install on the new website. but i copied some link and pasted it on terminal it is asking for a password. now i got struck here , could some one guide me

i am using mavericks os

1 Answer

Stone Preston
Stone Preston
42,016 Points

it looks like you are trying to install homebrew using the command line. Paste in the code into terminal from the homebrew site.

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

It will ask for your password. type in your password that you use to log in to your computer. (you wont be able to see what you are typing however) Once done typing your password press enter

homebrew works fine, however I feel RVM is the best solution to managing ruby versions.