Skip to content

Commit

Permalink
Reload I18n after adding to the load path to fix #5
Browse files Browse the repository at this point in the history
  • Loading branch information
stympy committed Apr 14, 2011
1 parent 5fefe82 commit 22a9476
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/faker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
require 'i18n'
I18n::Backend::Simple.send(:include, I18n::Backend::Fallbacks)
I18n.load_path += Dir[File.join(mydir, 'locales', '*.yml')]
I18n.reload!


module Faker
Expand Down

0 comments on commit 22a9476

Please sign in to comment.