Update Ruby and Rails.
Add Ruby to the Gemfile.
Update Rails.
Update rails.