2016-08-22 14 views
0

私のプラグインが正常に動作し、ローカルに表示されますが、私はHerokuの上で私のアプリを押すと、プラグインのインデックスページが空であり、プラグインがありません...Redmineの:私はすべてを削除した

されている行方不明のプラグイン私の.gitignoreから、確かに、hereと私も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 with Redmine v2.5.1。

ありがとうございます!

答えて

0

その間、redmine_app_timesheetsフォルダが存在していたが、 'heroku run bash'を実行している間に空であると考えられるので、gitサブモジュールの問題に関連する可能性があることがわかりました。

だから私は2つのフォルダを削除し、使用してプラグインを再インストール:

git submodule add https://github.com/maxrossello/redmine_app__space.git plugins/redmine_app__space 
git submodule add https://github.com/maxrossello/redmine_app_timesheets.git plugins/redmine_app_timesheets 

プラグインは、今、私は地元のプラグインを削除失っているかもしれないものの構成だけでわからない、働いています。

関連する問題