Get secret_token from ENV['SECRET_TOKEN'] (e.g. for Heroku)
Update to Ruby 2
Removing unnecessary Rails.env check