-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RAILS_ENV=development supposed to work? #298
Comments
its because of this block in Gemfile:
these gems are not installed in the image and can't be installed by |
I don't think it's recommended to run Redmine in "development" mode (which is why we haven't explicitly supported doing so). |
i wanna do this to develop a plugin and to test+fix it against the various major release trees of Redmine also, with my self-cooked image, I found the ability quite useful when investigating problems with production instances: just flip RAILS_ENV and get to see much more ... on own risk, of course. |
Ah, so the best answer might be a really short |
better: and background: I run my instances with Kubernetes and when some user runs into a problem the most easy and quick thing to do is this helped me finding many problems and also gives logs with enough detail for useful bug reports at the same time, while switching back to "production" is just as easy. In my experience its almost always problems coming from instance specific settings and data - cumbersome to reproduce with stock setup. afaik your current Dockerfile is just missing a few dependencies in Gemfile to make this work |
has anyone tried this? I wanna use it for developing a plugin.
so I wrote me a
container-compose.yaml
file that puts the plugins' source tree right into/usr/src/redmine/plugins/myplugin
of the container (plus a persistent sqlite file for convenience) and this works satisfactory:for better workability I want to run with
RAILS_ENV: development
but it fails to start with:the line
LoadError: cannot load such file -- listen
I do not comprehend. It somehow looks as something is just missing for the development mode.A clue anyone?
The text was updated successfully, but these errors were encountered: