Exception: LoadError
Overview
for RubyGems without Bundler environment. If loading library is not part of the default gems and the bundled gems, warn it.
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from Exception
#as_json, json_create, #to_json
Instance Method Details
#message ⇒ Object
166 167 168 169 170 171 172 173 174 |
# File 'lib/bundled_gems.rb', line 166 def 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) end super end |