0
新しいMac(macOS 10.12.3)を設定しています。私はRVM、Homebrewなどをインストールしました。これまでにインストールされた唯一のRubyは2.4.0で、Railsは5.0.1です。レールコマンドは:Rails 5サーバーは指定されたポートの代わりにデフォルトのポートに切り替わります
$ rails new food_lookup --api
開発作業のためのRailsサーバーを実行すると、私はポート3001を指定していますが、何らかの理由でサーバがポート3000 Listening on tcp://0.0.0.0:3000
$ rails server --port=3001
/Users/me/.rvm/gems/[email protected]_lookup/gems/activesupport-5.0.1/lib/active_support/xml_mini.rb:51: warning: constant ::Fixnum is deprecated
/Users/me/.rvm/gems/[email protected]_lookup/gems/activesupport-5.0.1/lib/active_support/xml_mini.rb:52: warning: constant ::Bignum is deprecated
=> Booting Puma
=> Rails 5.0.1 application starting in development on http://localhost:3001
=> Run `rails server -h` for more startup options
/Users/me/.rvm/gems/[email protected]_lookup/gems/activesupport-5.0.1/lib/active_support/core_ext/numeric/conversions.rb:138: warning: constant ::Fixnum is deprecated
Puma starting in single mode...
* Version 3.7.0 (ruby 2.4.0-p0), codename: Snowy Sagebrush
* Min threads: 5, max threads: 5
* Environment: development
* Listening on tcp://0.0.0.0:3000
Use Ctrl-C to stop
に聞きたいことを決定この時点で私のログは空です。
誰でもこれを見ましたか?以前のMac OS X 10.11で正常に動作していました。私は同じバージョンのRails、Rubyなどを持っていましたが、この新しいマシンに何かをインストールするのを忘れたのでしょうか?