Hello everyone,
Trying to get Lich running on my Ubuntu system, having a bit of trouble. Basically everything is installed, except when I try to boot it up I get this error:
The gtk2 gem is not installed (or failed to load), you may need to: sudo gem install gtk2
I know for a fact that gtk2 is installed. In fact, when I try and run wine as a superuser the SGE opens, so I'm certain its some kind of permission thing. Except you can't run wine as sudo so it immediately crashes. Any tips?
Lich on Ubuntu 16.04 on 05/30/2018 05:14 PM CDT
Re: Lich on Ubuntu 16.04 on 05/30/2018 05:47 PM CDT
Re: Lich on Ubuntu 16.04 on 05/30/2018 05:58 PM CDT
Thanks for the help, not particularly Linux savvy.
/home/jon/.rvm/rubies/ruby-2.3.4/bin/ruby
ruby 2.3.4p301 (2017-03-30 revision 58214) [x86_64-linux]
geRubyGems Environment:
- RUBYGEMS VERSION: 2.6.11
- RUBY VERSION: 2.3.4 (2017-03-30 patchlevel 301) [x86_64-linux]
- INSTALLATION DIRECTORY: /home/jon/.rvm/gems/ruby-2.3.4
- USER INSTALLATION DIRECTORY: /home/jon/.gem/ruby/2.3.0
- RUBY EXECUTABLE: /home/jon/.rvm/rubies/ruby-2.3.4/bin/ruby
- EXECUTABLE DIRECTORY: /home/jon/.rvm/gems/ruby-2.3.4/bin
- SPEC CACHE DIRECTORY: /home/jon/.gem/specs
- SYSTEM CONFIGURATION DIRECTORY: /etc
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-linux
- GEM PATHS:
- /home/jon/.rvm/gems/ruby-2.3.4
- /home/jon/.rvm/gems/ruby-2.3.4@global
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- https://rubygems.org/
- SHELL PATH:
- /home/jon/.rvm/gems/ruby-2.3.4/bin
- /home/jon/.rvm/gems/ruby-2.3.4@global/bin
- /home/jon/.rvm/rubies/ruby-2.3.4/bin
- /home/jon/bin
- /home/jon/.local/bin
- /home/jon/bin
- /home/jon/.local/bin
- /usr/local/sbin
- /usr/local/bin
- /usr/sbin
- /usr/bin
- /sbin
- /bin
- /usr/games
- /usr/local/games
- /snap/bin
- /home/jon/.rvm/bin
- /home/jon/.rvm/bin
- /home/jon/.rvm/bin
* LOCAL GEMS *
actioncable (5.1.4)
actionmailer (5.1.4)
actionpack (5.1.4)
actionview (5.1.4)
activejob (5.1.4)
activemodel (5.1.4)
activerecord (5.1.4)
activesupport (5.1.4)
addressable (2.5.2)
arel (8.0.0)
bigdecimal (default: 1.2.8)
bindex (0.5.0)
builder (3.2.3)
bundler (1.16.1)
bundler-unload (1.0.2)
byebug (10.0.0)
capybara (2.17.0)
childprocess (0.8.0)
coffee-rails (4.2.2)
coffee-script (2.4.1)
coffee-script-source (1.12.2)
concurrent-ruby (1.0.5)
crass (1.0.3)
did_you_mean (1.0.0)
erubi (1.7.0)
execjs (2.7.0)
executable-hooks (1.3.2)
ffi (1.9.21, 1.9.18)
gem-wrappers (1.3.2, 1.2.7)
globalid (0.4.1)
i18n (0.9.3)
io-console (default: 0.4.5)
jbuilder (2.7.0)
json (default: 1.8.3)
listen (3.1.5)
loofah (2.1.1)
mail (2.7.0)
method_source (0.9.0)
mini_mime (1.0.0)
mini_portile2 (2.3.0)
minitest (5.11.3, 5.8.5)
multi_json (1.13.1)
net-telnet (0.1.1)
nio4r (2.2.0)
nokogiri (1.8.2, 1.8.1)
power_assert (0.2.6)
psych (default: 2.1.0)
public_suffix (3.0.1)
puma (3.11.2)
rack (2.0.4, 2.0.3)
rack-test (0.8.2)
rails (5.1.4)
rails-dom-testing (2.0.3)
rails-html-sanitizer (1.0.3)
railties (5.1.4)
rake (12.3.0, 10.4.2)
rb-fsevent (0.10.2)
rb-inotify (0.9.10)
rdoc (default: 4.2.1)
ruby_dep (1.5.0)
rubygems-bundler (1.4.4)
rubyzip (1.2.1)
rvm (1.11.3.9)
sass (3.5.5)
sass-listen (4.0.0)
sass-rails (5.0.7)
selenium-webdriver (3.9.0, 3.8.0)
spring (2.0.2)
spring-watcher-listen (2.0.1)
sprockets (3.7.1)
sprockets-rails (3.2.1)
sqlite3 (1.3.13)
test-unit (3.1.5)
thor (0.20.0)
thread_safe (0.3.6)
tilt (2.0.8)
turbolinks (5.1.0)
turbolinks-source (5.1.0)
tzinfo (1.2.5, 1.2.4)
uglifier (4.1.5)
web-console (3.5.1)
websocket-driver (0.6.5)
websocket-extensions (0.1.3)
xpath (3.0.0)
/home/jon/.rvm/rubies/ruby-2.3.4/bin/ruby
ruby 2.3.4p301 (2017-03-30 revision 58214) [x86_64-linux]
geRubyGems Environment:
- RUBYGEMS VERSION: 2.6.11
- RUBY VERSION: 2.3.4 (2017-03-30 patchlevel 301) [x86_64-linux]
- INSTALLATION DIRECTORY: /home/jon/.rvm/gems/ruby-2.3.4
- USER INSTALLATION DIRECTORY: /home/jon/.gem/ruby/2.3.0
- RUBY EXECUTABLE: /home/jon/.rvm/rubies/ruby-2.3.4/bin/ruby
- EXECUTABLE DIRECTORY: /home/jon/.rvm/gems/ruby-2.3.4/bin
- SPEC CACHE DIRECTORY: /home/jon/.gem/specs
- SYSTEM CONFIGURATION DIRECTORY: /etc
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-linux
- GEM PATHS:
- /home/jon/.rvm/gems/ruby-2.3.4
- /home/jon/.rvm/gems/ruby-2.3.4@global
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- https://rubygems.org/
- SHELL PATH:
- /home/jon/.rvm/gems/ruby-2.3.4/bin
- /home/jon/.rvm/gems/ruby-2.3.4@global/bin
- /home/jon/.rvm/rubies/ruby-2.3.4/bin
- /home/jon/bin
- /home/jon/.local/bin
- /home/jon/bin
- /home/jon/.local/bin
- /usr/local/sbin
- /usr/local/bin
- /usr/sbin
- /usr/bin
- /sbin
- /bin
- /usr/games
- /usr/local/games
- /snap/bin
- /home/jon/.rvm/bin
- /home/jon/.rvm/bin
- /home/jon/.rvm/bin
* LOCAL GEMS *
actioncable (5.1.4)
actionmailer (5.1.4)
actionpack (5.1.4)
actionview (5.1.4)
activejob (5.1.4)
activemodel (5.1.4)
activerecord (5.1.4)
activesupport (5.1.4)
addressable (2.5.2)
arel (8.0.0)
bigdecimal (default: 1.2.8)
bindex (0.5.0)
builder (3.2.3)
bundler (1.16.1)
bundler-unload (1.0.2)
byebug (10.0.0)
capybara (2.17.0)
childprocess (0.8.0)
coffee-rails (4.2.2)
coffee-script (2.4.1)
coffee-script-source (1.12.2)
concurrent-ruby (1.0.5)
crass (1.0.3)
did_you_mean (1.0.0)
erubi (1.7.0)
execjs (2.7.0)
executable-hooks (1.3.2)
ffi (1.9.21, 1.9.18)
gem-wrappers (1.3.2, 1.2.7)
globalid (0.4.1)
i18n (0.9.3)
io-console (default: 0.4.5)
jbuilder (2.7.0)
json (default: 1.8.3)
listen (3.1.5)
loofah (2.1.1)
mail (2.7.0)
method_source (0.9.0)
mini_mime (1.0.0)
mini_portile2 (2.3.0)
minitest (5.11.3, 5.8.5)
multi_json (1.13.1)
net-telnet (0.1.1)
nio4r (2.2.0)
nokogiri (1.8.2, 1.8.1)
power_assert (0.2.6)
psych (default: 2.1.0)
public_suffix (3.0.1)
puma (3.11.2)
rack (2.0.4, 2.0.3)
rack-test (0.8.2)
rails (5.1.4)
rails-dom-testing (2.0.3)
rails-html-sanitizer (1.0.3)
railties (5.1.4)
rake (12.3.0, 10.4.2)
rb-fsevent (0.10.2)
rb-inotify (0.9.10)
rdoc (default: 4.2.1)
ruby_dep (1.5.0)
rubygems-bundler (1.4.4)
rubyzip (1.2.1)
rvm (1.11.3.9)
sass (3.5.5)
sass-listen (4.0.0)
sass-rails (5.0.7)
selenium-webdriver (3.9.0, 3.8.0)
spring (2.0.2)
spring-watcher-listen (2.0.1)
sprockets (3.7.1)
sprockets-rails (3.2.1)
sqlite3 (1.3.13)
test-unit (3.1.5)
thor (0.20.0)
thread_safe (0.3.6)
tilt (2.0.8)
turbolinks (5.1.0)
turbolinks-source (5.1.0)
tzinfo (1.2.5, 1.2.4)
uglifier (4.1.5)
web-console (3.5.1)
websocket-driver (0.6.5)
websocket-extensions (0.1.3)
xpath (3.0.0)
Re: Lich on Ubuntu 16.04 on 05/30/2018 06:06 PM CDT
No worries, I feel that way most days, myself.
Couple of things leap out at me here.
First, in the 'LOCAL GEMS' list, you can see that GTK2 is not listed, nor are any of the other gems that are prerequisite for GTK2.
Second, I see you're running RVM (that's what the .rvm means). It's entirely possible (probable, in fact) that you have multiple instances of Ruby running on your system. Let's see if we can find any others and see if there's a GTK2 installed there. Another command:
rvm list
That'll show us which ruby versions you have installed.
Doug
Couple of things leap out at me here.
First, in the 'LOCAL GEMS' list, you can see that GTK2 is not listed, nor are any of the other gems that are prerequisite for GTK2.
Second, I see you're running RVM (that's what the .rvm means). It's entirely possible (probable, in fact) that you have multiple instances of Ruby running on your system. Let's see if we can find any others and see if there's a GTK2 installed there. Another command:
rvm list
That'll show us which ruby versions you have installed.
Doug
Re: Lich on Ubuntu 16.04 on 05/30/2018 06:15 PM CDT
Re: Lich on Ubuntu 16.04 on 05/30/2018 06:15 PM CDT
Re: Lich on Ubuntu 16.04 on 05/30/2018 06:24 PM CDT
Re: Lich on Ubuntu 16.04 on 05/30/2018 06:26 PM CDT
Dunno about 'expert', but. . .
Lich requires at least 2.0.
Lich works on 2.1, 2.2, 2.3 and 2.4
On 2.3 and 2.4, a special edit is necessary for Lich to work with all programs.
I personally usually recommend 2.2.5, last of the 2.2 series, only because a lot of folks don't like to edit the Lich core file (or re-edit when a new version is downloaded).
Doug
Lich requires at least 2.0.
Lich works on 2.1, 2.2, 2.3 and 2.4
On 2.3 and 2.4, a special edit is necessary for Lich to work with all programs.
I personally usually recommend 2.2.5, last of the 2.2 series, only because a lot of folks don't like to edit the Lich core file (or re-edit when a new version is downloaded).
Doug
Re: Lich on Ubuntu 16.04 on 05/30/2018 06:27 PM CDT
Re: Lich on Ubuntu 16.04 on 05/30/2018 06:42 PM CDT
You are on point, there's gtk2...so how do I fix this, exactly? Can I just remove the other version?
atk (3.2.5)
bigdecimal (1.3.4, default: 1.3.0)
bundler-unload (1.0.2)
cairo (1.15.13)
cairo-gobject (3.2.5)
did_you_mean (1.1.0)
executable-hooks (1.4.2, 1.3.2)
gdk_pixbuf2 (3.2.5)
gem-wrappers (1.4.0, 1.3.2, 1.2.7)
gio2 (3.2.5)
glib2 (3.2.5)
gobject-introspection (3.2.5)
gtk2 (3.2.5)
io-console (default: 0.4.6)
json (2.1.0, default: 2.0.2)
minitest (5.11.3, 5.10.1)
native-package-installer (1.0.6)
net-telnet (0.1.1)
openssl (2.1.1, default: 2.0.3)
pango (3.2.5)
pkg-config (1.3.1)
power_assert (1.1.1, 0.4.1)
psych (3.0.2, default: 2.2.2)
rake (12.3.1, 12.0.0)
rdoc (6.0.4, default: 5.0.0)
rubygems-bundler (1.4.4)
rvm (1.11.3.9)
sqlite3 (1.3.13)
test-unit (3.2.8, 3.2.3)
xmlrpc (0.3.0, 0.2.1)
atk (3.2.5)
bigdecimal (1.3.4, default: 1.3.0)
bundler-unload (1.0.2)
cairo (1.15.13)
cairo-gobject (3.2.5)
did_you_mean (1.1.0)
executable-hooks (1.4.2, 1.3.2)
gdk_pixbuf2 (3.2.5)
gem-wrappers (1.4.0, 1.3.2, 1.2.7)
gio2 (3.2.5)
glib2 (3.2.5)
gobject-introspection (3.2.5)
gtk2 (3.2.5)
io-console (default: 0.4.6)
json (2.1.0, default: 2.0.2)
minitest (5.11.3, 5.10.1)
native-package-installer (1.0.6)
net-telnet (0.1.1)
openssl (2.1.1, default: 2.0.3)
pango (3.2.5)
pkg-config (1.3.1)
power_assert (1.1.1, 0.4.1)
psych (3.0.2, default: 2.2.2)
rake (12.3.1, 12.0.0)
rdoc (6.0.4, default: 5.0.0)
rubygems-bundler (1.4.4)
rvm (1.11.3.9)
sqlite3 (1.3.13)
test-unit (3.2.8, 3.2.3)
xmlrpc (0.3.0, 0.2.1)
Re: Lich on Ubuntu 16.04 on 05/30/2018 06:53 PM CDT
There ya go!
Actually, you can just leave it the way it is. If you reboot your system, you'll probably come back to 2.3.x Just remember to issue the
rvm use 2.4.1
command and you should be all good.
Give it a go, and see what problems you face. I think you still have an edit ahead of you to fully use Lich.
Doug
Actually, you can just leave it the way it is. If you reboot your system, you'll probably come back to 2.3.x Just remember to issue the
rvm use 2.4.1
command and you should be all good.
Give it a go, and see what problems you face. I think you still have an edit ahead of you to fully use Lich.
Doug
Re: Lich on Ubuntu 16.04 on 05/30/2018 07:13 PM CDT
Re: Lich on Ubuntu 16.04 on 05/30/2018 10:00 PM CDT
Re: Lich on Ubuntu 16.04 on 05/30/2018 10:23 PM CDT
Re: Lich on Ubuntu 16.04 on 05/30/2018 10:29 PM CDT
Is this also Wormfood?
That particular $SAFE variable issue is the one I was expecting. We can edit the lich.rbw file to take that out of play, if you wish. If you don't wish, we can use RVM to install Ruby 2.2.5 and appropriate gems.
Neither option requires you to backrev your linux build.
Doug
That particular $SAFE variable issue is the one I was expecting. We can edit the lich.rbw file to take that out of play, if you wish. If you don't wish, we can use RVM to install Ruby 2.2.5 and appropriate gems.
Neither option requires you to backrev your linux build.
Doug