I am having an issue running rails console from netbeans 6.1. Whenever
I right click on the project name and select "Rails Console" I get the
below error. Can someone please help me out. I am on Windows XP and
have Netbeans 6.1. I am not using the JRuby. I installed my own ruby.
Loading development environment (Rails 2.1.0)
c:/ruby/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/commands/console.rb:
32:in `exec': Exec format error - irb --noreadline -r irb/completion -
r "C:/Documents and Settings/INNAH/Desktop/Naz/NetBeansProject/
WebTemplate/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.0/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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "ruby-on-rails-programming-with-passion" group.
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/ruby-on-rails-programming-with-passion?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---