Currently, miniogre can only handle the generation of requirements for Python code. However, there has been interest from some Ruby devs in using miniogre.
Proposed solution
To build a consistent environment for Ruby projects, we can use Bundler, a gem that makes sure that the version of multiple gems in an environment are compatible.
To be able to use Bundler inside miniogre, we must:
[ ] Detect the presence of Ruby code
[ ] If Ruby is present, we must update the Dockerfile by adding lines that install Ruby, Gems, and Bundler
[ ] The prompt for requirement generation also needs to be updated to generate a list of Ruby packages (Gemfile) that need to be installed
[ ] Then, add an extra line in the Dockerfile that uses Bundler to install the Gemfile
[ ] Gemfile, like requirements.txt, must be saved in the ogre_dir folder
Problem
Currently, miniogre can only handle the generation of requirements for Python code. However, there has been interest from some Ruby devs in using miniogre.
Proposed solution
To build a consistent environment for Ruby projects, we can use Bundler, a gem that makes sure that the version of multiple gems in an environment are compatible.
To be able to use Bundler inside miniogre, we must:
ogre_dir
folder