RoR in Netbeans - Rails console not working

Hey Everyone,

Local setup:
Platform: Windows XP
NetBeans IDE 6.1 (Build 200805300101)
Ruby 1.8.6
Rails 2.1.1

While trying to test out the IDE I experienced the below error as
output.
Is it something wrong with the version of the Rails gem that I’m
using?

I think I had an earlier version of Rails installed initially then I
updated it…

HELP!!!

C:/ruby/lib/ruby/gems/1.8/gems/rails-2.1.1/lib/commands/console.rb:
32:in `exec’: Exec format error - irb --noreadline -r irb/completion

r “C:/Documents and Settings/jamesc/My Documents/Tinyrockhopper/
helloworld/config/environment” -r console_app -r console_with_helpers
–simple-prompt (Errno::ENOEXEC)

    from C:/ruby/lib/ruby/gems/1.8/gems/rails-2.1.1/lib/commands/

console.rb:32

    from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/

custom_require.rb:
27:in `gem_original_require’

    from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/

custom_require.rb:
27:in `require’

    from script/console:3

Loading development environment (Rails 2.1.1)

Hi,

Sorry for replying so late. Seems that you’re running into
133066 – Rails Console does not work in Windows using MRI., the issue is
fixed in 6.5 (6.5 RC1 is available now). Alternatively you can patch
rails/lib/commands.console.rb like described in desc5 of the issue
(133066 – Rails Console does not work in Windows using MRI.).

HTH,
Erno

2008/10/16 TinyRockHopper [email protected]: