Changes ruby version in Gemfiles and add rails_12factor