nofxx/i18n_sync — Issue #2: i18n_sync.rb:99:in `read_file': private method `load' called for YAML:Module
Author: phallstrom
Created: 2011-10-19 23:57:24+00:00
State: open

Just giving i18n_sync a spin and on first run get the following error. I'll admit to not looking into it, but wanted to get this posted in order to remind me or see if you've got any insights.

$ i18s config/locales/en.yml
/Users/philip/.rvm/gems/ruby-1.8.7-p352@ni/gems/i18n_sync-0.3.0/bin/../lib/i18n_sync.rb:99:in `read_file':
private method `load' called for YAML:Module (NoMethodError)
from /Users/philip/.rvm/gems/ruby-1.8.7-p352@ni/gems/i18n_sync-0.3.0/bin/../lib/i18n_sync.rb:54:in `initialize'
from /Users/philip/.rvm/gems/ruby-1.8.7-p352@ni/gems/i18n_sync-0.3.0/bin/../lib/i18n_sync.rb:29:in `new'
from /Users/philip/.rvm/gems/ruby-1.8.7-p352@ni/gems/i18n_sync-0.3.0/bin/../lib/i18n_sync.rb:29:in `work_on'
from /Users/philip/.rvm/gems/ruby-1.8.7-p352@ni/gems/i18n_sync-0.3.0/bin/i18s:55
from /Users/philip/.rvm/gems/ruby-1.8.7-p352@ni/bin/i18s:19:in `load'
from /Users/philip/.rvm/gems/ruby-1.8.7-p352@ni/bin/i18s:19

Relevant RVM info...

system:
uname: "Darwin Philip.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386 i386"
bash: "/bin/bash => GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin10.0)"
zsh: "/bin/zsh => zsh 4.3.9 (i386-apple-darwin10.0)"

rvm:
version: "rvm 1.7.0 by Wayne E. Seguin (wayneeseguin@gmail.com) [https://rvm.beginrescueend.com/]"

ruby:
interpreter: "ruby"
version: "1.8.7"
date: "2011-06-30"
platform: "x86_64-darwin10.8.0"
patchlevel: "2011-06-30 patchlevel 352"
full_version: "ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-darwin10.8.0]"

Relevant gems...

i18n (0.5.0)
i18n_sync (0.3.0)
ya2yaml (0.30)