sportngin / brew-gem

Install gems as homebrew formulas
MIT License
195 stars 21 forks source link

Add rspec binstub #45

Closed jasonkarns closed 4 years ago

jasonkarns commented 7 years ago

Rspec test suite requires being run in context of bundle. This provides the bundler binstub necessary to do so.

Added bundler config because the default binstub location is presently used for bins provided by this gem itself, not for binstubs used by its developers.

Partially addresses #44

jasonkarns commented 7 years ago

Just had a conversation with some other devs and apparently, there's a slightly more conventional way to solve this...

Rather than having brew-gem's bin under bin/, it should be moved to exe/. This leaves bin/ open for bundler binstubs which then eliminates the need for the .bundle/config file being committed.

Thoughts on this?

jasonkarns commented 7 years ago

Updated PR to reflect current convention (exe for bins distributed by the gem, bin for binstubs)

jasonkarns commented 6 years ago

bump