New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How is ExtensionLoader supposed to work? #421
Comments
I haven't worked on the ExtensionLoader but I'll try to take a look and give some feedback |
Without diving in too deep, I'll give you some history @ronald |
Thx, Jim. Do you have one working example of radiant (1.1.4 or 2.alpha) + engine based extension gem? On Rubygems this one is most popular: Second one is https://github.com/squaretalent/radiant-shop-extension/tree/v0.11.6 3rd https://rubygems.org/gems/radiant-event_calendar-extension btw. did u see this one https://github.com/saturnflyer/radiant-snippets-extension/issues/1 ? |
source is here https://github.com/spanner/radiant-reader-extension I'll see what I can find for other extensions |
Hi Ronald, Jim, Sorry to not reply here earlier... .. but to answer your question Ronald; 1.1.4 does not support extensions as engines, as that is still on rails 2.3. To the best of my knowledge, the master branch is not ready to support extensions yet either. |
I'm currently trying to run radiantcms on rails 6 beta.
Since i have no clue how ExtensionLoader is supposed to work, I fiddled with:
[main] application.rb: glob vendor/extensions and add paths to config.autoload_paths
[radiant] engine.rb:
I'm sure this is not the way EngineLoader is supposed to work.
To be more specfic:
What is Radiant::ExtensionLoader#initializer?
Where is Radiant::ExtensionLoader#gems?
Feedback highly appreciated, @jomz
The text was updated successfully, but these errors were encountered: