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

Copy of file instead of symlink on project creation #9

Open
pronvis opened this issue Jul 13, 2018 · 1 comment
Open

Copy of file instead of symlink on project creation #9

pronvis opened this issue Jul 13, 2018 · 1 comment

Comments

@pronvis
Copy link

pronvis commented Jul 13, 2018

When create a project test with tarantoolapp create test in directory test we have 2 files with same content:

  • test.lua
  • init.lua

Expected behavior: test.lua is a symlink to init.lua

Info about system:

System Version: macOS 10.13.5 (17F77)
Kernel Version: Darwin 17.6.0
@igorcoding
Copy link
Member

Sorry for the late response.
Seems like a problem is with installing tarantoolapp "stable" version. Installing an scm version (from luarocks.org/dev) works fine because it clones the repository directly to youe machine instead of downloading a zipped "*.rock" file.
In other words, symlinks in tarantoolapp's templates get corrupted when archived into a rock file.
In order to resolve this problem you should install an scm version by using

luarocks install --server=http://luarocks.org/dev tarantoolapp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants