diff options
author | Antonio Scandurra <as_cii@hotmail.it> | 2014-03-21 09:12:35 +0100 |
---|---|---|
committer | Antonio Scandurra <as_cii@hotmail.it> | 2014-03-21 09:35:33 +0100 |
commit | 259012d7bdf90e362122122b1f090a8af8070b32 (patch) | |
tree | e2ea3eb4177d19576a90ade5708c0fb963bc7844 /lib/bundler/setup.rb | |
parent | 4d29adeee6e000e309674ee38ce3c027cec3534d (diff) | |
download | bundler-259012d7bdf90e362122122b1f090a8af8070b32.tar.gz |
Avoid threequals operator where possible
Diffstat (limited to 'lib/bundler/setup.rb')
-rw-r--r-- | lib/bundler/setup.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/setup.rb b/lib/bundler/setup.rb index d5770977..3059975d 100644 --- a/lib/bundler/setup.rb +++ b/lib/bundler/setup.rb @@ -8,7 +8,7 @@ if Bundler::SharedHelpers.in_bundle? rescue Bundler::BundlerError => e puts "\e[31m#{e.message}\e[0m" puts e.backtrace.join("\n") if ENV["DEBUG"] - if Bundler::GemNotFound === e + if e.is_a?(Bundler::GemNotFound) puts "\e[33mRun `bundle install` to install missing gems.\e[0m" end exit e.status_code |