Why doesn't the command `gem list` include gems installed with bundler's :git option?

In our rails 3.2 Gemfile, there are some gems installed with option :git pointing to repo on github, such as:

gem 'ruote', :git => 'http://github.com/jmettraux/ruote.git'

After bundle install, we type gem list to list all the gems installed. However gem list does not list ruote as a gem installed. As a matter of fact, there is no ruote listed at all. We notice the same thing also happens to all rails engines which are installed with option :git pointing to repo on github. Why gem list does not list all gems installed? How can we assure that ruote is correctly installed?

  • using bundler to load different versions of gems for different platforms
  • Gemfile.lock always has changes not staged for commit
  • How to organize development of Rails App and multiple Engines
  • 'Could not find gem' error when specifying a forked version of a gem from Github in my gemfile
  • Why is bundler not installing gems stored in get repo properly?
  • Can I force a gem's dependencies in gemfile?
  • Why is git warning of CRLF on a file flagged as binary?
  • How to alias 'git checkout' to 'git co'?
  • How to create .gitignore file
  • How to create a remote Git repository from a local one?
  • git cvsimport Error: “root … must be an absolute pathname”
  • Log entries are missing after checking out a previous commit
  • 3 Solutions collect form web for “Why doesn't the command `gem list` include gems installed with bundler's :git option?”

    According to the Bundler Documentation, gems from git sources will not show up in gem list because the gem command cannot process them, so Bundler has to do all of the work by itself. Bundler stores these gems in its own location instead. (Note that this location has nothing to do with the current project. It is in ~/.bundler/... by default.)

    You can see that it is installed if bundle install completes with no errors. You can also use bundle show to see the list of gems that Bundler has set up for you.

    gem list is not the right way to show gems installed for the app, as it will show system wide gems.

    To check what gems are for this app and their versions, check Gemfile.lock. You’ll have the most precise info there.

    gem list is showing you all the gems installed on your machine.

    When you have a gem with a different location than Ruby’s gems, Bundler will store these locally for the project rather than system wide.

    Git Baby is a git and github fan, let's start git clone.