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 Build a Simple Ruby on Rails Application Getting Started with Rails Generate a Rails Application

Nancy Melucci
PLUS
Nancy Melucci
Courses Plus Student 36,143 Points

I was following fine until the "simple project"...how do I go from the C:// console to Ruby?

I've installed Ruby for windows. I need to know how to make the console use Ruby OR how to open a console that is running Ruby. I am typing in 1.9.3.[~/Projects]$ but I am getting an error message. Finally, I assume that "making a directory for Projects" is opening a folder called projects. Am I wrong about that?

3 Answers

Maciej Czuchnowski
Maciej Czuchnowski
36,441 Points

I would suggest downloading and using CMDER (http://bliker.github.io/cmder/) instead of Windows console and doing the whole Rails Development Track course by course: http://teamtreehouse.com/tracks/rails-development

In particular, you have to do the Console Foundations course because you will be working in the console a lot.

With command prompt open to use irb just type

     irb  

and hit enter that start interactive ruby shell or to run ruby files

   ruby C:\helloworld.rb

Hope this helps.