Skip to content

Comments

Remove boilerplate executables from gemspec#479

Closed
hsbt wants to merge 1 commit intoShopify:mainfrom
hsbt:remove-executable
Closed

Remove boilerplate executables from gemspec#479
hsbt wants to merge 1 commit intoShopify:mainfrom
hsbt:remove-executable

Conversation

@hsbt
Copy link

@hsbt hsbt commented Nov 25, 2025

It pollute console command to PATH environmental variable.

@hsbt hsbt force-pushed the remove-executable branch from eae3d14 to db11baa Compare February 16, 2026 06:13
Copilot AI review requested due to automatic review settings February 16, 2026 06:13
@hsbt
Copy link
Author

hsbt commented Feb 16, 2026

I signed CLA and rebase with the current HEAD commit.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes the s.executables configuration from the gemspec to prevent development tools from being added to the user's PATH environment variable when the gem is installed. The bin/console file is a standard development helper script (using IRB) that should only be used by developers working on the gem itself, not by consumers of the gem.

Changes:

  • Removed the s.executables line from money.gemspec that was automatically including all files in the bin/ directory as executable commands

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@robinbrandt
Copy link
Contributor

Hi - there was another PR that fixed this. sorry didn't see yours at first. Thanks for the contribution.

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

Successfully merging this pull request may close these issues.

2 participants