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 trialDavid Jahns
14,165 Pointsrvm command not found
So I created a Projects directory within my treehouse directory and started the VM.
Below is are my commands/response from Terminal:
Davids-MacBook-Pro:treehouse davidjahns$ cd Projects
Davids-MacBook-Pro:Projects davidjahns$ ruby -v
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0]
Davids-MacBook-Pro:Projects davidjahns$ rvm use 2.1.2
-bash: rvm: command not found
I assumed I needed to type "rvm use (current version) instead of the 1.9.3.
Is there something I'm missing?
Any help would be greatly appreciated!
1 Answer
Kevin Kenger
32,834 PointsHey David,
There's a chance that rvm might not be loaded when you open a new terminal. Try running this:
echo "source ~/.rvm/scripts/rvm" >> ~/.bash_profile
This should add the path to rvm so it loads each time you open a new terminal window. Be sure to close the window after you run this and open a new one to make sure that it works!
I hope that helps!