lib/language_cards.rb in language_cards-0.0.1 vs lib/language_cards.rb in language_cards-0.0.2
- old
+ new
@@ -29,10 +29,10 @@
CLI = HighLine.new
JOIN = " : "
SUBMENUWIDTH = 60
- ::I18n.load_path = Dir[File.join 'locales', '*.yml']
+ ::I18n.load_path = Dir[File.join(File.expand_path(File.join('..','..'), __FILE__), 'locales', '*.yml')]
def self.start
LanguageCards.new.start
end
end