Closed moisesnandres closed 7 years ago
Try install_if
as explained the Bundler docs:
install_if -> { RUBY_PLATFORM =~ /darwin/ } do
gem "terminal-notifier-guard", "~> 1.6.1"
end
install_if -> { RUBY_PLATFORM =~ /linux/ } do
gem "libnotify"
end
It works! Thank you!
Hi, I'm using the gem in my development group
It works good but when I push to heroku this happen
I also did
bundle install
to update the gemfile.lock Travis CI also throw a similar error.Is there a way to ignore the gem in the gemfile.lock or use it without being in the gemfile?