作者xdite (xdite)
看板Ruby
標題Re: [RoR ] Rails 3如何指定mongrel為預設server?
時間Mon Aug 30 11:24:36 2010
※ 引述《LewisHamiltn (漢米爾頓)》之銘言:
:
: 想請問
: 1.webrick這樣是正常的嗎?還是我可能哪邊環境沒設定好?
: 2.rails 3能否設定mongrel為預設server?也就是rails s會自動選擇mongrel
在 Gemfile 裡面寫一行 gem "mongrel",預設就會選 mongrel 了
xdite:forum xdite$ rails server
=> Booting Mongrel
=> Rails 3.0.0 application starting in development on
http://0.0.0.0:3000
=> Call with -d to detach
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 219.87.64.222
1F:推 LewisHamiltn:感謝 xdite大神... 08/30 13:04
2F:→ fireseed:可以考慮用thin 09/14 00:51