Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does ~> mean in a gem file [duplicate]

People also ask

What is ~> Gemfile?

A Gemfile is a file that is created to describe the gem dependencies required to run a Ruby program. A Gemfile should always be placed in the root of the project directory.

How does gem file work?

A Gemfile is a file we create which is used for describing gem dependencies for Ruby programs. A gem is a collection of Ruby code that we can extract into a “collection” which we can call later. It lets you specify which gems you want to use, and which versions of these gems to use.


It's a confusing operand, but it limits versions to a subset of the possible versions. So ~> 2.0.0 means ">= 2.0.0 and < 2.1.0" in version numbers.

1.2.3 seems to be the latest version of Formtasic, that's why you're getting this error message.