From: Don Coleman Date: 2004-10-09T01:50:21+09:00 Subject: Problems running rails with WEBrick I'm having trouble getting rails to run through WEBrick. Is there a step I'm missing here? don@debian:~$ ruby -v ruby 1.8.2 (2004-08-24) [i386-linux] don@debian:~$ gem list --local *** LOCAL GEMS *** actionpack (0.8.5) activerecord (0.9.5) rails (0.7.0) rake (0.4.8) sources (0.0.1) don@debian:~$ mysqladmin create rails_production don@debian:~$ mysqladmin create rails_test don@debian:~$ rails ~/rails don@debian:~$ cd rails don@debian:~/rails$ sed -i '/^#!/{s,local/,,}' public/dispatch.{cgi,fcgi,rb,servlet} don@debian:~/rails$ sed -i '/^#!/{s,local/,,}' script/new_{controller,model} don@debian:~/rails$ script/new_controller Test don@debian:~/rails$ chmod +x public/dispatch.servlet don@debian:~/rails$ public/dispatch.servlet [2004-10-08 12:23:48] INFO WEBrick 1.3.1 [2004-10-08 12:23:48] INFO ruby 1.8.2 (2004-08-24) [i386-linux] [2004-10-08 12:23:48] INFO WEBrick::HTTPServer#start: pid=5258 port=3000 http://localhost:3000 displays Congratulations, you're on Rails! http://localhost:3000/test displays '/test' not found If I run do a similar procedure for a rails app running through Apache2, I'll get "No action responded to index" until I implement index in test_controller.