XXX "... requires RubyGems version >= 1.3.1"
--------------------------------------------
Key: JRUBY-3754
URL: http://jira.codehaus.org/browse/JRUBY-3754
Project: JRuby
Issue Type: Sub-task
Components: Extensions
Affects Versions: JRuby 1.3, JRuby 1.1.4
Environment: Any gem after RubyGems Update was introduced, RubyGems
v1.3.1
Reporter: will mason
Fix For: JRuby 1.3.1, JRuby 1.1.4
The RubyGems Update won't install automatically and thus dependant Gems (like
Ramaze) won't install with out RubyGems 1.3 or better.
The solution is to do the manual update in the JRuby Gems Bin folder
Described here: http://rubyforge.org/forum/forum.php?forum_id=28071
For Jruby, run the following on the command shell:
jruby -S gem install jruby-openssl (optional)
jruby -S gem install rubygems-update
jruby -S update_rubygems
Then the dependant gems will install OK.
This is trouble some for people using automatic gem managers such as the one in
Netbeans (and probably Eclipse) because the Update_Rubygems command is not part
of the install script.
I think once the manual workaround is applied, then everything should be good.
However it makes sense to upgrade the JRuby distribution package with the
RubyGems Update gem so this work around is not required.
Simple test case:
Gem install Ramaze
Will not install ...
JRuby -S gem install ramaze
ERROR: Error installing ramaze:
ramaze requires RubyGems version >= 1.3.1
... Upgrade the RubyGems with RubyGems Update and Ramaze gem installs fine.
w.
--
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