2016-08-22 4 views
0

내 플러그인이 제대로 작동하고 로컬로 나타납니다,하지만 난 Heroku가 내 응용 프로그램을 밀어으로, ... 나는 모든 것을 삭제 한레드 마인 : 실종 플러그인

플러그인 인덱스 페이지는 비어 있고 어떤 플러그인이 존재하지 않습니다 내 에서, 제안 된대로 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). 

나는 종류 지금이야 이 문제를 해결하는 방법에 붙어있어 ...

레일즈 v3.2.17 레드 매인 v2.5.1.

감사합니다.

답변

0

그동안 redmine_app_timesheets 폴더가 있었지만 'heroku run bash'를 실행하는 동안 비어있는 것으로 생각하여 git submodules 문제와 관련이 있음을 발견했습니다. 내가 로컬 플러그인을 삭제 잃은 모른 무슨 구성 단지 확실하지

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 

플러그인 지금 노력하고 있습니다 :

그래서 나는 두 개의 폴더를 삭제하여 플러그인을 다시 설치.

관련 문제