0

Rubinius (2.1.0) 環境の gem リストで binding_of_caller を使用すると、サーバーの起動時に次のエラーが発生します。

NoMethodError at /
undefined method `caller_locations' on an instance of ActionController::RoutingError.

(スクリーンショット: https://www.dropbox.com/s/a8a7afzgwb5aq2k/Screen%20Shot%202015-01-13%20at%2010.58.36.png?dl=0?dl=1 )

Gemfile は次のとおりです。

group :development do
  gem 'spring'
  gem 'better_errors'
  gem 'binding_of_caller'
  gem 'quiet_assets'
end

これは binding_of_caller が原因で、削除するとすべてが正常に機能するためです。

rbx で binding_of_caller を引き続き使用する方法について何か考えがありますか、それとも削除する必要がありますか? ありがとう。

4

1 に答える 1

1

Rubinius はバージョン#caller_locationsからサポートしてい2.4.0ます。は2.1.0非常に古い (2013 年 10 月 18 日) ため、直接 にアップグレードすることをお勧めします2.4.1

于 2015-01-13T12:32:24.127 に答える