Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tag: v0.0.3
Fetching contributors…

Cannot retrieve contributors at this time

executable file 24 lines (20 sloc) 0.583 kB
#!/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
Jump to Line
Something went wrong with that request. Please try again.