1.3RC3 regression - Gem activate error --------------------------------------
Key: JRUBY-3723 URL: http://jira.codehaus.org/browse/JRUBY-3723 Project: JRuby Issue Type: Bug Environment: Mac Reporter: Morten Christensen Assignee: Thomas E Enebo Priority: Critical Fix For: JRuby 1.3 I have a case works in older JRuby 1.2 but fails in JRubyRC3. I am trying out "http://caldersphere.rubyforge.org/ci_reporter/" with the gems packaged as a jar. I am using my own init script "setup_ci_reporter.rb" with the following content: require 'rubygems' require File.join(File.dirname(__FILE__),'ci_reporter-1.6.0.jar') gem 'ci_reporter' require 'ci/reporter/rspec' The above script works fine in JRuby 1.2 (!!) but fails in JRuby 1.3RC3 with this error: /jruby-1.3.0RC2/lib/ruby/site_ruby/1.8/rubygems.rb:826:in `report_activate_error': Could not find RubyGem ci_reporter (>= 0) (Gem::LoadError) from /jruby-1.3.0RC2/lib/ruby/site_ruby/1.8/rubygems.rb:260:in `activate' from /jruby-1.3.0RC2/lib/ruby/site_ruby/1.8/rubygems.rb:67:in `gem' from scripts/setup_ci_reporter.rb:4 Hint: To build the ci_reporter jar do something like: java -jar jruby-complete.jar -S gem install -i gems/ci_reportergems ci_reporter --no-rdoc --no-ri jar cvf ci_reporter-1.6.0.jar -C ci_reportergems . -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email