fnando/i18n-js — Issue #65: method missing "assets"
Author: estevaoam
Created: 2011-10-19 12:23:18+00:00
State: open

I'm trying to run i18n-js 2.1.0 (last version) with Rails 3.0.9 but I'd this error:

/Users/estevao/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.9/lib/rails/railtie/configuration.rb:77:in `method_missing': undefined method `assets' for # (NoMethodError)
from /Users/estevao/.rvm/gems/ruby-1.9.2-p180/gems/i18n-js-2.1.0/lib/i18n-js/railtie.rb:9:in `block in '
from /Users/estevao/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.9/lib/rails/initializable.rb:25:in `instance_exec'
from /Users/estevao/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.9/lib/rails/initializable.rb:25:in `run'
from /Users/estevao/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.9/lib/rails/initializable.rb:50:in `block in run_initializers'
from /Users/estevao/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.9/lib/rails/initializable.rb:49:in `each'
from /Users/estevao/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.9/lib/rails/initializable.rb:49:in `run_initializers'
from /Users/estevao/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.9/lib/rails/application.rb:134:in `initialize!'
from /Users/estevao/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.9/lib/rails/application.rb:77:in `method_missing'
from /Users/estevao/Projects/Ledface/config/environment.rb:7:in `'
from /Users/estevao/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/estevao/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/estevao/Projects/Ledface/config.ru:3:in `block in

'
from /Users/estevao/.rvm/gems/ruby-1.9.2-p180/gems/rack-1.2.4/lib/rack/builder.rb:46:in `instance_eval'
from /Users/estevao/.rvm/gems/ruby-1.9.2-p180/gems/rack-1.2.4/lib/rack/builder.rb:46:in `initialize'
from /Users/estevao/Projects/Ledface/config.ru:1:in `new'
from /Users/estevao/Projects/Ledface/config.ru:1:in `

'
from /Users/estevao/.rvm/gems/ruby-1.9.2-p180/gems/thin-1.2.11/lib/rack/adapter/loader.rb:36:in `eval'
from /Users/estevao/.rvm/gems/ruby-1.9.2-p180/gems/thin-1.2.11/lib/rack/adapter/loader.rb:36:in `load'
from /Users/estevao/.rvm/gems/ruby-1.9.2-p180/gems/thin-1.2.11/lib/rack/adapter/loader.rb:45:in `for'
from /Users/estevao/.rvm/gems/ruby-1.9.2-p180/gems/thin-1.2.11/lib/thin/controllers/controller.rb:169:in `load_adapter'
from /Users/estevao/.rvm/gems/ruby-1.9.2-p180/gems/thin-1.2.11/lib/thin/controllers/controller.rb:73:in `start'
from /Users/estevao/.rvm/gems/ruby-1.9.2-p180/gems/thin-1.2.11/lib/thin/runner.rb:185:in `run_command'
from /Users/estevao/.rvm/gems/ruby-1.9.2-p180/gems/thin-1.2.11/lib/thin/runner.rb:151:in `run!'
from /Users/estevao/.rvm/gems/ruby-1.9.2-p180/gems/thin-1.2.11/bin/thin:6:in `'
from /Users/estevao/.rvm/gems/ruby-1.9.2-p180/bin/thin:19:in `load'
from /Users/estevao/.rvm/gems/ruby-1.9.2-p180/bin/thin:19:in `

'

What could I do about it?
And btw thanks, awesome gem! :)