Exception: LoadError
- Inherits:
-
Exception
- Object
- Exception
- LoadError
- Defined in:
- lib/bundled_gems.rb
Overview
for RubyGems without Bundler environment. If loading library is not part of the default gems and the bundled gems, warn it.
Instance Method Summary collapse
-
#message ⇒ Object
:nodoc:.
Instance Method Details
#message ⇒ Object
:nodoc:
239 240 241 242 243 244 245 246 247 |
# File 'lib/bundled_gems.rb', line 239 def # :nodoc: return super unless path name = path.tr("/", "-") if !defined?(Bundler) && Gem::BUNDLED_GEMS::SINCE[name] && !Gem::BUNDLED_GEMS::WARNED[name] warn name + Gem::BUNDLED_GEMS.(name), uplevel: Gem::BUNDLED_GEMS.uplevel end super end |