Hi all,
I’m giving NetBeans 6.5 a test drive today (upgrading from 6.1) and I
noticed that now you have the option of setting up your rails
application w/ WEBrick or the built in glassfish server. I gave the
glassfish server a try and it reported this exception. It seems like a
double slash // is somehow being used rather than a single slash. If
you look at the exception you see it once it hits my rails
application:
example -
from /C:/development/acp//config/environment.rb:1
Anyway, here is the full error message:
SEVERE: Exception in thread “pool-11-thread-1”
SEVERE: C:/tools/java/jruby-1.1.5/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:/tools/java/jruby-1.1.5/lib/ruby/1.8/pathname.rb:453:in
realpath’
SEVERE: from
C:/tools/java/jruby-1.1.5/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:797:in
set_root_path!' SEVERE: from C:/tools/java/jruby-1.1.5/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:756:in
initialize’
SEVERE: from /C:/development/acp//config/boot.rb:39:in run' SEVERE: from /C:/development/acp//config/boot.rb:39:in
run’
SEVERE: from /C:/development/acp//config/boot.rb:11:in boot!' SEVERE: from /C:/development/acp//config/boot.rb:109 SEVERE: from /C:/development/acp//config/boot.rb:11:in
require’
SEVERE: from /C:/development/acp//config/environment.rb:11
SEVERE: from /C:/development/acp//config/environment.rb:1
SEVERE: …internal jruby stack elided…
SEVERE: from
Pathname.realpath_rec(C:/tools/java/jruby-1.1.5/lib/ruby/1.8/pathname.rb:453)
SEVERE: from
Pathname.realpath(C:/tools/java/jruby-1.1.5/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:797)
SEVERE: from
Rails::Configuration.set_root_path!(C:/tools/java/jruby-1.1.5/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:756)
SEVERE: from
Rails::Configuration.initialize(/C:/development/acp//config/boot.rb:39)
SEVERE: from
#Class:01x168f248.run(/C:/development/acp//config/boot.rb:39)
SEVERE: from
Rails::Boot.run(/C:/development/acp//config/boot.rb:11)
SEVERE: from
#Class:01x1ee1775.boot!(/C:/development/acp//config/boot.rb:109)
SEVERE: from
(unknown).(unknown)(/C:/development/acp//config/boot.rb:11)
SEVERE: from
Kernel.require(/C:/development/acp//config/environment.rb:11)
SEVERE: from
(unknown).(unknown)(/C:/development/acp//config/environment.rb:1)
SEVERE: from (unknown).(unknown)(:1)
Any ideas? Thanks,
Jin
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email