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
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.
Just curious, it looks like you installed Ruby into your home
directory (~/local/src/ruby516) -- why then run gem via sudo?
···
On 6/28/06, Daniel Berger <Daniel.Berger@qwest.com> wrote:
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
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?
Daniel Berger wrote:
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
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.