Simple gem to add missing version to your Gemfile's gem
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
spec
.gitignore
.travis.yml
Gemfile
LICENSE.txt
README.md
Rakefile
version_gemfile.gemspec

README.md

Version Gemfile

Build Status

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!

How does it work?

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.

Installation

Add this line to your application's Gemfile:

gem 'version_gemfile'

And then execute:

$ bundle

Or install it yourself as:

$ gem install version_gemfile

Usage

Simply type $ version_gemfile and you're done.

Also, you should consider the Add Gem gem to add gems to your Gemfile.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request