[Mac OS X 10.4.11] unable to upgrade rubygems

what i did :

download locally rubygems-update-1.2.0.gem

then :
~/gems%> sudo gem install -l rubygems-update-1.2.0.gem
Password:
Successfully installed rubygems-update-1.2.0
1 gem installed

however i've still the 1.1 version :

~/gems%> gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 1.1.0 (1.1.0)
  - RUBY VERSION: 1.8.6 (2007-09-24 patchlevel 111)
[powerpc-darwin8.11.0]
  - INSTALLATION DIRECTORY: /opt/local/lib/ruby/gems/1.8
  - RUBY EXECUTABLE: /opt/local/bin/ruby
  - RUBYGEMS PLATFORMS:
    - ruby
    - powerpc-darwin-8
  - GEM PATHS:
     - /opt/local/lib/ruby/gems/1.8
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://gems.rubyforge.org

if i try installing using tar.gz :

~/src/ruby/rubygems-1.2.0%> sudo ruby setup.rb
Password:
setup.rb:108: undefined method `ruby_version' for Gem:Module
(NoMethodError)

by gem update :
$ sudo gem update -r --system
Updating RubyGems
Updating metadata for 3 gems from http://gems.rubyforge.org/
...
complete
Nothing to update

however :
$ gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 1.1.0 (1.1.0)
  - RUBY VERSION: 1.8.6 (2007-09-24 patchlevel 111)
[powerpc-darwin8.11.0]
  - INSTALLATION DIRECTORY: /opt/local/lib/ruby/gems/1.8
  - RUBY EXECUTABLE: /opt/local/bin/ruby
  - RUBYGEMS PLATFORMS:
    - ruby
    - powerpc-darwin-8
  - GEM PATHS:
     - /opt/local/lib/ruby/gems/1.8
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://gems.rubyforge.org

also, i wanted to install amalgalite and get :
~/gems%> sudo gem install -l amalgalite
ERROR: Error installing amalgalite:
        amalgalite requires configuration (>= 0.0.5)

however :
$ sudo gem install -r configuration
Password:
Bulk updating Gem source index for: http://gems.rubyforge.org/
ERROR: could not find configuration locally or in a repository

is my rubygems install broken ??

···

--
Une Bévue

Installing the rubygems-update-1.2.0.gem just installs the upgrading tool,
you still need to run it with

sudo update_rubygems

THEN you should have 1.2 installed!

···

On Tue, Jun 24, 2008 at 7:43 AM, Une Bévue <unbewusst.sein@weltanschauung.com.invalid> wrote:

what i did :

download locally rubygems-update-1.2.0.gem

then :
~/gems%> sudo gem install -l rubygems-update-1.2.0.gem
Password:
Successfully installed rubygems-update-1.2.0
1 gem installed

however i've still the 1.1 version :

~/gems%> gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.1.0 (1.1.0)

--
Rick DeNatale

My blog on Ruby
http://talklikeaduck.denhaven2.com/

unfortunately i got :

$ sudo update_rubygems
Installing RubyGems 1.2.0
setup.rb:108: undefined method `ruby_version' for Gem:Module
(NoMethodError)

???

···

Rick DeNatale <rick.denatale@gmail.com> wrote:

Installing the rubygems-update-1.2.0.gem just installs the upgrading tool,
you still need to run it with

sudo update_rubygems

THEN you should have 1.2 installed!

--
Une Bévue

Hmmmm, I don't know what to say.

The local install of rubygems-update-1.2.0.gem and then running
update_rubygems is what finally worked for me.

On another thread you seemed to imply that you are still running Tiger
(10.4.11 IIRC) while I'm running Leopard (10.5.3) although I'd be surprised
if that were your problem.

···

On Tue, Jun 24, 2008 at 8:23 AM, Une Bévue <unbewusst.sein@weltanschauung.com.invalid> wrote:

Rick DeNatale <rick.denatale@gmail.com> wrote:

>
>
> Installing the rubygems-update-1.2.0.gem just installs the upgrading
tool,
> you still need to run it with
>
> sudo update_rubygems
>
> THEN you should have 1.2 installed!

unfortunately i got :

$ sudo update_rubygems
Installing RubyGems 1.2.0
setup.rb:108: undefined method `ruby_version' for Gem:Module
(NoMethodError)

???

--
Rick DeNatale

My blog on Ruby
http://talklikeaduck.denhaven2.com/

anyway, thanks for your reply ))

···

Rick DeNatale <rick.denatale@gmail.com> wrote:

On another thread you seemed to imply that you are still running Tiger
(10.4.11 IIRC) while I'm running Leopard (10.5.3) although I'd be surprised
if that were your problem.

--
Une Bévue