chore: clean Gemfile management in voca dir
We have two layers of containers for deployed decidim:
-
rpc: the node that interfaces with our strapi backend -
cp: the node that runs the decidim
To be able to scale horizontally, we need to have the same Gemfile.lock and Gemfile configuration in all the nodes of all these layers.
Before, we had to manually copy Gemfile.lock from rpc to cp layer because mapping of file is not supported to jelastic.
This PR:
- Move
Gemfiletovoca/Gemfile - Move
Gemfile.locktovoca/Gemfile.lock - Set bundle
gemfileoption to$ROOT/voca/gemfile - Set bundle
pathoption to absolute path$ROOT/vendor
This way: bundle install picks Gemfile from voca/Gemfile, installs in $ROOT/vendor and refer lockfile in voca/Gemfile.lock.