3

mailcatcher を起動するたびに、「既に定数が初期化されています」という警告が表示されます。誰でも問題を解決する方法をアドバイスできますか? ありがとう。以下を更新します。

/Users/james/.rvm/gems/ruby-2.1.5/extensions/x86_64-darwin-13/2.1.0/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::BASE
/Users/james/.rvm/gems/ruby-2.1.5/extensions/x86_64-darwin-13/2.1.0/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::EXCEPTION_ALL
/Users/james/.rvm/gems/ruby-2.1.5/extensions/x86_64-darwin-13/2.1.0/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::EXCEPTION_NaN
/Users/james/.rvm/gems/ruby-2.1.5/extensions/x86_64-darwin-13/2.1.0/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::EXCEPTION_INFINITY
/Users/james/.rvm/gems/ruby-2.1.5/extensions/x86_64-darwin-13/2.1.0/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::EXCEPTION_UNDERFLOW
/Users/james/.rvm/gems/ruby-2.1.5/extensions/x86_64-darwin-13/2.1.0/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::EXCEPTION_OVERFLOW
/Users/james/.rvm/gems/ruby-2.1.5/extensions/x86_64-darwin-13/2.1.0/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::EXCEPTION_ZERODIVIDE
/Users/james/.rvm/gems/ruby-2.1.5/extensions/x86_64-darwin-13/2.1.0/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::ROUND_MODE
/Users/james/.rvm/gems/ruby-2.1.5/extensions/x86_64-darwin-13/2.1.0/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::ROUND_UP
/Users/james/.rvm/gems/ruby-2.1.5/extensions/x86_64-darwin-13/2.1.0/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::ROUND_DOWN
/Users/james/.rvm/gems/ruby-2.1.5/extensions/x86_64-darwin-13/2.1.0/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::ROUND_HALF_UP
/Users/james/.rvm/gems/ruby-2.1.5/extensions/x86_64-darwin-13/2.1.0/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::ROUND_HALF_DOWN
/Users/james/.rvm/gems/ruby-2.1.5/extensions/x86_64-darwin-13/2.1.0/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::ROUND_CEILING
/Users/james/.rvm/gems/ruby-2.1.5/extensions/x86_64-darwin-13/2.1.0/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::ROUND_FLOOR
/Users/james/.rvm/gems/ruby-2.1.5/extensions/x86_64-darwin-13/2.1.0/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::ROUND_HALF_EVEN
/Users/james/.rvm/gems/ruby-2.1.5/extensions/x86_64-darwin-13/2.1.0/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::SIGN_NaN
/Users/james/.rvm/gems/ruby-2.1.5/extensions/x86_64-darwin-13/2.1.0/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::SIGN_POSITIVE_ZERO
/Users/james/.rvm/gems/ruby-2.1.5/extensions/x86_64-darwin-13/2.1.0/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::SIGN_NEGATIVE_ZERO
/Users/james/.rvm/gems/ruby-2.1.5/extensions/x86_64-darwin-13/2.1.0/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::SIGN_POSITIVE_FINITE
/Users/james/.rvm/gems/ruby-2.1.5/extensions/x86_64-darwin-13/2.1.0/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::SIGN_NEGATIVE_FINITE
/Users/james/.rvm/gems/ruby-2.1.5/extensions/x86_64-darwin-13/2.1.0/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::SIGN_POSITIVE_INFINITE
/Users/james/.rvm/gems/ruby-2.1.5/extensions/x86_64-darwin-13/2.1.0/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::SIGN_NEGATIVE_INFINITE
/Users/james/.rvm/gems/ruby-2.1.5/extensions/x86_64-darwin-13/2.1.0/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::INFINITY
/Users/james/.rvm/gems/ruby-2.1.5/extensions/x86_64-darwin-13/2.1.0/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::NAN

更新:私は、変更はuninstalled gem bigdecimalありinstalled gem bigdecimalません。その後、指定しましたがgem 'bigdecimal', ~> 1.1、まだ変更はありません。このエラーの検索はあまり行われていません。Ruby 2.1.5 と Rails 4.2.1 を実行しています。

4

1 に答える 1