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 Installing a Ruby Development Environment Installing a Ruby Development Environment Installing Ruby on Mac

Terminal won't install rbenv

So I'm watching the video on how to install Ruby for Mac, and I already have Ruby, but when it gets to the part with rbenv, and tells you to copy the line from the website "$ git clone https://github.com/rbenv/rbenv.git ~/.rbenv" and paste it into your console, my console won't run it. It says "command not found." What's going on?

2 Answers

Tobias Helmrich
Tobias Helmrich
31,602 Points

Hey Benjamin,

just to make sure: Do you have git installed on your machine?

Yes, I do. I actually found a different way to install rbenv that ended up working, but thank you. I have other issues to inquire about now.

Yohan Dantan
Yohan Dantan
2,370 Points

Benjamin Ferguson hey mate I have the same issue - how did you get it working?