Class: Fudge::Tasks::CleanBundlerEnv

Inherits:
CompositeTask show all
Defined in:
lib/fudge/tasks/clean_bundler_env.rb

Overview

Provides a sanitized running environment for Bundler

Instance Attribute Summary

Attributes inherited from CompositeTask

#description

Attributes inherited from Task

#args, #options

Instance Method Summary collapse

Methods inherited from CompositeTask

#tasks

Methods inherited from Task

#initialize, name

Constructor Details

This class inherits a constructor from Fudge::Tasks::Task

Instance Method Details

#run(options = {}) ⇒ Object

Run task



6
7
8
9
10
# File 'lib/fudge/tasks/clean_bundler_env.rb', line 6

def run(options={})
  Bundler.with_clean_env do
    super(options.merge(:bundler => true))
  end
end