Sha256: ae3fdd062621f60a9d1f2d7e8d0e70fe2955cfecfaa6117389694e7c0a94c22e
Contents?: true
Size: 558 Bytes
Versions: 30
Compression:
Stored size: 558 Bytes
Contents
#!/usr/bin/env ruby $LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib') begin require 'vegas' rescue LoadError require 'rubygems' require 'vegas' end require 'mongodb_logger/server' Vegas::Runner.new(MongodbLogger::Server, 'mongodb_logger_web', { :before_run => lambda {|v| config_file = (ENV['MONGODBLOGGERCONFIG'] || v.args.first) if config_file MongodbLogger::ServerConfig.set_config(config_file) else raise ArgumentError, "please provide config file" end } }) do |runner, opts, app| # end
Version data entries
30 entries across 30 versions & 1 rubygems