ruby gem specify version code example Example: specify ruby version in gemfile source "https://rubygems.org" ruby "2.5.1" # ...