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

don't store absolute tower path in .profile

Open bleything opened this issue 15 years ago • 1 comments

... because when I move my player directories to a machine on a different platform, my profiles become invalid :)

bleything avatar May 07 '10 21:05 bleything

I was going to suggest this same thing. I moved from a computer with the home folder "sandygreen" to one with a home folder "cinilomis," running RVM on both machines, with the same version of Ruby and the same version of rubywarrior installed in the same way. Here's my error message when I try to run the save I copied:

/Users/cinilomis/.rvm/gems/ruby-1.9.2-p0/gems/rubywarrior-0.1.1/lib/ruby_warrior/level.rb:31:in read': No such file or directory - /Users/sandygreen/.rvm/gems/ruby-1.9.2-p0/gems/rubywarrior-0.1.1/towers/beginner/level_009.rb (Errno::ENOENT) from /Users/cinilomis/.rvm/gems/ruby-1.9.2-p0/gems/rubywarrior-0.1.1/lib/ruby_warrior/level.rb:31:inload_level' from /Users/cinilomis/.rvm/gems/ruby-1.9.2-p0/gems/rubywarrior-0.1.1/lib/ruby_warrior/level.rb:45:in play' from /Users/cinilomis/.rvm/gems/ruby-1.9.2-p0/gems/rubywarrior-0.1.1/lib/ruby_warrior/game.rb:72:inplay_current_level' from /Users/cinilomis/.rvm/gems/ruby-1.9.2-p0/gems/rubywarrior-0.1.1/lib/ruby_warrior/game.rb:63:in play_normal_mode' from /Users/cinilomis/.rvm/gems/ruby-1.9.2-p0/gems/rubywarrior-0.1.1/lib/ruby_warrior/game.rb:23:instart' from /Users/cinilomis/.rvm/gems/ruby-1.9.2-p0/gems/rubywarrior-0.1.1/lib/ruby_warrior/runner.rb:17:in run' from /Users/cinilomis/.rvm/gems/ruby-1.9.2-p0/gems/rubywarrior-0.1.1/bin/rubywarrior:5:in<top (required)>' from /Users/cinilomis/.rvm/gems/ruby-1.9.2-p0/bin/rubywarrior:19:in load' from /Users/cinilomis/.rvm/gems/ruby-1.9.2-p0/bin/rubywarrior:19:in

'

Splendorr avatar Sep 24 '10 15:09 Splendorr