I have an interesting use case for Rails and I would greatly appreciate
this community's opinion on the matter.
I'm curious if it's possible to build a Rails app that can accomplish the
following:
Environment stipulations
-------------------------------------------------------------
* Must run on the JVM so JRuby.
* The app will not have internet access in production. (We still have build
servers that can package gems)
Ideal functionality
-------------------------------------------------------------
* The main Rails app should be able to support a variable amount of engines.
* I have played with this and it can be done by tweaking the Gemfile to
load the engines.
* Downside is we now have to disregard the Gemfile.lock to accommodate
additional engines being added at any time.
* Engines should be drop-in ready.
* The engines should come packaged with all the gems they need to run.
* There should be no additional installing steps after dropping in an
engine.
* That means no 'bundle install' or anything else.
So my major concern at the moment is with the gems. When I drop in an
engine and restart the server is there a way bundler can pick up the
packaged gems within the engine without any install step? Maybe playing
with the GEM_PATH or something? Anyway I would like to hear your opinions
and see if we can figure something out. Thanks for checking this out!
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/b3cacb4f-88b2-434c-8973-f9701ac25c2f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.