Skip to content

Dropping bin/* files for development in the gem? #35

@junaruga

Description

@junaruga

I find bin/console and bin/setup files are included in the gem file. Are these the files for a development, right? What do you think about not including the files in the power_assert gem file?

$ gem fetch power_assert
Fetching power_assert-2.0.0.gem
Downloaded power_assert-2.0.0

$ gem unpack power_assert-2.0.0.gem

$ ls power_assert-2.0.0/bin/
console*  setup*

Seeing the current power_assert.gemspec excluding specific files by Array#reject, perhaps a way to include only necessary files might be a way not to include the bin/* files.
ex. https://github.com/puma/puma/blob/e870ab69f03e44a80c60df8b3ac1b42b1374f907/puma.gemspec#L16-L17

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