kenny-evitt / ruby-warrior-profiles

Profiles for Ruby Warrior
0 stars 0 forks source link

How to play a profile? #1

Open kenny-evitt opened 7 years ago

kenny-evitt commented 7 years ago

I don't remember.

Task:

kenny-evitt commented 7 years ago

I need to install the Ruby Warrior gem but it didn't work on Feynman just now:

✔ ~/@code/ruby-warrior-profiles/dante-beginner [master|…2] 
12:53 $ gem install rubywarrior
Fetching: rubywarrior-0.1.3.gem (100%)
ERROR:  While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.
kenny-evitt commented 7 years ago

This worked on Feynman just now:

✘-1 ~/@code/ruby-warrior-profiles/dante-beginner [master|…2] 
10:50 $ gem install rubywarrior --user-install -n~/bin
Successfully installed rubywarrior-0.1.3
Parsing documentation for rubywarrior-0.1.3
Installing ri documentation for rubywarrior-0.1.3
1 gem installed
kenny-evitt commented 7 years ago

In the profile sub-directory, running rubywarrior works:

✔ ~/@code/ruby-warrior-profiles/dante-beginner [master|…2] 
10:51 $ rubywarrior
Welcome to Ruby Warrior
Starting Level 2
- turn 1 -
 --------
|@   s  >|
 --------
Dante walks forward
- turn 2 -
 --------
| @  s  >|
 --------
Dante walks forward
...