Fixed a typo in app.rb and set the environment
Set the env to dev