Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #3452 > unrolled thread

How to run ./script/generate rx_config ?

Started bySira PS <ploy.sukachai@gmail.com>
First post2011-04-25 05:46 -0500
Last post2011-04-26 12:11 -0500
Articles 4 — 2 participants

Back to article view | Back to comp.lang.ruby


Contents

  How to run ./script/generate rx_config ? Sira PS <ploy.sukachai@gmail.com> - 2011-04-25 05:46 -0500
    Re: How to run ./script/generate rx_config ? 7stud -- <bbxx789_05ss@yahoo.com> - 2011-04-25 18:23 -0500
      Re: How to run ./script/generate rx_config ? Sira PS <ploy.sukachai@gmail.com> - 2011-04-26 00:25 -0500
        Re: How to run ./script/generate rx_config ? 7stud -- <bbxx789_05ss@yahoo.com> - 2011-04-26 12:11 -0500

#3452 — How to run ./script/generate rx_config ?

FromSira PS <ploy.sukachai@gmail.com>
Date2011-04-25 05:46 -0500
SubjectHow to run ./script/generate rx_config ?
Message-ID<abbfdeaa856fead57f10848762b9b751@ruby-forum.com>
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!

-- 
Posted via http://www.ruby-forum.com/.

[toc] | [next] | [standalone]


#3481

From7stud -- <bbxx789_05ss@yahoo.com>
Date2011-04-25 18:23 -0500
Message-ID<9778a6109a6587c7cd285e045861aef0@ruby-forum.com>
In reply to#3452
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

-- 
Posted via http://www.ruby-forum.com/.

[toc] | [prev] | [next] | [standalone]


#3500

FromSira PS <ploy.sukachai@gmail.com>
Date2011-04-26 00:25 -0500
Message-ID<9d884daa890116c4ede602653bb54606@ruby-forum.com>
In reply to#3481
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.

-- 
Posted via http://www.ruby-forum.com/.

[toc] | [prev] | [next] | [standalone]


#3524

From7stud -- <bbxx789_05ss@yahoo.com>
Date2011-04-26 12:11 -0500
Message-ID<a7acedee239c8393ff65cf5694ba0e1d@ruby-forum.com>
In reply to#3500
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?

-- 
Posted via http://www.ruby-forum.com/.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.ruby


csiph-web