Warn missing irb cases

This commit is contained in:
Hiroshi SHIBATA 2024-09-12 15:46:57 +09:00
parent 86fcfcb3c0
commit 2a1962fc4a
Notes: git 2024-09-12 07:28:19 +00:00

View File

@ -35,6 +35,8 @@ class Binding
Bundler::Definition.no_lock = true
Bundler::Runtime.new(nil, definition).setup
rescue Bundler::GemNotFound
warn "Failed to activate #{gem}, please install it with 'gem install #{gem}'"
ensure
Bundler.ui = orig_ui
Bundler::Definition.no_lock = orig_no_lock