2008年3月9日 星期日

rails and WEBrick

create directory structure for Rail
ex: rails Test

create directory structure with selected database for Rail:
ex: rails -d mysql Test

WEBrick :
a web server written in Ruby
start WEBrick:
ex: ruby script/server blow Test directory
Then the server will listen on TCP port 3000

connect to WEBrick:
http://localhost:3000

沒有留言: