Changeset

17:ec6b0b94826c

verse: Include LuaRocks packages if we can
author Matthew Wild <mwild1@gmail.com>
date Mon, 30 Nov 2009 15:54:33 +0000
parents 16:13444ae6e3c4
children 18:f15de643f502
files init.lua
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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";