diff options
| author | Ankit Kataria <ankitkataria28@gmail.com> | 2019-02-21 02:59:59 +0530 |
|---|---|---|
| committer | Ankit Kataria <ankitkataria28@gmail.com> | 2019-02-21 02:59:59 +0530 |
| commit | a0b91e3ad4e9243bdf73ca4eab6e755d93318899 (patch) | |
| tree | 07418e404afe40be247108d103ee53087a7f06f8 /lib | |
| parent | 5dc368b07c407702a485ed53d8fd8a8ab40fa9ef (diff) | |
| download | bundler-a0b91e3ad4e9243bdf73ca4eab6e755d93318899.tar.gz | |
add check for already installed plugin
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/bundler/source/rubygems.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/source/rubygems.rb b/lib/bundler/source/rubygems.rb index 9e5032c079..88d88320e6 100644 --- a/lib/bundler/source/rubygems.rb +++ b/lib/bundler/source/rubygems.rb @@ -106,7 +106,7 @@ module Bundler end end - if installed?(spec) && !force + if (installed?(spec) || Plugin.installed?(spec.name)) && !force print_using_message "Using #{version_message(spec)}" return nil # no post-install message end |
