This project is archived and is in readonly mode.
in versions 2.3.X Configuration/Initialization problem when using config/environments/{xxx}.rb and config.plugins
-
Elias Baixas
the solution offered in the Ticket is wrong (just tried it :P), when I find some other solution, I'll post it.
-
Elias Baixas
Sorry once again: the solution offered was indeed right (I had other troubles with my plugins).
-
Xavier Noria
Would be nice to explain why the ticket is invalid.
-
Anuj Dutta
@Xavier - I thought that was self-explanatory since the person who added the ticket realised the error was due to some other issues with the plugin.
-
Xavier Noria
@Anuj, oh, Elias said in the last comment that the solution is right indeed. The issue with plugins explained why he tought it was wrong in the first comment :).
2-3-stable is mostly frozen anyway, only security fixes and the-universe-is-gonna-collide bug fixes.
I guess the underlying issue is that Rails does not provide a way to configure plugins per environment. This could be perhaps be converted to a feature request for master.
-
Anuj Dutta
@Xavier: Gotcha! Sorry, I should pay more attention before wielding invalid ticket. But would Bundler not solve the same issue.
-
Xavier Noria
@Anuj, indeed Bundler provides that for gems, but not for plugins.
-
Anuj Dutta
- State changed from invalid to open
- Assigned user set to Anuj Dutta
@Xavier: Yeah, true.
I will mark this ticket as open and assign it to myself and explore the possibilities with using bundler and update the ticket accordingly which will result in a resolution either way.
Apologies again for acting quickly before thinking.
-
Xavier Noria
Excellent :).