前提・実現したいこと
以前まで何も問題なく動作していたのですが、新たにrails sを試みると下記のエラーメッセージが出ます。
ec2自体に設定をしてしまったのかと思い、アカウントを再取得してみましたが、またこのようなエラーが出てきてしまいます。
どのような対処で解決できるのでしょうか。また、何が原因でこのようなメッセージがでるようになったのでしょうか。
ご教示頂けますと幸いです。
発生している問題・エラーメッセージ
ec2-user:~/environment/hello_app $ rails s -b $IP -p $PORT /home/ec2-user/.rvm/gems/ruby-2.6.3/gems/activesupport-4.2.2/lib/active_support/core_ext/object/duplicable.rb:85: warning: BigDecimal.new is deprecated; use BigDecimal() method instead. => Booting WEBrick => Rails 4.2.2 application starting in development on http://127.0.0.1:8080 => Run `rails server -h` for more startup options => Ctrl-C to shutdown server /home/ec2-user/.rvm/gems/ruby-2.6.3/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Fixnum is deprecated /home/ec2-user/.rvm/gems/ruby-2.6.3/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Bignum is deprecated Exiting Traceback (most recent call last): 6655: from bin/rails:3:in `<main>' 6654: from bin/rails:3:in `load' 6653: from /home/ec2-user/environment/hello_app/bin/spring:15:in `<top (required)>' 6652: from /home/ec2-user/environment/hello_app/bin/spring:15:in `require' 6651: from /home/ec2-user/.rvm/gems/ruby-2.6.3/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `<top (required)>' 6650: from /home/ec2-user/.rvm/gems/ruby-2.6.3/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `load' 6649: from /home/ec2-user/.rvm/gems/ruby-2.6.3/gems/spring-2.1.0/bin/spring:49:in `<top (required)>' 6648: from /home/ec2-user/.rvm/gems/ruby-2.6.3/gems/spring-2.1.0/lib/spring/client.rb:30:in `run' ... 6643 levels... 4: from /home/ec2-user/.rvm/gems/ruby-2.6.3/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>' 3: from /home/ec2-user/.rvm/gems/ruby-2.6.3/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>' 2: from /home/ec2-user/.rvm/gems/ruby-2.6.3/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>' 1: from /home/ec2-user/.rvm/gems/ruby-2.6.3/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>' /home/ec2-user/.rvm/gems/ruby-2.6.3/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>': stack level too deep (SystemStackError)
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/07/22 23:12