Sha256: 94267a485660912cdc01c58d901c8b89c5192778a6239b70c59cc9526928027b

Contents?: true

Size: 464 Bytes

Versions: 13

Compression:

Stored size: 464 Bytes

Contents

#!/usr/bin/env ruby

require 'redis'

ENV['REDIS_HOST'] = 'localhost' unless ENV['REDIS_HOST']
ENV['REDIS_PORT'] = '6379' unless ENV['REDIS_PORT']
ENV['REDIS_PASS'] = nil unless ENV['REDIS_PASS']
$redis = Redis.new(:host => ENV['REDIS_HOST'], :port => ENV['REDIS_PORT'], :password => ENV['REDIS_PASS'])

libpath = File.expand_path(File.join(File.dirname(__FILE__), "lib"))
$:.unshift(libpath)
require "#{libpath}/app.rb"

instance = GaptoolServer.new
run instance

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
gaptool-server-0.5.13 config.ru
gaptool-server-0.5.12 config.ru
gaptool-server-0.5.11 config.ru
gaptool-server-0.5.10 config.ru
gaptool-server-0.5.8 config.ru
gaptool-server-0.5.7 config.ru
gaptool-server-0.5.6 config.ru
gaptool-server-0.5.5 config.ru
gaptool-server-0.5.4 config.ru
gaptool-server-0.5.3 config.ru
gaptool-server-0.5.2 config.ru
gaptool-server-0.5.1 config.ru
gaptool-server-0.5.0 config.ru