迁移后,无法在AWS Cloud9中运行Ruby on Rails

时间:2019-06-28 13:22:42

标签: ruby-on-rails

我在Cloud9中使用了Ruby on Rails, 然后我将Cloud9迁移到了AWS Cloud9。 但是,无法在AWS Cloud9的轨道上运行ruby:

/home/ubuntu/.rvm/gems/ruby-2.6.3/gems/activesupport-4.2.5/lib/active_support/core_ext/object/duplicable.rb:85: warning: BigDecimal.new is deprecated; use BigDecimal() method instead.
=> Booting WEBrick
=> Rails 4.2.5 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
/home/ubuntu/.rvm/gems/ruby-2.6.3/gems/activesupport-4.2.5/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Fixnum is deprecated
/home/ubuntu/.rvm/gems/ruby-2.6.3/gems/activesupport-4.2.5/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Bignum is deprecated
Exiting
Traceback (most recent call last):
        7967: from bin/rails:3:in `<main>'
        7966: from bin/rails:3:in `load'
        7965: from /home/ubuntu/environment/bin/spring:13:in `<top (required)>'
        7964: from /home/ubuntu/environment/bin/spring:13:in `require'
        7963: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `<top (required)>'
        7962: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `load'
        7961: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/spring-2.1.0/bin/spring:49:in `<top (required)>'
        7960: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/spring-2.1.0/lib/spring/client.rb:30:in `run'
         ... 7955 levels...
           4: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/activesupport-4.2.5/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
           3: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/activesupport-4.2.5/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
           2: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/activesupport-4.2.5/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
           1: from /home/ubuntu/.rvm/gems/ruby-2.6.3/gems/activesupport-4.2.5/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
/home/ubuntu/.rvm/gems/ruby-2.6.3/gems/activesupport-4.2.5/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>': stack level too deep (SystemStackError)

0 个答案:

没有答案