Comments (8)
@navidemad replicated thanks, working on a fix.
It is related to the new initializer generator and to
from route_translator.
14.0.1 released, sorry for the small inconvenience
from route_translator.
Hi!
Thanks for being part of the Route Translator Community.
Debugging Route Translator issues is a time consuming task, please use a web browser to fill out our Bug Report template and provide as many information as you can.
For this specific report, it would be much better to include a reproducible test case.
from route_translator.
Hello, firstly thanks for your gem it helps us a lot.
I got the same issue, we downgraded to < 14 for the moment.
I tried to make a reproducible case, but i didn't isolate the issue but it appears only in my CI, not when i'm running the test locally on my computer.
Run bin/rspec spec'
An error occurred while loading ./spec/components/back_link_component_spec.rb.
Failure/Error: require_relative "../config/environment"
NoMethodError:
undefined method `eager_load!' for RouteTranslator:Module
./vendor/bundle/ruby/3.2.0/gems/railties-7.0.7.2/lib/rails/application/finisher.rb:75:in `each'
./vendor/bundle/ruby/3.2.0/gems/railties-7.0.7.2/lib/rails/application/finisher.rb:75:in `block in <module:Finisher>'
./vendor/bundle/ruby/3.2.0/gems/railties-7.0.7.2/lib/rails/initializable.rb:32:in `instance_exec'
./vendor/bundle/ruby/3.2.0/gems/railties-7.0.7.2/lib/rails/initializable.rb:32:in `run'
./vendor/bundle/ruby/3.2.0/gems/railties-7.0.7.2/lib/rails/initializable.rb:61:in `block in run_initializers'
./vendor/bundle/ruby/3.2.0/gems/railties-7.0.7.2/lib/rails/initializable.rb:60:in `run_initializers'
./vendor/bundle/ruby/3.2.0/gems/railties-7.0.7.2/lib/rails/application.rb:372:in `initialize!'
./config/environment.rb:7:in `<top (required)>'
./spec/rails_helper.rb:5:in `require_relative'
./spec/rails_helper.rb:5:in `<top (required)>'
./spec/models/user_spec.rb:3:in `<top (required)>'
I do not have any matches for eager_load! in my project and neither in the gem when i opened it through bundle open route_translator
from route_translator.
I got the same issue, we downgraded to < 14 for the moment.
Does it work with < 14?
Ok. If it works on localhost but does not work on CI, there could be some issues with the bundled gems there
from route_translator.
I think I got the issue
from route_translator.
I got the same issue, we downgraded to < 14 for the moment.
Does it work with < 14?
Ok. If it works on localhost but does not work on CI, there could be some issues with the bundled gems there
Awesome, thanks for your quick reply.
Yes i confirm you, it happened only after we upgraded with your latest update.
from route_translator.
Thanks for the patch, i tried the main branch version, and it's works perfectly 💯
from route_translator.
Related Issues (20)
- disable_fallback not working when I18n.fallbacks is configured HOT 7
- Routes not found error after upgrading to Rails 6.0 from Rails 5.1 HOT 4
- Transfer ownership HOT 1
- Two routes for same locale HOT 1
- Unable to translate routes with custom param HOT 7
- Advice Request: route_translator & Accept-Language request header HOT 4
- Missing translated routes in development after routes_reloader.reload! HOT 6
- Require MFA to publish gems HOT 1
- Bump version rubygems for Rails 7 support HOT 1
- Feature request: custom translation for nested resources HOT 5
- How to translate with dynamic root url HOT 1
- RSpec: cannot call non-localized routes name HOT 4
- Optional route params not included in translated URL HOT 2
- Idea pitch: Generate only unique routes and use I18n.fallbacks to generate as little routes as needed HOT 1
- Question: "/" path locale always English HOT 7
- Issue with partial implementation of route_translator HOT 3
- locale path segment not added to translated route (multiple languages on the same host with host locale translation enabled) HOT 3
- Bug: en named route always generated ignoring config.available_locales HOT 2
- [Question] Translating scopes
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 route_translator.