Nick Clarke created JRUBY-6367: ---------------------------------- Summary: --pre command line switch not working in 1.9 runtime Key: JRUBY-6367 URL: https://jira.codehaus.org/browse/JRUBY-6367 Project: JRuby Issue Type: Bug Affects Versions: JRuby 1.6.6 Environment: Ubuntu 11.10 64bit rvm jruby-1.6.6.dev-head (22-01-2012 9:30AM GMT) gem 1.8.13 runtime 1.9
Reporter: Nick Clarke Assignee: Thomas E Enebo Trying to install a gem with --pre option does not work when the runtime is set to 1.9 works fine when 1.8. I have been using the 1.6.6 head for a while and this seems to have stopped working recently. $jruby -J-Xmx1024m -S gem --backtrace install torquebox-server --pre ERROR: While executing gem ... (OptionParser::InvalidOption) invalid option: --pre /home/nickc/.rvm/rubies/jruby-1.6.6.dev-head/lib/ruby/1.9/optparse.rb:1542:in `complete' org/jruby/RubyKernel.java:1129:in `catch' /home/nickc/.rvm/rubies/jruby-1.6.6.dev-head/lib/ruby/1.9/optparse.rb:1540:in `complete' /home/nickc/.rvm/rubies/jruby-1.6.6.dev-head/lib/ruby/1.9/optparse.rb:1354:in `parse_in_order' org/jruby/RubyKernel.java:1129:in `catch' /home/nickc/.rvm/rubies/jruby-1.6.6.dev-head/lib/ruby/1.9/optparse.rb:1347:in `parse_in_order' /home/nickc/.rvm/rubies/jruby-1.6.6.dev-head/lib/ruby/1.9/optparse.rb:1341:in `order!' /home/nickc/.rvm/rubies/jruby-1.6.6.dev-head/lib/ruby/1.9/optparse.rb:1432:in `permute!' /home/nickc/.rvm/rubies/jruby-1.6.6.dev-head/lib/ruby/1.9/optparse.rb:1453:in `parse!' /home/nickc/.rvm/rubies/jruby-1.6.6.dev-head/lib/ruby/shared/rubygems/command.rb:348:in `handle_options' /home/nickc/.rvm/rubies/jruby-1.6.6.dev-head/lib/ruby/shared/rubygems/command.rb:271:in `invoke' /home/nickc/.rvm/rubies/jruby-1.6.6.dev-head/lib/ruby/shared/rubygems/command_manager.rb:147:in `process_args' /home/nickc/.rvm/rubies/jruby-1.6.6.dev-head/lib/ruby/shared/rubygems/command_manager.rb:117:in `run' /home/nickc/.rvm/rubies/jruby-1.6.6.dev-head/lib/ruby/shared/rubygems/gem_runner.rb:65:in `run' /home/nickc/.rvm/rubies/jruby-1.6.6.dev-head/bin/gem:25:in `(root)' -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.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