Forum: Ruby on Rails RoR in Netbeans - Rails console not working

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.
TinyRockHopper (Guest)
on 2008-10-16 12:18
(Received via mailing list)
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)
Erno M. (Guest)
on 2008-10-27 16:59
(Received via mailing list)
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

2008/10/16 TinyRockHopper <removed_email_address@domain.invalid>:
This topic is locked and can not be replied to.