Sha256: b211c71e178557fe01bf35acda8beb46d174c1a1b31e3ae3a3433f4589c0bedd

Contents?: true

Size: 651 Bytes

Versions: 9

Compression:

Stored size: 651 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 'qless/server'
client = Qless::Client.new

Vegas::Runner.new(Qless::Server.new(client), 'qless-web', {
  :before_run => lambda {|v|
    path = (ENV['RESQUECONFIG'] || v.args.first)
    load path.to_s.strip if path
  }
}) do |runner, opts, app|
  # opts.on('-r redis-connection', "--redis redis-connection", "set the Redis connection string") {|redis_conf|
  #   runner.logger.info "Using Redis connection '#{redis_conf}'"
  #   Resque.redis = redis_conf
  # }
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
qless-0.12.0 exe/qless-web
qless-0.11.0 exe/qless-web
qless-0.10.5 exe/qless-web
qless-0.10.4 exe/qless-web
qless-0.10.3 exe/qless-web
qless-0.10.2 exe/qless-web
qless-0.10.1 exe/qless-web
qless-0.10.0 exe/qless-web
qless-0.9.3 exe/qless-web