Created
July 8, 2009 01:21
-
-
Save bloopletech/142495 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#Whack this after require boot.rb in your environment.rb file to help debug problems with the I18n load path. | |
module I18n | |
class << self | |
alias_method :orig_load_path, :load_path | |
def load_path | |
out = orig_load_path | |
puts "I18n.load_path called in #{caller[0..3].inspect}, returning #{out.inspect}" | |
out | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment