Permalink
Cannot retrieve contributors at this time
19 lines (16 sloc)
388 Bytes
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
begin | |
require 'rubygems' | |
rescue LoadError => e | |
raise unless e.path == 'rubygems' | |
warn "`RubyGems' were not loaded." | |
end if defined?(Gem) | |
begin | |
require 'error_highlight' | |
rescue LoadError | |
warn "`error_highlight' was not loaded." | |
end if defined?(ErrorHighlight) | |
begin | |
require 'did_you_mean' | |
rescue LoadError | |
warn "`did_you_mean' was not loaded." | |
end if defined?(DidYouMean) |