You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just did a gem update and then attempted the example from the wiki and get the following error: Below is a list of gems installed.
irb(main):001:0> require 'date_diff'
=> true
irb(main):002:0> Date.diff(Date.parse('2000-01-01'), Date.parse('2013-06-19'))
I18n::InvalidLocaleData: can not load translations from /usr/local/lib/ruby/gems/2.2.0/gems/activesupport-4.2.0/lib/active_support/locale/en.yml: #<NoMethodError: undefined method `load_file' for Psych:Module>
from /usr/local/lib/ruby/gems/2.2.0/gems/i18n-0.7.0/lib/i18n/backend/base.rb:184:in `rescue in load_yml'
from /usr/local/lib/ruby/gems/2.2.0/gems/i18n-0.7.0/lib/i18n/backend/base.rb:181:in `load_yml'
from /usr/local/lib/ruby/gems/2.2.0/gems/i18n-0.7.0/lib/i18n/backend/base.rb:165:in `load_file'
from /usr/local/lib/ruby/gems/2.2.0/gems/i18n-0.7.0/lib/i18n/backend/base.rb:15:in `block in load_translations'
from /usr/local/lib/ruby/gems/2.2.0/gems/i18n-0.7.0/lib/i18n/backend/base.rb:15:in `each'
from /usr/local/lib/ruby/gems/2.2.0/gems/i18n-0.7.0/lib/i18n/backend/base.rb:15:in `load_translations'
from /usr/local/lib/ruby/gems/2.2.0/gems/i18n-0.7.0/lib/i18n/backend/simple.rb:57:in `init_translations'
from /usr/local/lib/ruby/gems/2.2.0/gems/i18n-0.7.0/lib/i18n/backend/simple.rb:40:in `available_locales'
from /usr/local/lib/ruby/gems/2.2.0/gems/i18n-0.7.0/lib/i18n/config.rb:43:in `available_locales'
from /usr/local/lib/ruby/gems/2.2.0/gems/i18n-0.7.0/lib/i18n/config.rb:49:in `available_locales_set'
from /usr/local/lib/ruby/gems/2.2.0/gems/i18n-0.7.0/lib/i18n.rb:278:in `locale_available?'
from /usr/local/lib/ruby/gems/2.2.0/gems/i18n-0.7.0/lib/i18n.rb:284:in `enforce_available_locales!'
from /usr/local/lib/ruby/gems/2.2.0/gems/i18n-0.7.0/lib/i18n.rb:151:in `translate'
from /usr/local/lib/ruby/gems/2.2.0/gems/date_diff-0.0.4/lib/date_diff.rb:41:in `block in diff'
from /usr/local/lib/ruby/gems/2.2.0/gems/date_diff-0.0.4/lib/date_diff.rb:39:in `each'
from /usr/local/lib/ruby/gems/2.2.0/gems/date_diff-0.0.4/lib/date_diff.rb:39:in `diff'
from (irb):2
from /usr/local/bin/irb:11:in `<main>'irb(main):003:0>
Just did a gem update and then attempted the example from the wiki and get the following error: Below is a list of gems installed.
The text was updated successfully, but these errors were encountered: