1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
#!/usr/bin/env lua
local luarocks = require("luarocks.require")
luarocks.set_context("cgilua", "cvs-2")
print(package.path)
print(package.cpath)
local socket = require("socket")
if not socket then os.exit(1) end
print(socket, socket._VERSION)
local socket2 = require("socket")
if not socket2 then os.exit(1) end
print(socket2, socket2._VERSION)
local mime = require("mime")
if not mime then os.exit(1) end
print(mime, mime._VERSION)
local socket = require("lfs")
if not lfs then os.exit(1) end
print(lfs, lfs._VERSION)
|