MagLev / maglev

GemStone Maglev Ruby Repository
http://maglev.github.io
517 stars 41 forks source link

maglev-gem fails on Ubuntu 13.10 #326

Closed johnnyt closed 10 years ago

johnnyt commented 10 years ago

Running maglev-gem fails with NoMethodError: undefined method 'each_pair' for String.

I know this works fine on Ubuntu 12.04.3, but it is failing on Ubuntu 13.10.

Ubuntu 12.04.3 output

ubuntu@soundproof:~$ lsb_release -d
Description:    Ubuntu 12.04.3 LTS
ubuntu@soundproof:~$ maglev status
MAGLEV_HOME = /opt/maglev
Status   Version    Owner    Pid   Port   Started     Type       Name
------- --------- --------- ----- ----- ------------ ------      ----
  OK    3.1.0.2   ubuntu    12437 50771 Jan 20 02:06 Stone       maglev
  OK    3.1.0.2   ubuntu    12439 57161 Jan 20 02:06 cache       maglev~15b914e5b7c7ab24
ubuntu@soundproof:~$ maglev-ruby -e 'p RUBY_VERSION'
"1.9.3"
ubuntu@soundproof:~$ maglev-gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 1.8.11
  - RUBY VERSION: 1.9.3 (2013-05-17 patchlevel 327) [x86_64-linux]
  ...

Ubuntu 13.10 output

johnnyt@jbookpro:~$ lsb_release -d
Description:    Ubuntu 13.10
johnnyt@jbookpro:~$ maglev status
MAGLEV_HOME = /opt/maglev
Status   Version    Owner    Pid   Port   Started     Type       Name
------- --------- --------- ----- ----- ------------ ------      ----
  OK    3.1.0.2   johnnyt   21707 46565 Jan 20 11:02 cache       maglev~958fdd5a40b5639e
  OK    3.1.0.2   johnnyt   21705 38732 Jan 20 11:02 Stone       maglev
johnnyt@jbookpro:~$ maglev-ruby -e 'p RUBY_VERSION'
"1.9.3"
johnnyt@jbookpro:~$ maglev-gem env
ERROR 2010 , NoMethodError: undefined method 'each_pair' for String (NoMethodError)
topaz 1> exit
johnnyt commented 10 years ago

False alarm - it was an issue with my .gemrc