ryanb / ruby-warrior

Game written in Ruby for learning Ruby.
MIT License
3.83k stars 838 forks source link

error message on a fresh install #47

Closed ghost closed 12 years ago

ghost commented 12 years ago

Hi

I just installed ruby and rubygems on a Ubuntu 11.10

sudo aptitude install ruby rubygems sudo gem install rubywarrior

now when i run "rubywarrior" i get the following error message:

Welcome to Ruby Warrior /var/lib/gems/1.8/gems/rubywarrior-0.1.2/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.8/gems/rubywarrior-0.1.2/lib/ruby_warrior/profile.rb:31:indecode' from /var/lib/gems/1.8/gems/rubywarrior-0.1.2/lib/ruby_warrior/profile.rb:35:in load' from /var/lib/gems/1.8/gems/rubywarrior-0.1.2/lib/ruby_warrior/game.rb:8:instart' from /var/lib/gems/1.8/gems/rubywarrior-0.1.2/lib/ruby_warrior/runner.rb:17:in run' from /var/lib/gems/1.8/gems/rubywarrior-0.1.2/bin/rubywarrior:5 from /usr/local/bin/rubywarrior:19:inload' from /usr/local/bin/rubywarrior:19

i'm trying to learn ruby, so it's maybe a bit early to debug this problem, is there someone who can help?

regards Andi

ghost commented 12 years ago

found it myself neede to cd into a directory and run rubywarrior in there