The simplest way (from the author’s perspective) to share a gem for other developers’ use is to distribute it in source code form. If you place the full source code for your gem on a public git repository, then other users can install it with Bundler's git functionality.
For example, you can install the latest code for the wicked_pdf
gem
in a project by including this line in your Gemfile
:
gem "wicked_pdf", :git => "git://github.com/mileszs/wicked_pdf.git"(Véase
bundle help gemfile
)
Installing a gem directly from a git repository is a feature of
Bundler, not a feature of RubyGems. Gems installed this way will
not show up when you run gem list
.
Casiano Rodriguez León 2015-01-07