まずは空の状態で起動してみる。以下のコマンドでWebServer(Webric)が起動しアプリを実行してくれる。
ruby todolist\start.rb [2008-09-xx xx:xx:yy] INFO Starting up Ramaze (Version 2008.06) [2008-09-xx xx:xx:yy] DEBUG mapped Controllers: {"/"=>MainController} [2008-09-xx xx:xx:yy] INFO Ramaze is ready to run on: 0.0.0.0:7000 [2008-09-xx xx:xx:yy] INFO WEBrick 1.3.1 [2008-09-xx xx:xx:yy] INFO ruby 1.8.4 (2005-12-24) [i386-mswin32] [2008-09-xx xx:xx:yy] DEBUG TCPServer.new(0.0.0.0, 7000) [2008-09-xx xx:xx:yy] DEBUG Rack::Handler::WEBrick is mounted on /. [2008-09-xx xx:xx:yy] INFO WEBrick::HTTPServer#start: pid=2684 port=7000 [2008-09-xx xx:xx:yy] DEBUG accept: 127.0.0.1:1163 [2008-09-xx xx:xx:yy] DEBUG Rack::Handler::WEBrick is invoked. [2008-09-xx xx:xx:yy] INFO Dynamic request from 127.0.0.1: http://localhost:7000/
あとはブラウザでhttp://localhost:7000/にアクセスして初期画面が表示されれば下準備は完了。