Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #9893 (closed defect: invalid)

Opened 2 years ago

Last modified 2 years ago

Rails 1.2.4 and 1.2.5 gives error during controller generation with JRuby

Reported by: arungupta Assigned to: core
Priority: normal Milestone: 1.2.6
Component: Plugins Version: edge
Severity: normal Keywords:
Cc:

Description

With Rails 1.2.4 and 1.2.5, creating a Controller gives the following error:

C:/testbed/ruby/jruby-1.0.1/lib/ruby/1.8/pathname.rb:420:in `realpath_rec': No such file or directory -C:/testbed/ruby/jruby-1.0.1/samples/rails/hello/C: (Errno::ENOENT)

from C:/testbed/ruby/jruby-1.0.1/lib/ruby/1.8/pathname.rb:453:in `realpath' from C:/testbed/ruby/jruby-1.0.1/lib/ruby/gems/1.8/gems/rails-1.2.4/lib/initializer.rb:543:in `set_root_path!' from C:/testbed/ruby/jruby-1.0.1/lib/ruby/gems/1.8/gems/rails-1.2.4/lib/initializer.rb:509:in `initialize' from ./script/../config/boot.rb:35:in `new' from ./script/../config/boot.rb:35:in `run' from ./script/../config/boot.rb:35 from :1:in `require' from :1

It works fine with Ruby-186-25.

Change History

10/16/07 22:00:16 changed by bitsweat

  • status changed from new to closed.
  • resolution set to invalid.

This is a known issue with jruby's Pathname, afaik.