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

Hi,

Sorry for replying so late. Seems that you're running into
http://www.netbeans.org/issues/show_bug.cgi?id=133066, 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
(http://www.netbeans.org/issues/show_bug.cgi?id=133066#desc5).

HTH,
Erno