[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

rubygems-update and Mac OS X 10.4.11

unbewusst.sein

5/12/2008 6:18:00 AM

I've done :
$ sudo gem install --local rubygems-update

getting:
Successfully installed rubygems-update-1.1.1
1 gem installed

however:
$ gem --version
1.1.0

same result if the attempt made with remotely available gem

what's wrong ?

--
Une Bévue
3 Answers

Ryan Davis

5/12/2008 7:03:00 AM

0


On May 11, 2008, at 23:20 , Une B=E9vue wrote:

> I've done :
> $ sudo gem install --local rubygems-update
>
> getting:
> Successfully installed rubygems-update-1.1.1
> 1 gem installed
>
> however:
> $ gem --version
> 1.1.0
>
> same result if the attempt made with remotely available gem
>
> what's wrong ?

nothing is wrong. it installed. now run it to update:

% sudo update_rubygems


unbewusst.sein

5/12/2008 10:39:00 AM

0

Ryan Davis <ryand-ruby@zenspider.com> wrote:

>
> nothing is wrong. it installed. now run it to update:
>
> % sudo update_rubygems

i got :
~%> sudo update_rubygems
Password:
Installing RubyGems 1.1.1
setup.rb:60: undefined method `ruby_version' for Gem:Module
(NoMethodError)
~%> gem --version
1.1.0

also i should mention when installing wxRuby i didn't got the lastest
version.

i had to uninstall it, download the gem to a local rep and do the
install locally :
$ gem install --local wxRuby

being in the gems local repository

it's a known prob from wxRuby mailing list...
--
Une Bévue

Ryan Davis

5/14/2008 7:25:00 AM

0


On May 12, 2008, at 03:40 , Une B=E9vue wrote:

>> nothing is wrong. it installed. now run it to update:
>>
>> % sudo update_rubygems
>
> i got :
> ~%> sudo update_rubygems
> Password:
> Installing RubyGems 1.1.1
> setup.rb:60: undefined method `ruby_version' for Gem:Module
> (NoMethodError)
> ~%> gem --version
> 1.1.0

hrm... how about:

% sudo gem update --system

?

the wxRuby issue is entirely separate from this and I'm not going to =20
address it in this thread (really, you should file a bug).