Homebrew/homebrew — pull request #28770 by nickhutchinson (2014-04-27 20:18:43+00:00)
Title: Fix luarocks --with-luajit

The --with-lua compile flag should specify a prefix at which the lua binary can be found -- i.e. the `/usr/local` bit of `/usr/local/bin/luajit`. See http://luarocks.org/en/Installation_instructions_for_Unix.

Without this fix, luarocks will generate shell wrapper scripts with an incorrect path to the luajit interpreter.