Sha256: 79cd23d1b1ac35ccdf0105dbca36efd5d07dd29e03ff0a76d347cfaefe1ba0ed
Contents?: true
Size: 410 Bytes
Versions: 3
Compression:
Stored size: 410 Bytes
Contents
require File.join(File.dirname(__FILE__), '..', '..', '..', 'lib', 'mongo') require 'logger' require 'rubygems' require 'resque' require 'sinatra' require File.join(File.dirname(__FILE__), 'processor') $con = Mongo::Connection.new $db = $con['foo'] configure do LOGGER = Logger.new("sinatra.log") enable :logging, :dump_errors set :raise_errors, true end get '/' do Processor.perform(1) true end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
vanity-1.7.1 | vendor/ruby/1.9.1/gems/mongo-1.3.1/test/load/resque/load.rb |
mongo-1.3.1 | test/load/resque/load.rb |
mongo-1.3.0 | test/load/resque/load.rb |