Skip to content

Instantly share code, notes, and snippets.

@Nitrodist
Last active December 17, 2015 14:49
Show Gist options
  • Save Nitrodist/5627362 to your computer and use it in GitHub Desktop.
Save Nitrodist/5627362 to your computer and use it in GitHub Desktop.
mark@Marks-MacBook-Air ~/rubyapps/blag (master)$ bundle outdated
Fetching gem metadata from https://rubygems.org/........
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Outdated gems included in the bundle:
* directory_watcher (1.5.1 > 1.4.1)
* safe_yaml (0.9.1 > 0.7.1) # <- not quite what I want
mark@Marks-MacBook-Air ~/rubyapps/blag (master)$ cat Gemfile.lock | grep -i safe_yaml
safe_yaml (~> 0.7.0) # <- this dependency is '~> 0.7.0' so I don't want to know about 0.9.1 being available as I only care about the 0.7.x versions
safe_yaml (0.7.1)
# Ideal output
Gem Version Constraint Gemfile.lock version Gems available per Version Constraint
safe_yaml ~> 0.7.0 0.7.1 0.7.0 (2012-06-01), 0.7.1 (2012-08-01), 0.7.2 (2013-01-12), 0.7.3 (2013-02-09), 0.7.4 (2013-02-13)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment