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

stuck on making a server after making the folder

Hello this is following the ruby on rails project to make a "facebook" style website. I am having this same issue with following the tutorial that i posted in earlier . I believe it is cause he is using a Mac vs a windows application. As i read down below It stated how to make a dir projects by doing mkdir [directory_name] so i just wrote in mkdir projects. that sloved that issue. took me a bit to figure out how to get myself into the projects folder which i finally remembered was cd projects. Anyways i was finally thinking i had it figured out, now my command prompts says start command Prompt with ruby in the title area. but now i'm having the issue of it showing me errors when I go to make the server. I typed in rails new treebook and it throws back

ruby 1.9.3p545 (2014-02-24) [i386-mingw32]

rails new treebook C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in to_specs': Co uld not find railties (>= 0) amongst [bigdecimal-1.1.0, io-console-0.3, json-1.5 .5, minitest-2.5.1, rake-0.9.2.2, rdoc-3.9.5] (Gem::LoadError) from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:256:in to_spec' from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems.rb:1231:in gem' from C:/RailsInstaller/Ruby1.9.3/bin/rails:22:in'

so this is where i am stuck

2 Answers

Hi Howard! I hope I can help you out... It sounds like you only have ruby installed and not rails. Try typing in 'rails -v' inside your command prompt just to make sure you have rails installed. If you don't then go over to http://railsinstaller.org/en install the Windows version of rails.

i had installed it but i was opening the wrong folder for the command prompt