Hi,
I am trying to use a Ruby gem called shotgun that requires fork(2) command which I discovered is aa Linux command, and might be available in Cygwin. Is it possible to make it available through Windows command shell?
...
Sinatra app:
require "rubygems"
require "sinatra"
get '/' do
"Hello world. It's #{Time.now} at the server!"
end
windows XP with latest version of mongrel, sinatra, shotgun. ruby 1.8.6
running shotgun test_app.rb results in
C:\Files\sites\sinatra>shotgun test.rb
== Shotgun starting Rack::Handler::Mongrel on localhost:9393
Th...
Greetings,
Every time I make a change to a Sinatra app I'm working on and try to refresh the browser (located at http://localhost:4567/) the browser will refresh and, the console window seems to restart the WEB brick server. The problem is that the content in the browser window does not change.
A friend of mine told me it was a shotgu...
I've been trying to run part of a Peepcode tutorial 'Meet Sinatra' with Shotgun (allows you to skip rebooting your web server for every change you make). The error threw up the following message:
$ shotgun simple.rb /Library/Ruby/Gems/1.8/gems/shotgun-0.8/bin/shotgun:115: undefined methoddefault' for Rack::Handler:Module (NoMethodErro...