diff --git a/src/luarocks/cfg.lua b/src/luarocks/cfg.lua
index 4bb376a..48c0eb1 100644
--- a/src/luarocks/cfg.lua
+++ b/src/luarocks/cfg.lua
@@ -129,6 +129,8 @@ end
 
 local root = rocks_trees[#rocks_trees]
 local defaults = {
+   no_wrappers = false,
+
    lua_modules_path = "/share/lua/5.1/",
    lib_modules_path = "/lib/lua/5.1/",
 
diff --git a/src/luarocks/rep.lua b/src/luarocks/rep.lua
index 322ab16..6c6e75b 100644
--- a/src/luarocks/rep.lua
+++ b/src/luarocks/rep.lua
@@ -170,7 +170,7 @@ local function install_binary(source, target)
    if not match then
       file = io.open(source)
    end
-   if match or (file and file:read():match("^#!.*lua.*")) then
+   if (match or (file and file:read():match("^#!.*lua.*"))) and not cfg.no_wrappers then
       ok, err = fs.wrap_script(source, target)
    else
       ok, err = fs.copy_binary(source, target)
