[ANN] RubyGems 1.2.0

I can not confirm this.
Maybe a ppc or a macports issue?

Yes, i'm using G5-PPC, and have installed ruby using MacPorts.
But, afaik, rubygems has nothing to do with MacPorts, isn't it ?

I am unsure, but I think you are right.

Btw. there is a package rb-rubygems from macports, but I
don't use it.
$ port provides /opt/local/bin/gem
/opt/local/bin/gem is not provided by a MacPorts port.
I use gem in the MacPorts path:
$ which gem
/opt/local/bin/gem
It's really a file not a symlink.
$ ls -l /opt/local/bin/gem
-rwxr-xr-x 1 root admin 788 May 6 10:18 /opt/local/bin/gem*

my port version and mac os x version are the same as you...

are you using an Intel proc ?

yes a macbook with x86

it might be an issue on PPC only ?

It looks like that.

regards, Sandor Szücs

···

On 27.06.2008, at 13:22, Une Bévue wrote:

Sandor Szücs <sandor.szuecs@fu-berlin.de> wrote:

--

/home/rdp/i386/usr/lib/ruby/site_ruby/1.8/rubygems/specification.rb:24:
Platform is not a module (TypeError)
        from
/home/rdp/i386/usr/lib/ruby/site_ruby/1.8/rubygems/package.rb:15:in
`require'
        from
/home/rdp/i386/usr/lib/ruby/site_ruby/1.8/rubygems/package.rb:15
        from
/home/rdp/i386/usr/lib/ruby/site_ruby/1.8/rubygems/builder.rb:7:in
`require'
        from
/home/rdp/i386/usr/lib/ruby/site_ruby/1.8/rubygems/builder.rb:7
        from /home/rdp/i386/lib/ruby/site_ruby/1.8/rubygems.rb:769:in
`require'
        from /home/rdp/i386/lib/ruby/site_ruby/1.8/rubygems.rb:769
        from /home/rdp/i386/bin/gem:8:in `require'
        from /home/rdp/i386/bin/gem:8

As a note--was able to overcome this by doing rm -rf .../lib/ruby,
reinstalling ruby, and then reinstalling gems, in case it's useful to
anyone else.
-=R

···

--
Posted via http://www.ruby-forum.com/\.

in my opinion, it's clear enough.
unfortunately the latest rubygems from MacPorts is 1.1.1 :
~%> port search rb-rubygems
rb-rubygems ruby/rb-rubygems 1.1.1 a package
management framework for Ruby

and, i think, it is not clean to install it from MacPorts after having
installed it from ruby, MacPorts will be confused and even might refuse
to install it.

i think here i have to report a sepcific issue for 10.4.11 && PPC...

best,

···

Sandor Szücs <sandor.szuecs@fu-berlin.de> wrote:

> it might be an issue on PPC only ?

It looks like that.

--
Une Bévue

Uh something appears to be broken with sources other than the main ruby
site. We updated our gem server with ruby gems 1.2.0 and from another
server we are getting the following problems:

[root@AppFoot ~]# gem -v
1.2.0
[root@AppFoot ~]# gem list sonic_logger --remote

*** REMOTE GEMS ***

sonic_logger (0.1.3)
[root@AppFoot ~]# gem install sonic_logger
ERROR: could not find gem sonic_logger locally or in a repository

Anyone else having this issue?

···

--
Posted via http://www.ruby-forum.com/.

There was a bug fix post 1.2.0 for gems that have "" for a platform instead of Gem::Platform::RUBY.

···

On Jun 27, 2008, at 15:01 PM, Orion Delwaterman wrote:

Uh something appears to be broken with sources other than the main ruby
site. We updated our gem server with ruby gems 1.2.0 and from another
server we are getting the following problems:

[root@AppFoot ~]# gem -v
1.2.0
[root@AppFoot ~]# gem list sonic_logger --remote

*** REMOTE GEMS ***

sonic_logger (0.1.3)
[root@AppFoot ~]# gem install sonic_logger
ERROR: could not find gem sonic_logger locally or in a repository

Eric Hodel wrote:

···

On Jun 27, 2008, at 15:01 PM, Orion Delwaterman wrote:

sonic_logger (0.1.3)
[root@AppFoot ~]# gem install sonic_logger
ERROR: could not find gem sonic_logger locally or in a repository

There was a bug fix post 1.2.0 for gems that have "" for a platform
instead of Gem::Platform::RUBY.

How do I check or set the platform of my gem?
--
Posted via http://www.ruby-forum.com/\.

How do I check or set the platform of my gem?

~ irb

Gem::Platform::RUBY

=> "ruby"

?

···

--
Posted via http://www.ruby-forum.com/\.

Roger Pack wrote:

How do I check or set the platform of my gem?

~ irb

Gem::Platform::RUBY

=> "ruby"

?

Yeah mine is coming out as "ruby". Anyway I just regenerated the index
on the server and that seemed to solve the issue. Strange though

···

--
Posted via http://www.ruby-forum.com/\.

Orion Delwaterman wrote:

Roger Pack wrote:

How do I check or set the platform of my gem?

~ irb

Gem::Platform::RUBY

=> "ruby"

?

Yeah mine is coming out as "ruby". Anyway I just regenerated the index
on the server and that seemed to solve the issue. Strange though

Did you successfully install sonic_logger gem? I'm facing the same
problem as in your first post.

Can anyone tell me how to fix? where to find sonic_logger gem?
thanks

···

--
Posted via http://www.ruby-forum.com/\.