Forum: Ruby on Rails rails 1.1 - console broken

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
James W. (Guest)
on 2006-04-06 12:05
Have upgraded to rails 1.1 and now ruby script/console does not work.
Throws an error:

c:\work\development\rails\application1>ruby script/console
Loading development environment.
c:/tools/ruby/lib/ruby/1.8/irb/init.rb:151:in `parse_opts': undefined
method `up
case' for nil:NilClass (NoMethodError)
        from c:/tools/ruby/lib/ruby/1.8/irb/init.rb:19:in `setup'
        from c:/tools/ruby/lib/ruby/1.8/irb.rb:54:in `start'
        from c:/tools/ruby/bin/irb:13


On windows XP SP2. Before upgrade everything worked fine witn rails 1.0.

Is there anyway to downgrade? or to get the console to work.
James W. (Guest)
on 2006-04-06 12:21
James W. wrote:
> Have upgraded to rails 1.1 and now ruby script/console does not work.
> Throws an error:
>
> c:\work\development\rails\application1>ruby script/console
> Loading development environment.
> c:/tools/ruby/lib/ruby/1.8/irb/init.rb:151:in `parse_opts': undefined
> method `up
> case' for nil:NilClass (NoMethodError)
>         from c:/tools/ruby/lib/ruby/1.8/irb/init.rb:19:in `setup'
>         from c:/tools/ruby/lib/ruby/1.8/irb.rb:54:in `start'
>         from c:/tools/ruby/bin/irb:13
>
>
> On windows XP SP2. Before upgrade everything worked fine witn rails 1.0.
>
> Is there anyway to downgrade? or to get the console to work.

This forum is a great community, I just keep answering my own questions.
How good is that. Anyway from another rails community, it is because on
windows you need to upgrade to ruby 1.8.4.
Conrad T. (Guest)
on 2006-04-06 13:28
(Received via mailing list)
Hi, this information should be added to the release notes for rails
1.1 and I'm not sure where to locate this information.

-Conrad
This topic is locked and can not be replied to.