Ignore warning on LoadError when running under Bundler
This commit is contained in:
parent
62eea99a1c
commit
fe5329f032
@ -118,7 +118,7 @@ end
|
|||||||
# If loading library is not part of the default gems and the bundled gems, warn it.
|
# If loading library is not part of the default gems and the bundled gems, warn it.
|
||||||
class LoadError
|
class LoadError
|
||||||
def message
|
def message
|
||||||
if Gem::BUNDLED_GEMS::SINCE[path] && !Gem::BUNDLED_GEMS::WARNED[path]
|
if !defined?(Bundler) && Gem::BUNDLED_GEMS::SINCE[path] && !Gem::BUNDLED_GEMS::WARNED[path]
|
||||||
warn path + Gem::BUNDLED_GEMS.build_message(path)
|
warn path + Gem::BUNDLED_GEMS.build_message(path)
|
||||||
end
|
end
|
||||||
super
|
super
|
||||||
|
Loading…
x
Reference in New Issue
Block a user