Version Gemfile is a simple gem to add version numbers to your Gemfile gems.
The problem
is that most people don't add that simple '~> x.x.x'
part at the end and
that makes it horrible to run bundle update
. Well, at least, you can't trust that!
Version Gemfile will go through your Gemfile looking for unversioned gems, then will query your Gemfile.lock to get the current version of each gem you're using and update your Gemfile.
Add this line to your application's Gemfile:
gem 'version_gemfile'
And then execute:
$ bundle
Or install it yourself as:
$ gem install version_gemfile
Simply type $ version_gemfile
and you're done.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request