Module: RidgepoleRake::Bundler::Command

Included in:
Command
Defined in:
lib/ridgepole_rake/ext/bundler.rb

Instance Method Summary collapse

Instance Method Details

#executeObject

Note:

override



21
22
23
24
25
26
27
28
29
30
31
32
# File 'lib/ridgepole_rake/ext/bundler.rb', line 21

def execute
  if use_with_clean_env?
    ::Bundler.with_clean_env do
      config.bundler[:with_clean_env].call
      super
    end
  elsif use_clean_system?
    ::Bundler.clean_system(*stash)
  else
    super
  end
end