Update rails.
Change Gemfile source.
Add ruby version to Gemfile.