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


Generate a Rails Application - in Terminal


I'm on Mac OSX 10.8 - in Terminal

I am trying to follow the Genreate a Rails App video, but have hit a wall... I keep getting:

1.9.3 [~/Project] $ rvm use 1.9.3
-bash: 1.9.3: command not found

The "1.9.3: command not found" is killing me. Any help would be greatly appreciated, thanks!

2 Answers

change 1.9.3 to ruby-1.9.3 and see if that works.

im having a problem where when i do rvm 1.9.3 then i do rails server to start the server it said

Error: you may be using the wrong PORT & HOST for your s
erver app
Cloud9 For rails, use: 'rails s -p $PORT -b $IP'
For Sinatra, use: ruby app.rb -p $PORT -o $IP'