From: Josh Cheek Date: 2011-08-28T19:07:52+09:00 Subject: Re: NEWBIE issue: getting the rails command to work --f46d04287b7969ff9604ab8df37c Content-Type: text/plain; charset=ISO-8859-1 On Sat, Aug 27, 2011 at 11:18 PM, Josh Cheek wrote: > On Sat, Aug 27, 2011 at 11:06 PM, Jason Hsu wrote: > >> The "rails tickets" command didn't work, but the "rails new tickets" >> command did work. >> >> Now I'm supposed to cd my way into the tickets folder and enter "ruby >> script/server". I have no difficulty getting into the tickets folder, but >> when I enter "ruby script/server", I get the error message: "ruby: No such >> file or directory -- script/server (LoadError)" >> >> What do I need to get the ruby command to work? >> >> >> > Sounds like your book is written for Rails 2, but you have Rails 3 > installed. > > You can uninstall with `gem uninstall rails` then `gem install rails > --version 2.3` (or whatever version your book says its using). > > > Here's a list of available versions https://rubygems.org/gems/rails/versions --f46d04287b7969ff9604ab8df37c--