Sha256: 936559793cffdf38c99ff69dc6a52f4fe409b89321cb08372de34e9de0f9ca6c

Contents?: true

Size: 583 Bytes

Versions: 8

Compression:

Stored size: 583 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 'soulmate/server'


Vegas::Runner.new(Soulmate::Server, 'soulmate-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 [HOST:PORT]", "Redis connection string") do |host|
    runner.logger.info "Using Redis connection string '#{host}'"
    Soulmate.redis = host
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
soulmate-0.1.0 bin/soulmate-web
soulmate-0.0.6 bin/soulmate-web
soulmate-0.0.5 bin/soulmate-web
soulmate-0.0.4 bin/soulmate-web
soulmate-0.0.3 bin/soulmate-web
soulmate-0.0.2 bin/soulmate-web
soulmate-0.0.1 bin/soulmate-web
soulmate-0.0.0 bin/soulmate-web