【发布时间】:2016-12-29 15:05:48
【问题描述】:
我的插件工作正常并出现在本地,但是当我在 Heroku 上推送我的应用时,插件索引页面是空的并且没有插件...
按照here 的建议,我确实已经从.gitignore 中删除了所有内容,并且我还运行了heroku run rake redmine:plugins:migrate。
我收到以下折旧警告,但我不知道它是否来自这里:
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /app/Rakefile:7)
Plugins in vendor/plugins (/app/vendor/plugins) are no longer allowed. Please, put your Redmine plugins in the `plugins` directory at the root of your Redmine directory (/app/plugins).
但是,我的插件已经包含在“插件”目录中,我现在有点不知道如何解决这个问题......
Rails v3.2.17 与 Redmine v2.5.1。
谢谢!
【问题讨论】:
标签: ruby-on-rails heroku plugins redmine