Diff

init.lua @ 17:ec6b0b94826c

verse: Include LuaRocks packages if we can
author Matthew Wild <mwild1@gmail.com>
date Mon, 30 Nov 2009 15:54:33 +0000
parent 16:13444ae6e3c4
child 20:972066e06f4c
line wrap: on
line diff
--- a/init.lua	Mon Nov 30 15:53:44 2009 +0000
+++ b/init.lua	Mon Nov 30 15:54:33 2009 +0000
@@ -1,4 +1,6 @@
 
+-- Use LuaRocks if available
+pcall(require, "luarocks.require");
 
 local server = require "server";
 local events = require "events";