For those wanting to play it on linux, you need to install ruby and a few dependencies :
sudo apt install ruby-full sudo apt install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev sudo gem install ruby2d tty-screen
and then you can run the game (like op said) using :
ruby RubyDungeon.rb