Can you give a better url to the tutorial?
I typed that command into a fresh rails app and it works fine.  I am guessing
the controller already exists perhaps?

-Tom

On Sun, 25 Jun 2006, Charles O Nutter defenestrated me:
> 
>    It appears to work correctly on Linux; perhaps the newline issue
>    again?
> 
>    On 6/25/06, Charles O Nutter <[EMAIL PROTECTED] > wrote:
> 
>    I'm running through the tutorial on [2]rubyonrails.org and ran into a
>    failure at step 3, while trying to generate a controller. This is
>    under Windows; I haven't tried Linux yet.
>    C:\testrails\testapp2>jruby script\generate controller Friends list
>    view new edit
>    C:/Jrubywork/jruby/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/acti
>    ve_record/connection_adapters/
>    oracle_adapter.rb:118 warning: (...) interpreted as grouped expression
>    C:\JRubyWork\jruby\src\builtin\strscan.rb:91:in `method_missing':
>    undefined method `[]' for nil:NilC
>    lass (NoMethodError)
>            from C:\JRubyWork\jruby\src\builtin\strscan.rb:91:in `[]'
>            from C:/Jrubywork/jruby/lib/ruby/1.8/erb.rb:415:in `scan'
>            from C:/Jrubywork/jruby/lib/ruby/1.8/erb.rb:573:in `compile'
>            from C:/Jrubywork/jruby/lib/ruby/1.8/erb.rb:690:in
>    `initialize'
> 
>    --
>    Charles Oliver Nutter @ [3]headius.blogspot.com
>    JRuby Developer @ [4]www.jruby.org
>    Application Architect @ [5]www.ventera.com
> 
>    --
>    Charles Oliver Nutter @ [6]headius.blogspot.com
>    JRuby Developer @ [7]www.jruby.org
>    Application Architect @ [8]www.ventera.com
> 
> References
> 
>    1. mailto:[EMAIL PROTECTED]
>    2. http://rubyonrails.org/
>    3. http://headius.blogspot.com/
>    4. http://www.jruby.org/
>    5. http://www.ventera.com/
>    6. http://headius.blogspot.com/
>    7. http://www.jruby.org/
>    8. http://www.ventera.com/

> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

> _______________________________________________
> Jruby-devel mailing list
> Jruby-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jruby-devel


-- 
+ http://www.tc.umn.edu/~enebo +---- mailto:[EMAIL PROTECTED] ----+
| Thomas E Enebo, Protagonist  | "Luck favors the prepared    |
|                              |  mind." -Louis Pasteur       |

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jruby-devel mailing list
Jruby-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jruby-devel

Reply via email to