luvit-redis
luvit-redis copied to clipboard
fast luvit redis client
make fails with message ``` mkdir -p build cc Usage: luvit [options] script.lua [arguments] Options: -h, --help Print this help screen. -v, --version Print the version. -e code_chunk Evaluate code...
When I install complete I can't use it in my code like this yangzhu:jcpvp yangzhu$ luvit app.lua 109 /usr/local/lib/luvit/luvit.lua:309: /usr/local/lib/luvit/module.lua:194: Failed to find module 'redis' no field package.preload['redis'] Cannot find...
``` bash cc -I/usr/local/Cellar/luvit/0.8.2/include/luvit -I/usr/local/Cellar/luvit/0.8.2/include/luvit/uv -I/usr/local/Cellar/luvit/0.8.2/include/luvit/luajit -I/usr/local/Cellar/luvit/0.8.2/include/luvit/http_parser -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -fPIC -Ideps/hiredis -Isrc -o build/redis.luvit src/redis.c deps/hiredis/libhiredis.a -shared -lm -undefined dynamic_lookup deps/hiredis/libhiredis.a In file included from src/redis.c:28: /usr/local/Cellar/luvit/0.8.2/include/luvit/utils.h:24:10: fatal error:...
Did you know that latest version `0.8.2` allows using NPM as package manager? https://github.com/luvit/luvit/blob/master/ChangeLog#L31
I'm new to luvit so I'm not sure if this is the fault of luvit or of luvit-redis. When I run luvit on example.lua, I don't get any output. I...