luarocks / luarocks-site

LuaRocks website and module host
http://luarocks.org
176 stars 36 forks source link

`luarocks install --server=http://rocks.moonscript.org luarocks` ==> `luarocks` no more #10

Closed pygy closed 9 years ago

pygy commented 10 years ago

Since luarocks.org says that, starting with v2.2 moonrocks would be the default repository, I tried to update luarocks, first from luarocks.org (no luck, v2.1.2.n), then from moonrocks.

It turns out (I checked rocks.moonscript.org after the fact) that it doesn't provide v2.2 either, but it also botched luarocks.

➜  ~  luarocks install --server=http://rocks.moonscript.org luarocks
Installing http://rocks.moonscript.org/luarocks-2.1.2-1.src.rock...
Using http://rocks.moonscript.org/luarocks-2.1.2-1.src.rock... switching to 'build' mode

Error: Failed initializing build back-end for build type 'builtin': module 'luarocks.build.builtin' not found:Failed loading module luarocks.build.builtin in LuaRocks rock luarocks 2.1.2-1
    no field package.preload['luarocks.build.builtin']
    no file '/usr/local/share/lua/5.1/luarocks/build/builtin.lua'
    no file '/usr/local/share/lua/5.1/luarocks/build/builtin/init.lua'
    no file '/Users/pygy/.luarocks/share/lua/5.1/luarocks/build/builtin.lua'
    no file '/Users/pygy/.luarocks/share/lua/5.1/luarocks/build/builtin/init.lua'
    no file './luarocks/build/builtin.lua'
    no file '/usr/local/share/lua/5.1/luarocks/build/builtin.lua'
    no file '/usr/local/share/lua/5.1/luarocks/build/builtin/init.lua'
    no file '/usr/local/lib/lua/5.1/luarocks/build/builtin.lua'
    no file '/usr/local/lib/lua/5.1/luarocks/build/builtin/init.lua'
    no file '/usr/local/lib/lua/5.1/luarocks/build/builtin.so'
    no file '/Users/pygy/.luarocks/lib/lua/5.1/luarocks/build/builtin.so'
    no file './luarocks/build/builtin.so'
    no file '/usr/local/lib/lua/5.1/luarocks/build/builtin.so'
    no file '/usr/local/lib/lua/5.1/loadall.so'
    no file '/usr/local/lib/lua/5.1/luarocks.so'
    no file '/Users/pygy/.luarocks/lib/lua/5.1/luarocks.so'
    no file './luarocks.so'
    no file '/usr/local/lib/lua/5.1/luarocks.so'
    no file '/usr/local/lib/lua/5.1/loadall.so'
➜  ~  luarocks install --server=http://rocks.moonscript.org moonrocks
zsh: command not found: luarocks

:-/

leafo commented 9 years ago

closing out old issues, tell me if there's still a problem