[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: orbit.new fails in module declaration
- From: luciano de souza <luchyanus@...>
- Date: Sun, 27 Apr 2014 02:32:40 -0300
Hello all,
I am not able to run my first Orbit example.
I did:
sudo luarocks install orbit
sudo luarocks install wsapi
sudo luarocks install wsapi-xavante
sudo luarocks install xavante
Everything seems to be OK. So I did:
local orbit = require('orbit')
And my local orbit table is nil!
When I did "require('orbit'), Lua does not show errors. But when I did
"module('example', package.seeall, orbit.new)", the error is shown
becose "orbit" is nil.
What dos it means?
I am using Lua 5.1 with Ubuntu 13.04 64 bits.
--
Luciano de Souza