ruby-warrior icon indicating copy to clipboard operation
ruby-warrior copied to clipboard

Cannot run rubywarrior on a fresh ubuntu environment that comes with a default ruby installation

Open SamuelToh opened this issue 9 years ago • 1 comments

tigerroar@ubuntu:~$ rubywarrior Welcome to Ruby Warrior /var/lib/gems/1.9.1/gems/rubywarrior-0.1.3/lib/ruby_warrior/profile.rb:31:in load': incompatible marshal file format (can't be read) (TypeError) format version 4.8 required; 254.154 given from /var/lib/gems/1.9.1/gems/rubywarrior-0.1.3/lib/ruby_warrior/profile.rb:31:indecode' from /var/lib/gems/1.9.1/gems/rubywarrior-0.1.3/lib/ruby_warrior/profile.rb:35:in load' from /var/lib/gems/1.9.1/gems/rubywarrior-0.1.3/lib/ruby_warrior/game.rb:8:instart' from /var/lib/gems/1.9.1/gems/rubywarrior-0.1.3/lib/ruby_warrior/runner.rb:17:in run' from /var/lib/gems/1.9.1/gems/rubywarrior-0.1.3/bin/rubywarrior:5:in<top (required)>' from /usr/local/bin/rubywarrior:23:in load' from /usr/local/bin/rubywarrior:23:in

'

Newbie here. This is reproducible on a new ubuntu installation env that doesn't have the full ruby package installed yet.

To fix this, do=> "sudo apt-get install ruby-full"

SamuelToh avatar Apr 29 '15 07:04 SamuelToh

I had the same problem. Thanks!

Vic-ST avatar Aug 26 '17 02:08 Vic-ST