config.ru require 'app' run app
或者直接执行 shotgun app.rb 也是报错 in `trap': unsupported signal SIGQUIT (ArgumentError)
gem install reloader --no-ri --no-rdoc Fetching: trollop-2.0.gem (100%) Successfully installed trollop-2.0 Fetching: sys-uname-0.9.2-universal-mingw32.gem (100%) Successfully installed sys-uname-0.9.2-universal-mingw32 Fetching: growl-1.0.3.gem (100%) Successfully installed growl-1.0.3 Fetching: ffi-1.9.0-x86-mingw32.gem (100%) Successfully installed ffi-1.9.0-x86-mingw32 Fetching: rb-inotify-0.9.1.gem (100%) Successfully installed rb-inotify-0.9.1 Fetching: libnotify-0.8.1.gem (100%) Successfully installed libnotify-0.8.1 Fetching: rspactor-0.7.0.beta.5.gem (100%) Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... Successfully installed rspactor-0.7.0.beta.5 Fetching: eventmachine-1.0.3-x86-mingw32.gem (100%) Successfully installed eventmachine-1.0.3-x86-mingw32 Fetching: http_parser.rb-0.6.0.beta.2.gem (100%) Building native extensions. This could take a while... Successfully installed http_parser.rb-0.6.0.beta.2 Fetching: em-socksify-0.3.0.gem (100%) Successfully installed em-socksify-0.3.0 Fetching: cookiejar-0.3.0.gem (100%) Successfully installed cookiejar-0.3.0 Fetching: em-http-request-1.1.0.gem (100%) Successfully installed em-http-request-1.1.0 Fetching: daemons-1.1.9.gem (100%) Successfully installed daemons-1.1.9 Fetching: thin-1.2.7-x86-mingw32.gem (100%) Successfully installed thin-1.2.7-x86-mingw32 Fetching: faye-0.5.0.gem (100%) Successfully installed faye-0.5.0 Fetching: iobuffer-1.1.2.gem (100%) Building native extensions. This could take a while... Successfully installed iobuffer-1.1.2 Fetching: rev-0.3.2.gem (100%) Building native extensions. This could take a while... Successfully installed rev-0.3.2 Fetching: reloader-0.1.0.gem (100%) Successfully installed reloader-0.1.0 18 gems installed
装了这么多不知道装了些啥,后面仔细看下文档,原来应该是 sinatra-contrib