railsチュートリアルでhello_app3というアプリケーションを作成したのですが、サーバーの立ち上げにおいて、ターミナルで以下のようなエラーが表示されてしまいます。
原因と解決策を教えて頂きたいです。よろしくお願いします。
gemfile↓
source 'https://rubygems.org' gem 'rails', '5.1.6' gem 'puma', '3.9.1' gem 'sass-rails', '5.0.6' gem 'uglifier', '3.2.0' gem 'coffee-rails', '4.2.2' gem 'jquery-rails', '4.3.1' gem 'turbolinks', '5.0.1' gem 'jbuilder', '2.6.4' group :development, :test do gem 'sqlite3', '1.3.13' gem 'byebug', '9.0.6', platform: :mri end group :development do gem 'web-console', '3.5.1' gem 'listen', '3.1.5' gem 'spring', '2.0.2' gem 'spring-watcher-listen', '2.0.1' end
ターミナル($rails s)↓
(base) KAZUKInoMacBook-Pro:hello_app kazukiohyama$ rails s /Users/kazukiohyama/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0/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://localhost:3000 => Run `rails server -h` for more startup options => Ctrl-C to shutdown server /Users/kazukiohyama/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Fixnum is deprecated /Users/kazukiohyama/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0/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): 8212: from bin/rails:4:in `<main>' 8211: from bin/rails:4:in `require' 8210: from /Users/kazukiohyama/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0/gems/railties-4.2.2/lib/rails/commands.rb:17:in `<top (required)>' 8209: from /Users/kazukiohyama/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0/gems/railties-4.2.2/lib/rails/commands/commands_tasks.rb:39:in `run_command!' 8208: from /Users/kazukiohyama/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0/gems/railties-4.2.2/lib/rails/commands/commands_tasks.rb:75:in `server' 8207: from /Users/kazukiohyama/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0/gems/railties-4.2.2/lib/rails/commands/commands_tasks.rb:75:in `tap' 8206: from /Users/kazukiohyama/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0/gems/railties-4.2.2/lib/rails/commands/commands_tasks.rb:80:in `block in server' 8205: from /Users/kazukiohyama/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0/gems/railties-4.2.2/lib/rails/commands/server.rb:78:in `start' ... 8200 levels... 4: from /Users/kazukiohyama/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>' 3: from /Users/kazukiohyama/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>' 2: from /Users/kazukiohyama/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>' 1: from /Users/kazukiohyama/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>' /Users/kazukiohyama/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0/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
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。