Defect #2476
closedJRuby: Cannot start redmine
0%
Description
No problems starting and using redmine (HEAD) on MRI, but I get the following on JRuby:
\redmine>jruby script/server e production win32/service (MissingSourceFile)
=> Booting Mongrel (use 'script/server webrick' to force WEBrick)
=> Rails 2.1.2 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
d:/jruby/bin/../lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require': no such file to load -
from
d:/jruby/bin/../lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require' from D:/jruby/lib/ruby/gems/1.8/gems/activesupport-
2.1.2/lib/active_support/dependencies.rb: 510:in `require'
from D:/jruby/lib/ruby/gems/1.8/gems/activesupport-
2.1.2/lib/active_support/dependencies.rb: 355:in `new_constants_in'
from D:/jruby/lib/ruby/gems/1.8/gems/activesupport-
2.1.2/lib/active_support/dependencies.rb: 510:in `require'
from D:/jruby/lib/ruby/gems/1.8/gems/mongrel_service-
0.1/lib/mongrel_service/init.rb:5
from D:/jruby/lib/ruby/gems/1.8/gems/mongrel_service-
0.1/lib/mongrel_service/init.rb:31:in `require' from
d:/jruby/bin/../lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from D:/jruby/lib/ruby/gems/1.8/gems/activesupport-
2.1.2/lib/active_support/dependencies.rb: 510:in `require'
... 18 levels...
from D:/jruby/lib/ruby/gems/1.8/gems/rails-
2.1.2/lib/commands/server.rb:31:in `require' from
d:/jruby/bin/../lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require' from script/server:3
JRuby guru, Charlie said:
If RedMine has added a dependency on win32, they should be thoroughly slapped around. It appears that they have. Complain to RedMine :)
\redmine>ruby script/about
About your application's environment
Ruby version 1.8.6 (i386-mswin32)
RubyGems version 1.3.1
Rails version 2.1.2
Active Record version 2.1.2
Action Pack version 2.1.2
Active Resource version 2.1.2
Action Mailer version 2.1.2
Active Support version 2.1.2
Application root C:/Documents and Settings/marc/My Documents/NetBeansProjects/redmine
Environment development
Database adapter mysql
\redmine>jruby script/about
About your application's environment
Ruby version 1.8.6 (java)
RubyGems version 1.3.1
Rails version 2.1.2
Active Record version 2.1.2
Action Pack version 2.1.2
Active Resource version 2.1.2
Action Mailer version 2.1.2
Active Support version 2.1.2
Application root C:/Documents and Settings/marc/My Documents/NetBeansProjects/redmine
Environment development
Database adapter mysql