bobthecow / genghis

The single-file MongoDB admin app
http://genghisapp.com
MIT License
1.45k stars 164 forks source link

Genghis installation issue #99

Closed 0x80 closed 11 years ago

0x80 commented 11 years ago

Not really a Genghis issue but I don't know where to ask for help otherwise...

I was trying to update genghisapp to 2.3 and it kept loading 2.2.2. I tried to remove genghisapp from places because there seemed to be different versions on my system. Now I get this error, and gem uninstall/install doesn't solve it. What can I do about this? I'm quite new to Ruby / gems in general.

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:777:in report_activate_error': Could not find RubyGem genghisapp (>= 0) (Gem::LoadError) from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:211:inactivate' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:1056:in `gem' from /usr/bin/genghisapp:18

0x80 commented 11 years ago

I should probably add that I have installed ruby 2.0 on my system. So I don't quite understand why it keeps referring to 1.8

0x80 commented 11 years ago

After fighting with my system for a while I managed to get it fixed. Removed all gems, installed RVM,fixed permissions of /usr/local and reinstalled genghisapp and now it seems to use the right ruby version. Pfffew.

bobthecow commented 11 years ago

Heh. That'll do it.