Rolling with Ruby on Rails
Subject:   installation
Date:   2005-08-22 20:34:57
From:   tom@yogajones
I'm on Windows 2000. The Rails files (version 1.0.0) apparently successfully installed in my C:\ruby folder.

However when I try to call rails from the command line, I get the message: "rails is not a recognized as an internal or external command, operable program or batvch file."

What's up and how can it be fixed? Help much appreciated.

Full Threads Oldest First

Showing messages 1 through 3 of 3.

  • Curt Hibbs photo installation
    2005-08-31 10:30:12  Curt Hibbs | O'Reilly AuthorO'Reilly Blogger [View]

    It sounds like the c:\ruby\bin directory (assuming the default installation path) did not get added to your system path. Although very rare, I've seen this happen before.

    If you add it to your path, it should work just fine.
  • installation
    2005-08-28 11:59:17  merster [View]

    I had the same problem. I'm a newbie, but here's what I figure. Rails is just not getting installed. You'll need an updated "gem". You can find that on PLEASE READ THE RELEASE NOTES so you know how to update gem (since it depends on what version you're currently running (obtained with: gem -v)).

    Anyway, once you've updated gem, then run:
    gem install rails --include-dependencies

    You should be all set. Best of luck!
    • installation
      2005-10-02 21:37:12  tom@yogajones [View]

      That did it. Thanks so much!