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

bundler fails to install data files, may be others #26

Open
blshkv opened this issue Nov 29, 2020 · 1 comment
Open

bundler fails to install data files, may be others #26

blshkv opened this issue Nov 29, 2020 · 1 comment

Comments

@blshkv
Copy link

blshkv commented Nov 29, 2020

I'm installing the latest version 0.1.87 using the following command:


fatal: not a git repository (or any parent up to mount point /var/tmp)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

It fails due to the following line:
https://github.com/rapid7/rex-powershell/blob/master/rex-powershell.gemspec#L16

The release should not use "git" since it is no longer available.

It is also reported in our bug track:
pentoo/pentoo-overlay#691

Update: it is mentioned as a bad practice in multiple places
https://stackoverflow.com/questions/16203163/what-are-the-best-practices-for-updating-a-gemspecs-file-list
Something like this should be used instead:

spec.files = Dir['data/**/*']

(need to be tested)

@blshkv
Copy link
Author

blshkv commented Nov 29, 2020

The same problem with two other packages:
rex-bin_tools
rex-exploitation

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

1 participant