You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.
I have a plugin for bundler which register a hook. The hook is then called in a Gemfile.
bundle install fail because the event is not yet register. It works in version < 1.17.
# Gemfile# register pluginplugin'rys-bundler',github: 'easysoftware/rys-bundler',branch: 'master'# <-- This fail because bundler needs a defined event # <-- However the event is registered in the plugin abovePlugin.hook('rys-gemfile',self)
Is there any chance that it will works again? I would like to avoid using rescue.
Thanks
The text was updated successfully, but these errors were encountered:
[!] There was an error parsing `Gemfile`:
[!] There was an error parsing `Gemfile`: Event 'rys-gemfile' not defined in Bundler::Plugin::Events. Bundler cannot continue.
# from Gemfile
# -------------------------------------------
# plugin 'rys-bundler', github: 'easysoftware/rys-bundler', branch: 'master'
> Plugin.hook('rys-gemfile', self)
# -------------------------------------------
This is happening because of #6548 where we restrict the events to only be defined by Bundler. You will need to change your plugin to use either the before-install, after-install, before-install-all or after-install-all events
Hello,
I have a plugin for bundler which register a hook. The hook is then called in a Gemfile.
bundle install
fail because the event is not yet register. It works in version< 1.17
.Is there any chance that it will works again? I would like to avoid using
rescue
.Thanks
The text was updated successfully, but these errors were encountered: