Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix terminal-notifier Bundler issue #109

Merged
merged 1 commit into from
Jan 22, 2018
Merged

Conversation

mattheworiordan
Copy link
Contributor

Fixes issue #108

which is used to determine if terminal-notifier can run, but then it’s run inside a Bundler environment where terminal-notifier may not exist in the Gemfile. This then results in:

/gems/bundler-1.12.5/lib/bundler/rubygems_integration.rb:322:in block in replace_gem': terminal-notifier is not part of the bundle. Add it to Gemfile. (Gem::LoadError) from /gems/ruby-2.2.5/bin/terminal-notifier:22:in

'
from /gems/ruby-2.2.5/bin/ruby_executable_hooks:15:in eval' from /gems/ruby-2.2.5/bin/ruby_executable_hooks:15:in'

Fixes issue alexch#108

`which` is used to determine if terminal-notifier can run, but then it’s run inside a Bundler environment where terminal-notifier may not exist in the Gemfile.  This then results in:

/gems/bundler-1.12.5/lib/bundler/rubygems_integration.rb:322:in `block in replace_gem': terminal-notifier is not part of the bundle. Add it to Gemfile. (Gem::LoadError)
	from /gems/ruby-2.2.5/bin/terminal-notifier:22:in `<main>'
	from /gems/ruby-2.2.5/bin/ruby_executable_hooks:15:in `eval'
	from /gems/ruby-2.2.5/bin/ruby_executable_hooks:15:in `<main>'
@alexch alexch merged commit a6a689a into alexch:master Jan 22, 2018
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