初めて質問させて頂きます。
###前提・実現したいこと
新しくアプリケーションを作ろうと思っています。
ターミナルでRailsサーバーを立ち上げようとしたところ、
($ bundle exec rails serverでRailsプロジェクトを起動したところ、)
以下の(エラー?)メッセージが発生しました。
僕の推測だとlocal host port 3000に接続するのが拒否されているからだと思っています。
###発生している問題・エラーメッセージ
$ bundle exec rails server => Booting WEBrick => Rails 4.1.1 application starting in development on http://0.0.0.0:3000 => Run `rails server -h` for more startup options => Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0.0.1 (--binding option) => Ctrl-C to shutdown server /Users/Ryosuke/Desktop/workspace/tweet_app/vendor/bundle/ruby/2.4.0/gems/activesupport-4.1.1/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Fixnum is deprecated /Users/Ryosuke/Desktop/workspace/tweet_app/vendor/bundle/ruby/2.4.0/gems/activesupport-4.1.1/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Bignum is deprecated Exiting /Users/Ryosuke/Desktop/workspace/tweet_app/vendor/bundle/ruby/2.4.0/gems/activesupport-4.1.1/lib/active_support/core_ext/numeric/conversions.rb:125:in `block (2 levels) in <class:Numeric>': stack level too deep (SystemStackError) from /Users/Ryosuke/Desktop/workspace/tweet_app/vendor/bundle/ruby/2.4.0/gems/activesupport-4.1.1/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>' from /Users/Ryosuke/Desktop/workspace/tweet_app/vendor/bundle/ruby/2.4.0/gems/activesupport-4.1.1/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>' from /Users/Ryosuke/Desktop/workspace/tweet_app/vendor/bundle/ruby/2.4.0/gems/activesupport-4.1.1/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>' from /Users/Ryosuke/Desktop/workspace/tweet_app/vendor/bundle/ruby/2.4.0/gems/activesupport-4.1.1/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>' from /Users/Ryosuke/Desktop/workspace/tweet_app/vendor/bundle/ruby/2.4.0/gems/activesupport-4.1.1/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>' from /Users/Ryosuke/Desktop/workspace/tweet_app/vendor/bundle/ruby/2.4.0/gems/activesupport-4.1.1/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>' from /Users/Ryosuke/Desktop/workspace/tweet_app/vendor/bundle/ruby/2.4.0/gems/activesupport-4.1.1/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>' from /Users/Ryosuke/Desktop/workspace/tweet_app/vendor/bundle/ruby/2.4.0/gems/activesupport-4.1.1/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>' ... 5258 levels... from /Users/Ryosuke/Desktop/workspace/tweet_app/vendor/bundle/ruby/2.4.0/gems/railties-4.1.1/lib/rails/commands/commands_tasks.rb:40:in `run_command!' from /Users/Ryosuke/Desktop/workspace/tweet_app/vendor/bundle/ruby/2.4.0/gems/railties-4.1.1/lib/rails/commands.rb:17:in `<top (required)>' from bin/rails:4:in `require' from bin/rails:4:in `<main>'
###該当のソースコード
bundle exec rails server
###以前と異なっている点
Rails 4.1.1 application starting in development on
の後のURLが
http://localhost:3000 から http://0.0.0.0:3000 に変わっている。
ネットに書いてあることはほとんどやったつもりですが、正直どこが間違っているのかわかりません。
本当に困っているのでどなたか教えていただきたいです(>_<)
宜しくお願いいたします!!
回答1件
あなたの回答
tips
プレビュー