summaryrefslogtreecommitdiff
path: root/devel/rubygem-gettext/files/extra::patch-lib_gettext_runtime_locale_path.rb
blob: 34cfbf135d6dea9b38c312cdf2c336fba91e8604 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- lib/gettext/runtime/locale_path.rb.orig	2011-09-07 00:13:32.000000000 -0700
+++ lib/gettext/runtime/locale_path.rb	2011-09-07 00:13:46.000000000 -0700
@@ -52,9 +52,6 @@
         default_path_rules += DEFAULT_RULES
         
         load_path = $LOAD_PATH
-        if defined? ::Gem
-          load_path += Gem.all_load_paths
-        end
         load_path.map!{|v| v.match(/(.*?)(\/lib)*?$/); $1}
         load_path.each {|path|
           default_path_rules += [