webtier@glassfish.java.net

Re: [webtier] Jruby, rails require higher RubyGem version, but I can't do anything

From: Jacob Kessler <Jacob.Kessler_at_Sun.COM>
Date: Wed, 04 Feb 2009 13:44:48 -0800

This is a known issue updating from RubyGems 1.2.0 to 1.3.1. See
http://rubyforge.org/forum/forum.php?forum_id=28071 for details. The
solution (listed on that page) is to run

gem install rubygems-update

followed by

update_rubygems

Both of those commands may need to be run as an admin user.

webtier_at_javadesktop.org wrote:
> Hello:
> I did 'Jruby script/generate controller home index', and I got "Rails requires RubyGems >= 1.3.1 (you have 1.2.0). Please 'gem update --system' and try again" message. I follwed, and did 'gem update --system', but it tells me there is nothing to update. My rails version is 2.2.2, I tried to install lower version, but did 'gem query --remote --name-matches rails', only rails 2.2.2 version comes up, which is the one I am having. Thank you very much.
> [Message sent by forum member 'babyboss' (babyboss)]
>
> http://forums.java.net/jive/thread.jspa?messageID=330168
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>
>