trogdoro / xiki

A shell console with GUI features
http://xiki.org
Other
3.76k stars 208 forks source link

Error on first run: 'require': no such file to load -- rubygems #98

Open astrieanna opened 9 years ago

astrieanna commented 9 years ago

This is the error I get when I run xiki:

$ xiki
/usr/local/google/home/lhanson/src/xiki/bin/xiki:20:in `require': no such file to load -- rubygems (LoadError)
    from /usr/local/google/home/lhanson/src/xiki/bin/xiki:20
    from /usr/bin/xiki:2:in `load'
    from /usr/bin/xiki:2

And the line it errors on:

require 'rubygems'

I followed the 'github' install instructions; I'm on Linux. I don't use ruby, so I'm not really sure what to do to get rubygems.

mattyw commented 9 years ago

Sounds like you're using different versions of ruby?

If you're using ubuntu and installed ruby 1.9.3 you should check that /usr/bin/ruby and /use/bin/gem are pointing to the correct version of ruby