added a script to run the application

also checks the gem dependencies and installs them
if required