how to update ruby version in Gemfile in rails code example Example: specify ruby version in gemfile source "https://rubygems.org" ruby "2.5.1" # ...