diff options
Diffstat (limited to 'lib/bundler/plugin.rb')
-rw-r--r-- | lib/bundler/plugin.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bundler/plugin.rb b/lib/bundler/plugin.rb index 1421b6fd..e4ab9287 100644 --- a/lib/bundler/plugin.rb +++ b/lib/bundler/plugin.rb @@ -27,6 +27,10 @@ module Bundler Bundler.ui.error "Failed to install plugin #{name}: #{e.message}\n #{e.backtrace.join("\n ")}" end + # Evaluates the Gemfile with a limited DSL and installs the plugins + # specified by plugin method + # + # @param [Pathname] gemfile path def eval_gemfile(gemfile) definition = Dsl.evaluate(gemfile, nil, {}) return unless definition.dependencies.any? |