yahns.git  about / heads / tags
sleepy, multi-threaded, non-blocking application server for Ruby
blob baf110beb31f65afc679b8e4151f83cbc00ba571 447 bytes (raw)
$ git show v0.0.3:bin/yahns-rackup	# shows this blob on the CLI

1
2
3
4
5
6
7
8
9
 
#!/this/will/be/overwritten/or/wrapped/anyways/do/not/worry/ruby
# -*- encoding: binary -*-
# Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> and all contributors
# License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
require 'yahns/rackup_handler'
ARGV.grep(/\A(?:-s|--server)/)[0] and abort "--server has no effect for #$0"
ARGV[0, 0] = %w(-s yahns)
Rack::Handler.register('yahns', 'Yahns::RackupHandler')
Rack::Server.start

git clone git://yhbt.net/yahns.git
git clone https://yhbt.net/yahns.git