Problem with gem install, rubygems 0.9.0

Hi all,

Solaris 10
Ruby 1.8.4
gems 0.9.0

I did a fresh install of Ruby, installed gems via “ruby setup.rb”, and
tried by
my first ‘gem install’. This is what I got:

[email protected]~/local/src/ruby-516>sudo gem install pathname2
Bulk updating Gem source index for: http://gems.rubyforge.org
ERROR: While executing gem … (NameError)
undefined local variable or method `other’ for 1:Fixnum

I got the same result regardless of whether or not RUBYOPT was set.

Any ideas?

Thanks,

Dan

This communication is the property of Qwest and may contain confidential
or
privileged information. Unauthorized use of this communication is
strictly
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and
destroy
all copies of the communication and any attachments.

On 6/28/06, Daniel B. [email protected] wrote:

Bulk updating Gem source index for: http://gems.rubyforge.org
ERROR: While executing gem … (NameError)
undefined local variable or method `other’ for 1:Fixnum

I got the same result regardless of whether or not RUBYOPT was set.

Any ideas?

Just curious, it looks like you installed Ruby into your home
directory (~/local/src/ruby516) – why then run gem via sudo?

Daniel B. wrote:

Bulk updating Gem source index for: http://gems.rubyforge.org
ERROR: While executing gem … (NameError)
undefined local variable or method `other’ for 1:Fixnum

I got the same result regardless of whether or not RUBYOPT was set.

I removed Ruby and all related files. Then I installed Ruby and
rubygems via
pkg-add. I don’t know what caused the above error but it works now.

Regards,

Dan

This communication is the property of Qwest and may contain confidential
or
privileged information. Unauthorized use of this communication is
strictly
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and
destroy
all copies of the communication and any attachments.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs