Rails 1.1 - console broken


#1

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 methodup
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:instart’
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.


#2

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 methodup
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:instart’
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.


#3

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