I&#x27;m confused about what you&#x27;re trying to do here. You should be able to just do `bundle update rails`, and it will re-resolve all the dependencies with the newest version that matches the version string in your Gemfile (eg. `gem &#x27;rails&#x27;, &#x27;~&gt; 4.1.8&#x27;` will match the just-released &#x27;4.1.14.1&#x27;).