2010-11-22 16 views
1

私は私が行うとき、ルビー・デバッグをインストール:インストールルビー・デバッグは、今「に時間を浪費して起動するアプリケーションを...」取得

は私が手-debugger

レールサーバ:

Rails 3.0.1 application starting in bugger on .... 

なぜそれはバグですか?

その後、私はコマンドプロンプトに戻って何らかの理由で停止しますか?ページに行く

は示しています

bugger database is not configured 

をその後、私は試してみてください場合:それは起動に失敗し

rails server 

2010-11-22 00:42:31] INFO WEBrick 1.3.1 
[2010-11-22 00:42:31] INFO ruby 1.8.7 (2010-08-16) [i686-darwin10.4.0] 
[2010-11-22 00:42:31] WARN TCPServer Error: Address already in use - bind(2) 
Exiting 
... address already in use 

がどのようにプロセスを強制終了することができ、フィルタリングする方法がわからない

答えて

2

あなたはあなたが

rails -u server 

-uオプションを使用する必要があるレール・サーバを起動したときには、ヘルプ情報を説明しますデバッガーをアクティブにしたい場合:

[[email protected] ] master % 
rails server -h      
22/11/10 09:34:49 Usage: rails server 
[mongrel, thin, etc] [options] 
    -p, --port=port     Runs Rails on the specified port. 
             Default: 3000 
    -b, --binding=ip     Binds Rails to the specified ip. 
             Default: 0.0.0.0 
    -c, --config=file    Use custom rackup configuration file 
    -d, --daemon      Make server run as a Daemon. 
    -u, --debugger     Enable ruby-debugging for the server. 
    -e, --environment=name   Specifies the environment to run this 
server under 
(test/development/production). 
             Default: development 
    -P, --pid=pid     Specifies the PID file. 
             Default: tmp/pids/server.pid 

    -h, --help      Show this help message. 
関連する問題