redmine deploy on heroku cedar

冷暖自知 提交于 2019-12-05 01:05:09

I was experimenting the same issue.

The problem comes from here:

https://github.com/redmine/redmine/commit/6fca0289055fae8f066eeb493a590b35e6f26cc0

Looks like the warning for new plugins is not just a warning, it exits the app. It doesn't matter if you don't have any plugins in app/vendor/plugins, because heroku is adding them when you push (in my case it was adding rails_log_stdout, rails31_enable_runtime_asset_compilation and rails3_serve_static_assets).

The easiest fix for now is to comment or remove the "exit 1" line in config/environment.rb. Looks like everything is working fine. I guess this warning&exit is just some kind of hard deprecation warning, but the code can still run with these plugins.

I've written post in my blog about how to deploy redmine 2 to heroku step by step: how to deploy redmine to heroku

   gem 'taps'  #Please add to Gemfile. 
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!