search for: luasql

Displaying 3 results from an estimated 3 matches for "luasql".

Did you mean: libsql
2011 Feb 24
1
extensions.lua with luasql.mysql.
...! I'm trying to create a context for integration with extensions.lua and libsql.mysql, but I'm not getting to run. When I reload the module pbx_lua.so the following error appears: [Feb 24 16:59:29] ERROR[30749]: pbx_lua.c:1249 exec: Error executing lua extension: error loading module 'luasql.mysql' from file '/usr/lib/lua/5.1/luasql/mysql.so': /usr/lib/lua/5.1/luasql/mysql.so: undefined symbol: lua_getfield stack traceback: [C]: ? [C]: in function 'require' [string "extensions.lua"]:205: in function <[string "extensions.lua"]:2...
2014 Jul 25
0
pbx_lua module with luasql.mysql
Hello. I successfully installed lua and use lua_pbx with my dialplan, but I need to use mysql. I installed luasql.mysql and without extensions.lua it work fine (woth external scripts) I tested it with my little script: ______________________________________________________________ function mysqltest() local driver = require "luasql.mysql" local env = assert(driver.mysql()) local con = assert(env:c...
2010 Dec 22
5
rvm, rails and sqlite
i need to use old version of ruby (1.8.7) and older version of rails (2.1.0) so i decided to use rvm. however since i''m somewhat new to ruby and rails i''m having issues. i created a gemset with rvm for my project, installed rails 2.1.0 into it. after that i created a project and a scaffolding for it. however i bumped onto an issue with sqlite3 (or sqlite3-ruby). it seems to me