Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Fix RAILS_GROUPS and remove rails_12factor

Cyril Rohr96ed2a710a55
diff --git a/Dockerfile b/Dockerfile
index ea75cf58d85..6fb077bf9a8 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -27,7 +27,7 @@ ENV RAILS_SERVE_STATIC_FILES=1
ENV HEROKU=true
ENV RAILS_ENV=production
ENV RAILS_CACHE_STORE=memcache
-ENV RAILS_GROUPS="production docker opf_plugins"
+ENV RAILS_GROUPS=production,docker,opf_plugins
ENV RAILS_LOG_TO_STDOUT=1
ENV OPENPROJECT_INSTALLATION__TYPE=docker
# Valid values are: standard,bim
diff --git a/Gemfile b/Gemfile
index 445157734ce..8299e8ed01c 100644
--- a/Gemfile
+++ b/Gemfile
@@ -323,8 +323,7 @@ group :docker, optional: true do
gem 'passenger', '~> 6.0.1'
# Used to easily precompile assets
- gem 'newrelic_rpm', '~> 6.9.0.363', require: !!ENV['HEROKU']
- gem 'rails_12factor', require: !!ENV['HEROKU']
+ gem 'newrelic_rpm', '~> 6.9.0.363'
end
# Load Gemfile.local, Gemfile.plugins, plugins', and custom Gemfiles