0

私は Michael Hartl の Ruby と Rails のチュートリアルを行っており、最初のアプリを始めたばかりです。コマンドラインに$ rails server入力すると、次の出力が得られました。

=> Booting WEBrick
=> Rails 3.2.8 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2012-10-30 20:56:51] INFO  WEBrick 1.3.1
[2012-10-30 20:56:51] INFO  ruby 1.9.3 (2012-10-12) [x86_64-darwin12.2.0]
[2012-10-30 20:56:51] INFO  WEBrick::HTTPServer#start: pid=2205 port=3000


Started GET "/assets/rails.png" for 127.0.0.1 at 2012-10-30 20:57:56 -0400
Connecting to database specified by database.yml
Served asset /rails.png - 200 OK (3ms)

これはまだ実行中で、スタックしているようです。チュートリアルの次のステップでは、新しい rails プロジェクトを (Git をセットアップした後に) 経由​​で Git に追加するように求められます$ git add$ rails serverまだ実行中に、新しいターミナル ウィンドウでこれを行う必要がありますか?

ありがとう!

4

1 に答える 1

2

Yup, that will appear "stuck" while the server is running. You'll need to do any further commands in a new window. This is necessary for your app to display.

于 2012-10-31T01:15:38.923 に答える