views:

68

answers:

2

I'm Ruby/Rails newbie and trying to get the laika tool (http://github.com/CCHIT/laika/tree/master) running within NetBeans IDE. I'm getting the following exception. I'm using NetBeans IDE 6.5.1, JRubby 1.1.6 and GlassFish V3. Any ideas what might be wrong?

INFO: Jruby version is: 1.1.6

INFO: Starting Rails instances SEVERE: Exception in thread "pool-13-thread-1"

SEVERE: C:/Program Files/NetBeans 6.5.1/ruby2/jruby-1.1.6/lib/ruby/1.8/pathname.rb:420:in `realpath_rec':

SEVERE: No such file or directory - No such file or directory - C:/Program Files/glassfish-v3-prelude/glassfish/C: (Errno::ENOENT)

SEVERE: from C:/Program Files/NetBeans 6.5.1/ruby2/jruby-1.1.6/lib/ruby/1.8/pathname.rb:453:in `realpath'

A: 

Netbeans seems to have a lot of problems with space in filenames under Windows, especially with jRuby. Try moving Netbeans to another directory (without spaces in the path), or edit the paths in it's ruby platform configuration to use short name syntax.

Osseta
A: 

This turned out to be a problem with the GlassFish. It worked fine with on WEBrick.

aogan