RubyGems version specification tip

RubyGems version string “~> 2.5.1” will look for any 2.5.x version, greater than or equal to 2.5.1. For example in Rails:

config.gem 'mygem', :version => '~> 2.5.1'

A mix of design and code, by Mark Dodwell, web designer and Ruby on Rails developer.