Sha256: d1c716c560969bac1c53ee19bff0b0b5d83c12893bccdadd7d735b4745431997
Contents?: true
Size: 401 Bytes
Versions: 1
Compression:
Stored size: 401 Bytes
Contents
#!/usr/bin/env jruby $LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib') require 'rubygems' require 'thin' require 'sinatra' require 'hope' require 'hope/server' EM::run { Kernel.trap("INT") { puts "Got INT signal"; EM.stop; exit(0) } Kernel.trap("TERM") { puts "Got TERM signal"; EM.stop; exit(0) } Hope::configure(ARGV[0]) unless ARGV[0].nil? Hope::Server::App.run! }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hope-0.1.0-java | bin/hope-web |