I run into a problem with the attached luvit zip folder.

I can download and uncompress the luvit archive from github. Then I use the 
zip commond on linux to create the luvit zip archive: 

cd luvit-2.0.5
zip -r luvit-2.0.5.zip .
cat /usr/bin/luvi luvit_2.0.5.zip > luvit
chmod +x luvit
./luvit
Welcome to the Luvit repl!

This works fine, but if I exclude the directories examples, test, and bench 
and only include the lua files, starting luvit fails:

cd luvit-2.0.5
zip -x "tests/*" "examples/*" "bench/*" -i "*.lua" -r luvit-2.0.5.zip .
cat /usr/bin/luvi luvit_2.0.5.zip > luvit
chmod +x luvit
./luvit
[string "bundle:deps/require.lua"]:171: No such module 'process' in 
'bundle:/init.lua'

I checked the zip archive and it contains all lua files (init, main, 
package) from the luvit root directory as well as all lua files from the 
deps directory (include process.lua).

Seems the bundle is not generated properly in this case. And idea?

-- 
You received this message because you are subscribed to the Google Groups 
"luvit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to