Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1.14 KB

CONTRIBUTING.md

File metadata and controls

34 lines (24 loc) · 1.14 KB

Contributing

This project does not accept contributions at this time.

These notes are for my own reference.

Local development

The "Running your plugin locally" section of the How to write a Bundler plugin instructions seems to be wrong, per rubygems/rubygems#3209 (comment)

However, --git seems to work. (rubygems/bundler-site#464)

So, I open two tabs, one in the bundler-why directory, the second in some project with a meaningful gemfile.

To test a change, in the first tab I make a WIP commit then in the second tab I

rm -rf /Users/jared/git/my_project/.bundle/plugin
bundler plugin install bundler-why \
  --git file:///Users/jared/git/bundler-why --branch trunk \
  --verbose --retry=1
bundle why tzinfo

Deleting the plugin directory is a workaround for the fact that bundler does not provide a command to uninstall plugins, though it will soon, in 2.2.0. (https://github.com/rubygems/rubygems/blob/master/bundler/CHANGELOG.md#220rc1-july-2-2020)