set ruby version and adding rails_12factor to gemfile