Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Ruby Ruby Foundations Ruby Basics Installing Ruby

installing homebrew

The "install homebrew today" button isn't on that page anymore, and so, i can't find where i need to go to get the shell prompt

8 Answers

Jordan Anderson
Jordan Anderson
19,560 Points

Hey Megan,

This should be the script you can run in your terminal to start the installation process.

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Hope this helps!

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

I wonder why that video still not retired. I would rather check this course installing a ruby development environment

or go try ruby basic on workspace.

Jordan Anderson
Jordan Anderson
19,560 Points

I agree, it needs to be updated. I got stuck on that video too. The method he showed in that video wouldn't work on my system and took me a while to figure out how to get it right.

Thanks for the script Jordan! Yeah, they really need to update the video or add alternate instructions in the instructor's notes.

Jordan Anderson
Jordan Anderson
19,560 Points

You're welcome! Glad i could be of some help!

Hey guys -- hopefully you can help me out again. I've entered the prompt and for some reason it's not working. Any idea why?

Last login: Fri Sep 12 16:13:59 on ttys000 SCCLDSSCs-MacBook-Air:~ SCCLDSSC$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" ==> This script will install: /usr/local/bin/brew /usr/local/Library/... /usr/local/share/man/man1/brew.1

Press RETURN to continue or any other key to abort ==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew Password: ==> Installing the Command Line Tools (expect a GUI popup): ==> /usr/bin/sudo /usr/bin/xcode-select --install Usage: xcode-select -print-path or: xcode-select -switch <xcode_folder_path> or: xcode-select -version Arguments: -print-path Prints the path of the current Xcode folder -switch <xcode_folder_path> Sets the path for the current Xcode folder -version Prints xcode-select version information Failed during: /usr/bin/sudo /usr/bin/xcode-select --install SCCLDSSCs-MacBook-Air:~ SCCLDSSC$ $brew install git usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 file2 install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 ... fileN directory install -d [-v] [-g group] [-m mode] [-o owner] directory ... SCCLDSSCs-MacBook-Air:~ SCCLDSSC$

Man, this video is like so old! the beginrescueend site isn't the right URL. Does anybody have the script for rvm?

Jordan Anderson
Jordan Anderson
19,560 Points

Theres a couple diff version installs for RVM. Go here: http://rvm.io/rvm/install Use which ever you think is most appropriate. I don't even remember which one i used anymore.