Ensure system path includes rails.bat
If installing rails gems on Windows manually, you'll need to set your system path (My Computer -> Properties -> Advanced -> Environment Variables -> System variables) to include the rails gem executable. It can be found here:
<Your ruby install dir>\lib\ruby\gems\1.8\gems\bin\rails.bat
Then, restart your command line console. You should be able to type "rails hello" and generate a project.
Last edited by benjaminbooth; November 18th, 2009 at 01:09 PM..
Reason: Removed extra word
|