2012-02-03 31 views

答えて

0

ノーマルケース:

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 
ここ

-pまたは-PはWEBrickにサーバが実行されるポートをサポートしています。プロキシ設定でサポートするようには書かれていません。

1

PACファイルをダウンロードして、プロキシサーバーのアドレスを調べることができます。

たとえば、ファイルが含ま:

function FindProxyForURL(url, host) { 
    return "PROXY pigsy:8080"; 
} 

は、より複雑なPACファイルについては

gem install rails -p http://wolfbyte:[email protected]:8080 

を入力する必要が使用するruby-pac

関連する問題