Adding versions to Gemfile

Prevent future problems with versions
Update rails version

Include latest security fixes
Do not use the same secret token on production

Read secret token from the environment variables.

$ export SECRET_TOKEN=my-secret-token