From aca9beece156b90f3361930e44a7eb84cac60ef7 Mon Sep 17 00:00:00 2001 From: phinze Date: Sat, 10 Mar 2012 01:01:38 -0600 Subject: [PATCH] back to .rb for bin, so homebrew `require`s us --- bin/{brew-cask => brew-cask.rb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename bin/{brew-cask => brew-cask.rb} (61%) diff --git a/bin/brew-cask b/bin/brew-cask.rb similarity index 61% rename from bin/brew-cask rename to bin/brew-cask.rb index d07185d88..6c8a3b4db 100755 --- a/bin/brew-cask +++ b/bin/brew-cask.rb @@ -1,4 +1,4 @@ -#!/usr/bin/env ruby +# this file expects to be required from within homebrew's ruby environment $LOAD_PATH << File.expand_path('../../lib', Pathname.new(__FILE__).realpath) require 'cask'