Skip to content

Running luarocks without any argument gives an error that luarocks.config_cmd is missing. #24

@manjunaths

Description

@manjunaths

When luarocks is run without any arguments, I get this error. The fix is to upgrade luarocks with

luarocks install luarocks

The error:

Error: LuaRocks scm bug (please report at https://github.com/keplerproject/luarocks/issues).
.../manju/torch/install/share/lua/5.1/luarocks/help.lua:77: module 'luarocks.config_cmd' not found:No LuaRocks module found for luarocks.config_cmd
no field package.preload['luarocks.config_cmd']
no file '/home/manju/torch/install/share/lua/5.1/luarocks/config_cmd.lua'
no file '/home/manju/torch/install/share/lua/5.1/luarocks/config_cmd/init.lua'
no file '/home/manju/.luarocks/share/lua/5.1/luarocks/config_cmd.lua'
no file '/home/manju/.luarocks/share/lua/5.1/luarocks/config_cmd/init.lua'
no file './luarocks/config_cmd.lua'
no file '/home/manju/torch/install/lib/lua/5.1/luarocks/config_cmd.lua'
no file '/home/manju/torch/install/lib/lua/5.1/luarocks/config_cmd/init.lua'
no file '/home/manju/torch/install/lib/luarocks/config_cmd.so'
no file '/home/manju/.luarocks/lib/lua/5.1/luarocks/config_cmd.so'
no file '/home/manju/torch/install/lib/lua/5.1/luarocks/config_cmd.so'
no file './luarocks/config_cmd.so'
no file '/home/manju/torch/install/lib/lua/5.1/loadall.so'
no file '/home/manju/torch/install/lib/luarocks.so'
no file '/home/manju/.luarocks/lib/lua/5.1/luarocks.so'
no file '/home/manju/torch/install/lib/lua/5.1/luarocks.so'
no file './luarocks.so'
no file '/home/manju/torch/install/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'require'
.../manju/torch/install/share/lua/5.1/luarocks/help.lua:77: in function <.../manju/torch/install/share/lua/5.1/luarocks/help.lua:44>
(tail call): ?
[C]: in function 'xpcall'
...orch/install/share/lua/5.1/luarocks/command_line.lua:202: in function 'run_command'
/home/manju/torch/install/bin/luarocks:35: in main chunk
[C]: ?

This bug had originally been raised here and they directed it to be filed against this project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions