Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot create LuaJIT environment with LuaRocks 3.0.0 #3

Closed
aperezdc opened this issue Jul 22, 2018 · 0 comments
Closed

Cannot create LuaJIT environment with LuaRocks 3.0.0 #3

aperezdc opened this issue Jul 22, 2018 · 0 comments
Assignees
Labels

Comments

@aperezdc
Copy link
Owner

Steps to reproduce

  1. Create a LuaJIT profile as described in the README.
  2. Set ROCKZ_LUAROCKS_VERSION=3.0.0 in the environment to use LuaRocks 3.
  3. Create a new rockenv: rockz new testenv -p luajit.

Expected outcome

An usable rockenv with LuaRocks 3.0.0 is created which uses LuaJIT.

Actual outcome

LuaRocks' fails installing at the make bootstrap step with the following output:

Initializing project luarocks-3.0.0 ...
Adding entries to .gitignore ...
Preparing ./.luarocks/ ...
Preparing ./lua_modules/ ...
Preparing ./lua ...

No existing manifest. Attempting to rebuild...
luarocks 3.0.0-1 is now installed in /home/aperez/.rockenvs/testenv (license: MIT)

/home/aperez/.rockenvs/testenv/bin/lua: ...env/lib/luarocks/rocks-5.1/luarocks/3.0.0-1/bin/luarocks:6: loop or previous error loading module 'luarocks.loader'
stack traceback:
        [C]: in function 'require'
        ...env/lib/luarocks/rocks-5.1/luarocks/3.0.0-1/bin/luarocks:6: in main chunk
        [C]: at 0x00404680
@aperezdc aperezdc added the bug label Jul 22, 2018
@aperezdc aperezdc self-assigned this Jul 22, 2018
@aperezdc aperezdc changed the title Cannot created LuaJIT environment with LuaRocks 3.0.0 Cannot create LuaJIT environment with LuaRocks 3.0.0 Jul 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant