rubygems 1.8.8 jruby 1.6.3 gem install failure

  • Download Gist
rubygems_1.8.8_jruby_1.6.3_gem_install_failure
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
~$ export JRUBY_OPTS=--1.9; gem install json --debug -V
GET http://rubygems.org/latest_specs.4.8.gz
302 Found
GET http://production.s3.rubygems.org/latest_specs.4.8.gz
304 Not Modified
Installing gem json-1.5.3-java
ERROR: While executing gem ... (ArgumentError)
wrong number of arguments (2 for 1)
/home/arthur/bin/jruby/lib/ruby/site_ruby/1.8/rubygems/package/tar_input.rb:57:in `initialize'
/home/arthur/bin/jruby/lib/ruby/site_ruby/1.8/rubygems/package/tar_reader.rb:64:in `each'
org/jruby/RubyKernel.java:1419:in `loop'
/home/arthur/bin/jruby/lib/ruby/site_ruby/1.8/rubygems/package/tar_reader.rb:55:in `each'
/home/arthur/bin/jruby/lib/ruby/site_ruby/1.8/rubygems/package/tar_input.rb:35:in `initialize'
/home/arthur/bin/jruby/lib/ruby/site_ruby/1.8/rubygems/package/tar_input.rb:20:in `open'
/home/arthur/bin/jruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:44:in `open'
/home/arthur/bin/jruby/lib/ruby/site_ruby/1.8/rubygems/format.rb:62:in `from_io'
/home/arthur/bin/jruby/lib/ruby/site_ruby/1.8/rubygems/format.rb:46:in `from_file_by_path'
org/jruby/RubyIO.java:1111:in `open'
org/jruby/RubyKernel.java:308:in `open'
/home/arthur/bin/jruby/lib/ruby/site_ruby/1.8/rubygems/format.rb:45:in `from_file_by_path'
/home/arthur/bin/jruby/lib/ruby/site_ruby/1.8/rubygems/installer.rb:119:in `format'
/home/arthur/bin/jruby/lib/ruby/site_ruby/1.8/rubygems/installer.rb:129:in `spec'
/home/arthur/bin/jruby/lib/ruby/site_ruby/1.8/rubygems/installer.rb:386:in `ensure_required_ruby_version_met'
/home/arthur/bin/jruby/lib/ruby/site_ruby/1.8/rubygems/installer.rb:156:in `install'
/home/arthur/bin/jruby/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:297:in `install'
org/jruby/RubyArray.java:1603:in `each'
org/jruby/RubyEnumerable.java:957:in `each_with_index'
/home/arthur/bin/jruby/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:270:in `install'
/home/arthur/bin/jruby/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb:121:in `execute'
org/jruby/RubyArray.java:1603:in `each'
/home/arthur/bin/jruby/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb:115:in `execute'
/home/arthur/bin/jruby/lib/ruby/site_ruby/1.8/rubygems/command.rb:278:in `invoke'
/home/arthur/bin/jruby/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:147:in `process_args'
/home/arthur/bin/jruby/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:117:in `run'
/home/arthur/bin/jruby/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:65:in `run'
/home/arthur/bin/jruby/bin/gem:21:in `(root)'
Exception `Gem::SystemExitException' at /home/arthur/bin/jruby/lib/ruby/site_ruby/1.8/rubygems/user_interaction.rb:332 - Exiting RubyGems with exit_code 1

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.