lib/fudge/tasks/clean_bundler_env.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
module Fudge
  module Tasks
    # Provides a sanitized running environment for Bundler
    class CleanBundlerEnv < CompositeTask
      # Run task
      def run(options={})
        Bundler.with_clean_env do
          super(options.merge(:bundler => true))
        end
      end
    end

    register CleanBundlerEnv
  end
end