What version of RubyGems do you have? gem -v
This is interesting: I have the latest version of RubyGems, but my system behaves differently:
gem list => all gems, all versions. No matter where I call it.
gem list --local => same as before, but worldwide.
bundle list => all gems in the project (one version per stone)
The same goes for bundle update and gem update .
bundle update replaces the old version with a new one (dependencies are processed by the binder), but gem update retains both. Therefore, if you want to keep only the latest version, run gem cleanup .
bundle outdated may be useful: it displays obsolete gems in your project (based on rubygems.org)
source share