Skip to content

Instantly share code, notes, and snippets.

@vivus-ignis
Created January 16, 2012 15:10
Show Gist options
  • Save vivus-ignis/1621282 to your computer and use it in GitHub Desktop.
Save vivus-ignis/1621282 to your computer and use it in GitHub Desktop.
luarocks install
git clone git://github.com/keplerproject/luarocks.git
cd luarocks
./configure --with-lua=/usr/local/luajit --with-lua-include=/usr/local/luajit/include/luajit-2.0
PATH=/usr/gnu/bin:$PATH gmake
PATH=/usr/gnu/bin:$PATH gmake install
ln -s /usr/local/luajit/bin/luajit-2.0.0-beta8 /usr/local/luajit/bin/lua
PATH=/usr/gnu/bin:$PATH /usr/local/bin/luarocks install luasocket
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment