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

Version Path
mongodb_logger-0.3.3-jruby bin/mongodb_logger_web
mongodb_logger-0.3.3 bin/mongodb_logger_web
mongodb_logger-0.3.2-jruby bin/mongodb_logger_web
mongodb_logger-0.3.2 bin/mongodb_logger_web
mongodb_logger-0.3.1-jruby bin/mongodb_logger_web
mongodb_logger-0.3.1 bin/mongodb_logger_web
mongodb_logger-0.3.0-jruby bin/mongodb_logger_web
mongodb_logger-0.3.0 bin/mongodb_logger_web
mongodb_logger-0.2.8-jruby bin/mongodb_logger_web
mongodb_logger-0.2.8 bin/mongodb_logger_web
mongodb_logger-0.2.7-jruby bin/mongodb_logger_web
mongodb_logger-0.2.7 bin/mongodb_logger_web
mongodb_logger-0.2.6 bin/mongodb_logger_web
mongodb_logger-0.2.6-jruby bin/mongodb_logger_web
mongodb_logger-0.2.5 bin/mongodb_logger_web
mongodb_logger-0.2.4 bin/mongodb_logger_web
mongodb_logger-0.2.3 bin/mongodb_logger_web
mongodb_logger-0.2.2 bin/mongodb_logger_web
mongodb_logger-0.2.1 bin/mongodb_logger_web
mongodb_logger-0.2.0 bin/mongodb_logger_web