# Problem with gem install, rubygems 0.9.0

**URL:** <https://www.ruby-forum.com/t/problem-with-gem-install-rubygems-0-9-0/96468>\
**Category:** Ruby\
**Created:** [June 28, 2006, 10:58pm UTC](https://www.ruby-forum.com/t/problem-with-gem-install-rubygems-0-9-0/96468 "2006-06-28T22:58:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![danielb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c57346/32.png) [@danielb](https://www.ruby-forum.com/u/danielb)\
**Post date:** [June 28, 2006, 10:58pm UTC](https://www.ruby-forum.com/t/problem-with-gem-install-rubygems-0-9-0/96468/1 "2006-06-28T22:58:14Z")

</div>

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:

djberge@~/local/src/ruby-516\>sudo gem install pathname2  
Bulk updating Gem source index for: [http://gems.rubyforge.org](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.

---

<div class="post-metadata">

**Author:** ![danielb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c57346/32.png) [@danielb](https://www.ruby-forum.com/u/danielb)\
**Post date:** [June 28, 2006, 11:08pm UTC](https://www.ruby-forum.com/t/problem-with-gem-install-rubygems-0-9-0/96468/2 "2006-06-28T23:08:25Z")

</div>

On 6/28/06, Daniel B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Bulk updating Gem source index for: [http://gems.rubyforge.org](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?

---

<div class="post-metadata">

**Author:** ![danielb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c57346/32.png) [@danielb](https://www.ruby-forum.com/u/danielb)\
**Post date:** [June 29, 2006, 5:08pm UTC](https://www.ruby-forum.com/t/problem-with-gem-install-rubygems-0-9-0/96468/3 "2006-06-29T17:08:21Z")

</div>

Daniel B. wrote:

> Bulk updating Gem source index for: [http://gems.rubyforge.org](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.
