OSDN Git Service

[shogi-server] - Released: Revision "20131215"
[shogi-server/shogi-server.git] / showgame / public / dispatch.fcgi
1 #!/usr/bin/env ruby
2
3 require 'rubygems'
4 require 'ramaze'
5
6 # FCGI doesn't like you writing to stdout
7 Ramaze::Log.loggers = [ Ramaze::Informer.new( File.join(__DIR__, '..', 'ramaze.fcgi.log') ) ]
8 Ramaze::Global.adapter = :fcgi
9
10 $0 = File.join(__DIR__, '..', 'start.rb')
11 require $0