I am used to doing Rails development work on a Mac. However, now other developers will be working with me and they use Windows, both XP and Vista. I am trying to figure out the Windows environment so I can help them.
In OS X and Linux you have this kind of thing...
$ cd [Rails project root]
$ script/console
Tried it on Windows but all I got was "'script' is not recognized as an internal or external command...etc."
What is the Windows equivalent?
-
ruby script/whateverThat should do it for you.
-
Does:
c:\railsproject\> ruby script/consolework for you?
-
Have you tried issuing ruby script\console ? (Windows uses backslashes as path delimeters instead of foreslashes and doesn't support shebang syntax.)
-
rails path/to/your/new/application
cd path/to/your/new/application
ruby script/server
Check this out: http://rubyonrails.org/download
-
Get into your rails directory, then type:
ruby script/(your command)Make sure that you have the path to ruby on your path - otherwise you need to do:
(path to ruby)/ruby script/(your command)
0 comments:
Post a Comment