プロジェクト

全般

プロフィール

機能 #40

高橋 徹 さんが約9年前に更新

Redmine 3.0にglossaryプラグイン(用語集)を入れたらエラーで動かないので、原因を調査し、動作するための修正を見出す。 

 終了条件:動作するための修正を見出す。動作するglossaryプラグインを見つける。あきらめる。 

 エラー再現手順 

 * 次のリポジトリを@/var/lib/redmine/plugins/@に展開 次のリポジトリを@/var/lib/redmine/plugins/に展開 
 https://github.com/maxrossello/redmine_glossary.git 
 * Unicorn再起動→起動失敗 

 エラー内容 

 * @/var/lib/redmine/log/unicorn.stdout.log@より 
 <pre> 
 An error occurred while loading the routes definition of redmine_glossary plugin 
  (/var/lib/redmine-3.0.0/plugins/redmine_glossary/config/routes.rb): You should 
  not use the `match` method in your router without specifying an HTTP method. 
 If you want to expose your action to both GET and POST, add `via: [:get, :post]` option. 
 If you want to expose your action to GET, use `get` in the router: 
   Instead of: match "controller#action" 
 </pre> 


戻る