** Changed in: tarantool
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Tarantool
Development Team, which is subscribed to tarantool.
https://bugs.launchpad.net/bugs/1039989
Title:
require in init.lua seeks modules in workdir instead script_dir
Status in Tarantool - an efficient in-memory data store:
Fix Released
Bug description:
if You use require 'module' in Your iniit.lua, tarantool will not find
Your module even if it is placed in script_dir.
Also if You require such module, tarantool will complain:
1345627395.008 3259 104/init.lua _ F> /home/unera//init.lua:1: module 'cjson'
not found:
no field package.preload['cjson']
no file './cjson.lua'
no file '/usr/local/share/luajit-2.0.0-beta9/cjson.lua'
no file '/usr/local/share/lua/5.1/cjson.lua'
no file '/usr/local/share/lua/5.1/cjson/init.lua'
no file './cjson.so'
no file '/usr/local/lib/lua/5.1/cjson.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
(END)
It would be nice to have CMAKE option to change standard lua modules
paths (Debian doesn't contain /usr/local)
To manage notifications about this bug go to:
https://bugs.launchpad.net/tarantool/+bug/1039989/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~tarantool-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~tarantool-developers
More help : https://help.launchpad.net/ListHelp