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

Charles Timms
Charles Timms
574 Points

How do I create a new [project] as in the video on a windows 8 computer? and when I do 'ruby new treebook' its not same.

How do I create a new [project] as in the video on a windows 8 computer? and when I do 'ruby new treebook' its not the same??

2 Answers

Jun Hao Yap
Jun Hao Yap
9,074 Points

If this is about Ruby on Rails, the command is 'rails new [project]', not 'ruby new [project]', you might have confused ruby and rails, ruby is the language and rails is the framework.

Charles Timms
Charles Timms
574 Points

Sorry I did do that just wrote it in the question its saying things about rails installer..

Jun Hao Yap
Jun Hao Yap
9,074 Points

Perhaps, then, you might want to let us know which course and which video you're currently on so we can better help you.

Jun Hao Yap
Jun Hao Yap
9,074 Points

Right, so the command is "rails new treebook" and not "Ruby new treebook", Ruby != Rails.

If you have typed in "rails new treebook" and there is still an error you might want to show us the error that is being thrown by your console.

Jun Hao Yap
Jun Hao Yap
9,074 Points

Ok I'm not a windows person but it's generally not a good idea to be generating files into your system files folder, i.e in your case you're actually generating a huge bunch of files into your sysWOW64 folder. I suspect that writing files into your sysWOW64 folder requires administrator permission or some higher form of permission that rails does not have in generating a new project.

In short, try doing 'rails new treebook' in a folder that is not critical to your OS, try doing it in C:\Documents instead of C:\SysWOW64.

Just a guess, hope it works.