If I want to use non-existent custom directory for rubywarrior data using -d parameter, game offers me to create rubywarrior subdirectory under it and then crashes because the custom directory doesn't exist.
Example:
rubywarrior -dnodir
No rubywarrior directory found, would you like to create one? [yn] y
lib/ruby_warrior/game.rb:29:in `mkdir': No such file or directory - nodir/rubywarrior (Errno::ENOENT)
IMHO game should offer to create custom directory before creating rubywarrior directory.
If I want to use non-existent custom directory for rubywarrior data using
-d
parameter, game offers me to createrubywarrior
subdirectory under it and then crashes because the custom directory doesn't exist.Example:
IMHO game should offer to create custom directory before creating
rubywarrior
directory.