OpenVZ Web Panel:undefined method `pluralize'
- CentOS 6
- OpenVZ Web Panel 2.0
■事象
物理サーバ>localhsotを表示すると「We're sorry, but something went wrong.」が表示される
##### ログの確認 # less /opt/ovz-web-panel/log/production.log [...] Internal error: undefined method `pluralize' for #<Object:0xb6e05b08> Rendering /opt/ovz-web-panel/public/500.html (500 Internal Server Error)
■対処
パッチが出てる。
http://code.google.com/p/ovz-web-panel/issues/detail?id=248
##### patch適用 # wget "http://ovz-web-panel.googlecode.com/issues/attachment?aid=2480008000&name=patch_fix_iss248&token=9kWOQ2TzInjoEqLMxi-owMw-QW0%3A1331738719768" -O patch_fix_iss248 # cd /opt/ovz-web-panel/vendor/rails/actionpack/lib/action_view/helpers # patch number_helper.rb patch_fix_iss248 ###### サービス再起動 # /etc/init.d/owp restart
なおった。