Comments (3)
Yeah, asset pipeline messed up with previous Rails version. For now, force version to 1.x on your Gemfile.
Sorry about that! :(
Nando Vieira
http://nandovieira.com.br
On Oct 19, 2011, at 10:23 AM, Estevo Mascarenhas wrote:
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 #Rails::Application::Configuration:0x000001033b60d8 (NoMethodError)
from /Users/estevao/.rvm/gems/ruby-1.9.2-p180/gems/i18n-js-2.1.0/lib/i18n-js/railtie.rb:9:inblock in <class:Railtie>' 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:inrun' 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:ineach' 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:ininitialize!' 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<top (required)>' 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:inrequire' 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:ininstance_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:innew' 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:ineval' 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:infor' 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:instart' 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:inrun!' from /Users/estevao/.rvm/gems/ruby-1.9.2-p180/gems/thin-1.2.11/bin/thin:6:in
<top (required)>'
from /Users/estevao/.rvm/gems/ruby-1.9.2-p180/bin/thin:19:inload' 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! :)Reply to this email directly or view it on GitHub:
#65
from i18n-js.
Just released 2.1.1, which fixed this thing.
from i18n-js.
Thank you!
from i18n-js.
Related Issues (20)
- Feature Request: Have the I18nJS.listen call be lazy
- Migration guide does not discuss backends HOT 2
- Bug: HOT 1
- Bug: I18n.t is not a function & I18n is not defined HOT 1
- Bug: multiple locales dir in listen configuration require to specify full path, not relative
- Feature Request:
- Bug: scope and options should be read-only HOT 7
- Bug: `proc` rules should be cleared from exported JSON localization files HOT 1
- Bug: deep sorting for keys missed HOT 2
- Feature Request: Mechanism to specify explicit order of plugins HOT 2
- Bug: overwriting identical exported JSON localization files HOT 2
- Bug: Unable to resolve make-plural HOT 2
- Bug: i18n lint fails when using plugins HOT 3
- Bug: Lint Translations ignoring app config and translations config HOT 3
- Get currently used translation HOT 1
- Feature Request: Support `esmodule` HOT 1
- Bug: SyntaxError: Unexpected token 'export' HOT 4
- Bug: While trying to resolve module `make-plural` HOT 1
- Bug: i18n-js is not compatible with Vite HOT 2
- Bug: Failed to load resource node_modules/i18n-js: the server responded with a status of 404 (Not Found)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from i18n-js.