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