modify gemfile add ruby version and add gem rails_12factor