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

Ruby

installing ruby/rails into terminal

don't know if it counts but i'm using a macbook from early '08. i thought i successfully installed ruby/rails into my terminal but when i go to localhost:3000 i get nothing. any advice on how to successfully connect to the server so i can learn ruby?

2 Answers

Verify your installation by opening terminal and running the following commands to check the versions of Ruby and Rails:

ruby -v
rails -v

Once you've verified your installation, you should then be able to create your application and start your server by running the following commands:

rails new blog
cd blog
rails server

You can replace "blog" with the application name of your choice.

ruby 1.9.3p392 (2013-02-22 revision 39386) [x86_64-darwin10.8.0] Rails 3.2.12

HEY IT WORKS!!! thanks a lot my good man. much appreciated.