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 trialPete Buechler
1,659 PointsInstalling Homebrew Mac OS X (10.7)
Unlike the video, brew.sh, no longer contains an install homebrew button. Pasting the code, under the heading Install Homebrew, results in the following error: line 21: /usr/local/Cellar/rbenv/0.4.0/libexec/rbenv: No such file or directory
If I restart a terminal window I get:
-bash: rbenv: command not found
It's not at all clear what to do from here 8-(
1 Answer
Ian Greer
3,086 PointsFirst thing you need to make sure you have a current version of xcode.
Secondly, which directory are you in while executing the command? Are you executing the proper command? You should be putting in: ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
This is assuming ruby is installed. You can check for the version by typing in 'ruby -v'. To get the latest stable version type in 'rvm get stable'.
Pete Buechler
1,659 PointsPete Buechler
1,659 PointsIan's suggestion worked. Thanks! For more details, I just found the following more detailed instructions: http://v.gd/DQslCs