netbeans6 + RoR errors

I'm having problems with running RoR applications, either imported from existing source or by creating a new project in NetBeans 6 beta 1. When I use the menu "run / test project" or "run / run main project" I get an error very similar to this:

(from test)

(in C:/flame-svn/test/RailsApplication1) "C:/flame-svn/test/RailsApplication1/config/boot" rake aborted! No such file or directory - C:/flame-svn/test/RailsApplication1/C: C:/flame-svn/test/RailsApplication1/rakefile:6 (See full trace by running task with --trace) Click here to re-run task with tracing enabled

(from starting webrick) C:/Program Files/NetBeans 6.0 Beta 1/ruby1/jruby-1.0.1/lib/ruby/1.8/pathname.rb:420:in `realpath_rec': No such file or directory - C:/flame-svn/test/RailsApplication1/C: (Errno::ENOENT)         from C:/Program Files/NetBeans 6.0 Beta 1/ruby1/jruby-1.0.1/lib/ruby/1.8/pathname.rb:453:in `realpath'         from C:/Program Files/NetBeans 6.0 Beta 1/ruby1/jruby-1.0.1/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/initializer.rb:543:in `set_root_path!'         from C:/Program Files/NetBeans 6.0 Beta 1/ruby1/jruby-1.0.1/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/initializer.rb:509:in `initialize'         from ./script/../config/boot.rb:38:in `new'         from ./script/../config/boot.rb:38:in `run'         from ./script/../config/boot.rb:38

Any idea what's going on here?

I'm using whatever netbeans6 uses by default. If there are changes I should be making here, please give me a hint. :slight_smile:

--Michael

Ah ha! This is the step I believe I was missing. Thanks!

I had ruby, rails, and about 25 gems installed a long time ago. I suppose I could have used netbeans just to edit the files, but where's the fun in that?

--Michael

Right - we're hoping that a JRuby 1.0.2 will be released shortly with a fix for this, and we'll incorporate it.

-- Tor (NetBeans+Ruby team)