How to run ./script/generate rx_config ?

S

Sira PS

I'm a newbie and i'm working follow this link
http://dima.github.com/2009/03/19/working-with-restfulx-model-attachments.html

But I stuck on the step run ./script/generate rx_config. I don't know
how can I run it. I tried to go to the path of folder script and typed
generate rx_cofig on command line but it doesn't work.

C:\Data\Workspace\rx_model_attachments\script>generate rx_config

I got the error 'generate' is not recognized as an internal or external
command, operable program or batch file.

Anyone can tell me step by step of doing this. Big thanks!
 
7

7stud --

Sira PS wrote in post #994846:
I'm a newbie and i'm working follow this link
http://dima.github.com/2009/03/19/working-with-restfulx-model-attachments.html

But I stuck on the step run ./script/generate rx_config. I don't know
how can I run it. I tried to go to the path of folder script and typed
generate rx_cofig on command line but it doesn't work.

C:\Data\Workspace\rx_model_attachments\script>generate rx_config

I got the error 'generate' is not recognized as an internal or external
command, operable program or batch file.

Anyone can tell me step by step of doing this. Big thanks!


C:\ruby\> rails demo.

Now go into demo application root directory as follows:

C:\ruby\> cd demo
C:\ruby\demo> dir


You will find a directory structure as follows:

demo/
..../app
......../controller
......../helpers
......../models
......../views
............../layouts
..../components
..../config
..../db
..../doc
..../lib
..../log
..../public
..../script
..../test
..../tmp
..../vendor
README
Rakefile
 
S

Sira PS

I open the command line by right click on project and select command
line shell. So the directory is already indicated to root of project.

And I also tried to type ./script/generate rx_config on the command line
but it has the error.
'.' is not recognized as an internal or external
command, operable program or batch file.
 
7

7stud --

Sira PS wrote in post #995028:
I open the command line by right click on project and select command
line shell.

How about trying to open a command line(window?) manually?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,233
Members
46,820
Latest member
GilbertoA5

Latest Threads

Top