Understanding the tilde operator in Gemfile.lock
<p>I currently have a dependency of the following</p>

<pre><code>i18n (~&gt; 0.6, &gt;= 0.6.4)
</code></pre>

<p>I've been having a read through of the <a href="http://guides.rubygems.org/patterns/#declaring_dependencies" rel="nofollow noreferrer">Ruby Gems - Declaring Dependency Guide</a></p>

<p>And I've found out that the '~> 0.6' part means anything between 0.6 and 1.0 - correct me if that's wrong.</p>

<p>But I'm still confused, what does this actually mean with a second comma separated value?</p>

<p>A colleague believes it means</p>

<pre><code>&gt;= 0.6.4, &lt;= 0.7
</code></pre>

<p>But I'm not so sure.</p>