Update rails version
Fix rails environment name for capistrano to fix an asset precompile bug.