jruby-rack is not compatible with RubyGems 2.0
puntogil opened this issue · 1 comments
puntogil commented
hi
i try to build for Fedora jruby-rack 1.0.10
https://bugzilla.redhat.com/show_bug.cgi?id=821146
(NOTE: we dont have jruby-rake-plugin or jruby-complete jars)
build fails in F20 (aka rawhive) when try to build gem file
** Invoke gem (first_time)
** Invoke target/jruby-rack-1.0.10.jar
** Invoke target/gem/lib/jruby-rack.rb (first_time)
** Execute target/gem/lib/jruby-rack.rb
mkdir -p target/gem/lib
** Invoke target/gem/lib/jruby/rack/version.rb (first_time)
** Invoke src/main/ruby/jruby/rack/version.rb (first_time, not_needed)
** Execute target/gem/lib/jruby/rack/version.rb
mkdir -p target/gem/lib/jruby/rack
cp src/main/ruby/jruby/rack/version.rb target/gem/lib/jruby/rack/version.rb
** Execute gem
cp History.txt LICENSE.txt README.md target/gem
cp target/jruby-rack-1.0.10.jar target/gem/lib
rm -f jruby-rack.gemspec
rake aborted!
uninitialized constant Gem::Builder
org/jruby/RubyModule.java:2677:in `const_missing'
/builddir/build/BUILD/jruby-rack-1.0.10/Rakefile:206:in `(root)'
org/jruby/RubyDir.java:465:in `chdir'
/builddir/build/BUILD/jruby-rack-1.0.10/Rakefile:191:in `(root)'
org/jruby/RubyProc.java:249:in `call'
/usr/share/gems/gems/rake-10.0.4/lib/rake/task.rb:244:in `execute'
org/jruby/RubyArray.java:1613:in `each'
/usr/share/gems/gems/rake-10.0.4/lib/rake/task.rb:241:in `execute'
/usr/share/gems/gems/rake-10.0.4/lib/rake/task.rb:184:in `invoke_with_call_chain'
/usr/share/jruby/lib/ruby/1.9/monitor.rb:211:in `mon_synchronize'
/usr/share/gems/gems/rake-10.0.4/lib/rake/task.rb:177:in `invoke_with_call_chain'
/usr/share/gems/gems/rake-10.0.4/lib/rake/task.rb:170:in `invoke'
/usr/share/gems/gems/rake-10.0.4/lib/rake/application.rb:143:in `invoke_task'
/usr/share/gems/gems/rake-10.0.4/lib/rake/application.rb:101:in `top_level'
org/jruby/RubyArray.java:1613:in `each'
/usr/share/gems/gems/rake-10.0.4/lib/rake/application.rb:101:in `top_level'
/usr/share/gems/gems/rake-10.0.4/lib/rake/application.rb:110:in `run_with_threads'
/usr/share/gems/gems/rake-10.0.4/lib/rake/application.rb:95:in `top_level'
/usr/share/gems/gems/rake-10.0.4/lib/rake/application.rb:73:in `run'
/usr/share/gems/gems/rake-10.0.4/lib/rake/application.rb:160:in `standard_exception_handling'
/usr/share/gems/gems/rake-10.0.4/lib/rake/application.rb:70:in `run'
/usr/share/gems/gems/rake-10.0.4/bin/rake:33:in `(root)'
org/jruby/RubyKernel.java:1046:in `load'
/usr/share/jruby/bin/rake:23:in `(root)'
Tasks: TOP => gem
RPM build errors:
Version-Release number of selected component (if applicable):
1.7.2
any ideas?
thanks in advance
regards
see: