Permalink
Browse files

Load RubyGems plugins on install and update

  • Loading branch information...
tpope committed Aug 21, 2011
1 parent a42c97a commit 7b4bd9e3d7a644dd4ad73fe95e2786e8f7411d04
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/bundler/cli.rb
View
@@ -217,6 +217,7 @@ def install(path = nil)
Bundler.settings.without = opts[:without] unless opts[:without].empty?
Bundler.ui.be_quiet! if opts[:quiet]
+ Gem.load_plugins
Installer.install(Bundler.root, Bundler.definition, opts)
Bundler.load.cache if Bundler.root.join("vendor/cache").exist? && !options["no-cache"]
@@ -265,6 +266,7 @@ def update(*gems)
end
opts = {"update" => true, "local" => options[:local]}
+ Gem.load_plugins
Installer.install Bundler.root, Bundler.definition, opts
Bundler.load.cache if Bundler.root.join("vendor/cache").exist?
Bundler.ui.confirm "Your bundle is updated! " +

0 comments on commit 7b4bd9e

Please sign in to comment.