diff options
-rw-r--r-- | src/luarocks/cmd.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/luarocks/cmd.lua b/src/luarocks/cmd.lua index 6c0363a2..be863cfa 100644 --- a/src/luarocks/cmd.lua +++ b/src/luarocks/cmd.lua | |||
@@ -566,8 +566,9 @@ function cmd.run_command(description, commands, external_namespace, ...) | |||
566 | if not lua_found and args.command ~= "config" and args.command ~= "help" then | 566 | if not lua_found and args.command ~= "config" and args.command ~= "help" then |
567 | util.warning(tried .. | 567 | util.warning(tried .. |
568 | "\nModules may not install with the correct configurations. " .. | 568 | "\nModules may not install with the correct configurations. " .. |
569 | "You may want to specify the path prefix to your build " .. | 569 | "You may want to configure the path prefix to your build " .. |
570 | "of Lua " .. cfg.lua_version .. " using --lua-dir") | 570 | "of Lua " .. cfg.lua_version .. " using\n\n" .. |
571 | " luarocks config --local lua_dir <your-lua-prefix>\n") | ||
571 | end | 572 | end |
572 | cfg.lua_found = lua_found | 573 | cfg.lua_found = lua_found |
573 | 574 | ||