SQL support for rom-rb.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install rom-sql
In order to have reproducible environment for development, Docker can be used. Provided it's installed, in order to start developing, one can simply execute:
docker-compose run --rm gem "bash"
If this is the first time this command is executed, it will take some time to set up the dependencies and build the rom-sql container. This should happen only on first execution and in case dependency images are removed.
After dependencies are set container will be started in a bash shell.
In order to test the changes, execute:
docker-compose build gem docker-compose run --rm gem 'rspec'
Stopping the dependencies
In order to stop the dependencies, execute:
docker-compose down --remove-orphans --volumes