Skip to content

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

@blshkv

Description

@blshkv

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions