Not a bug, see http://ironruby.net/documentation/rails#console. Do ir script/console=iirb.bat ... Basically it's an unfortunate side-effect of how Rails implemented this command (they spawn another ruby process rather than just using IRB directly. Since we don't ship with irb.bat, you need to provide the actual name. You can also do iirb -rconfig/environment, as that's all script/console really does anyways.
~Jimmy On May 18, 2010, at 12:22 PM, "Roger Pack" <li...@ruby-forum.com> wrote: > Is this a bug... > > C:\dev\ruby\ruby-benchmark-suite\benchmarks\rails\substruct>ir > script/console > Loading development environment (Rails 2.3.2) > IronRuby.Libraries:0:in `GetExecutable': irb.bat -r irb/completion -r > "C:/dev/ruby/ruby-benchmark-suite/benchmarks/rails/substruct/config/environment" > -r console_app -r console_with_helpers --simple-prompt (Errno::ENOENT) > from IronRuby.Libraries:0:in `CreateProcess' > from > C:/dev/ruby/ruby-benchmark-suite/benchmarks/rails/substruct/vendor/rails/railties/lib/commands/console.rb:45:in > `exec' > > Thanks. > -rp > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Ironruby-core mailing list > Ironruby-core@rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > _______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core