diff options
author | Will Read <will.read@gmail.com> | 2012-04-01 20:25:25 -0700 |
---|---|---|
committer | Will Read <will.read@gmail.com> | 2012-04-01 20:25:25 -0700 |
commit | e96c2acce3cdccc540419e21960e5c0aa18b5548 (patch) | |
tree | 77825cab6f8b794f70535cae01bf2bf8c3251d38 | |
parent | 240f002759809c7c7ca368b04205f3f3de0e8592 (diff) | |
download | coderay-e96c2acce3cdccc540419e21960e5c0aa18b5548.tar.gz |
Removing redundant LoadError raise. File.exists? seems to have problems when included in other gems and returns false when files are indeed present.
-rw-r--r-- | lib/coderay/helpers/plugin.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/coderay/helpers/plugin.rb b/lib/coderay/helpers/plugin.rb index 06c1233..137c1ab 100644 --- a/lib/coderay/helpers/plugin.rb +++ b/lib/coderay/helpers/plugin.rb @@ -176,7 +176,6 @@ module CodeRay id = validate_id(plugin_id) path = path_to id begin - raise LoadError, "#{path} not found" unless File.exist? path require path rescue LoadError => boom if @plugin_map_loaded |