luarocks / luarocks-site

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

luarocks on Mac requires --server #23

Closed starius closed 9 years ago

starius commented 9 years ago

Command sudo luarocks install lapis does not work by default on Mac: Error: No results matching query were found.

Command sudo luarocks install --server=http://rocks.moonscript.org lapis works on Mac.

I think this should be mentioned on moonrocks site and/or on lapis site.

sbuettner commented 9 years ago

Had the same issue. Thank you @starius for sharing your solution.

leafo commented 9 years ago

This shouldn't be happening, how old is your version of luarocks? The default luarocks should point to luarocks.org, which is now what rocks.moonscript.org was.

sbuettner commented 9 years ago

Seems to be resolved when using a more recent version (luarocks 2.2.1).