Closed carlobeltrame closed 4 years ago
since it's not really possible to extend existing $PATH variable by docker compose config, I decided to just create a symlink to /opt/app-root/bin. This path is already part of $PATH.
run docker-compose build rails rails-test to update your dev images and apply those changes
It is not currently possible to open a rails console quickly as follows:
The reason is that rails is not on $PATH until
~/.bashrc
runs. Could we maybe add /opt/app-root/src/hitobito/bin to PATH in e.g. the Dockerfile or docker-compose.yml? (and probably the same for unsetting the APP_ROOT env variable)Workaround for now is to open bash and then open the rails console: