aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 6f3fd6e48..ce637b32a 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -22,6 +22,7 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
require 'download_strategy'
+require 'fileutils'
class FormulaUnavailableError <RuntimeError
def initialize name
@@ -92,6 +93,8 @@ end
# Derive and define at least @url, see Library/Formula for examples
class Formula
+ include FileUtils
+
# Homebrew determines the name
def initialize name='__UNKNOWN__'
set_instance_variable 'url'