You''re one directory too deep. Run that same command from the
c:\rails\cookbook\ directory.
On 11/2/05, Payam Fard
<p_fard_2000-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>
wrote:> Hi all,
>
> I am using the following version of Ruby:
>
> ruby 1.8.2 (2004-12-25) [i386-mswin32]
>
> I have successfully installed rails using RubyGems.
> When I run the following command to create a new
> controller for my app, I get the following error:
>
> C:\rails\cookbook\app>ruby script\generate controller
> MyController
> ruby: No such file or directory -- script/generate
> (LoadError)
>
> I have done this before using an older version of
> ruby. Any ideas what could be wrong?
>
> Thanks in advance,
> Payam
>
>
>
> __________________________________
> Yahoo! FareChase: Search multiple travel sites in one click.
> http://farechase.yahoo.com
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
--
Marlon