ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Rolling with Ruby on Rails
Subject:   Stuck at test empty web application
Date:   2005-06-17 01:20:26
From:   Jo_in_NZ
I am running Windows Server 2003, installed on the D; drive.
When I installed Ruby, running the command ruby -v from D:> I get "'ruby' is not recognized as an internal or external command, operable program or batch file". To get the output shown in this tutorial, I have to change to the ruby\bin directory. I struck the same situation with the "gem install rails --remote" command and the "rails cookbook" command. Hence my cookbook directory has ended up in my ruby\bin directory. This is where I get stuck - the cookbook directory has the script directory created inside it, and that has a file named server in it, but if I run ruby script\server from that directory I get "'ruby' is not recognized as an internal or external command, operable program or batch file" again. I can't run cookbook\script\server from the ruby\bin directory - this results in "ruby: no such file or directory-- /cookbook/script/server <LoadError>". In the cookbook/scripts folder, the files have no extensions - is this normal?

1 to 1 of 1
  1. Curt Hibbs photo Stuck at test empty web application
    2005-06-17 04:07:02  Curt Hibbs | O'Reilly AuthorO'Reilly Blogger [View]

    • Stuck at test empty web application
      2005-06-17 17:26:53  Jo_in_NZ [View]

      • Curt Hibbs photo Stuck at test empty web application
        2005-06-17 21:58:01  Curt Hibbs | O'Reilly AuthorO'Reilly Blogger [View]

1 to 1 of 1