KFTest Assuming you have Ruby installed in /usr/bin/ruby on a Linux system, put elevator.rb into a folder you have access to, and run it like so: chmod +x elevator.rb ./elevator.rb Enjoy!