« Return to Thread: NetBeans 6.1 Rails Console

NetBeans 6.1 Rails Console

by bruparel :: Rate this Message:

Reply to Author | View in Thread

I am running NetBeans 6.1 Dev build 200804110003 on Windows XP and using Chris's blog demo to see how the rails console works.  I have installed InstantRails 2.0 which has Ruby 1.8.6 Patch level 111.  When I work in InstantRails the Rails console works fine, but when I try to open it in NetBeans, I get the following message:

C:/InstantRails20/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/console.rb:32:in `exec': Exec format error - irb --noreadline  -r irb/completion -r "C:/InstantRails20/rails_apps/blog/config/environment" -r console_app -r console_with_helpers --simple-prompt (Errno::ENOEXEC)

Loading development environment (Rails 2.0.2)

        from C:/InstantRails20/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/console.rb:32

        from C:/InstantRails20/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'

        from C:/InstantRails20/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'

        from script/console:3

This used to work fine before?  Is there something new that I need?

Thanks.

Bharat

 « Return to Thread: NetBeans 6.1 Rails Console

LightInTheBox - Buy quality products at wholesale price!