Sha256: bb4b4bc43f7c1dac6dd9019d3354b9823f7921c0eb6a6bcd42887cc5be33fa44

Contents?: true

Size: 588 Bytes

Versions: 3

Compression:

Stored size: 588 Bytes

Contents

#!/usr/bin/env ruby

begin
  require 'repsheet_visualizer/application/app.rb'
  if ARGV.count == 2
    RepsheetVisualizer.set :redis_host, ARGV[0]
    RepsheetVisualizer.set :redis_port, ARGV[1]
  end
  RepsheetVisualizer.run!
rescue LoadError => e
  require 'rubygems'
  path = File.expand_path '../../lib', __FILE__
  $:.unshift(path) if File.directory?(path) && !$:.include?(path)
  require 'repsheet_visualizer/application/app.rb'
  if ARGV.count == 2
    RepsheetVisualizer.set :redis_host, ARGV[0]
    RepsheetVisualizer.set :redis_port, ARGV[1]
  end
  RepsheetVisualizer.run!
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
repsheet_visualizer-0.0.6 bin/repsheet_visualizer
repsheet_visualizer-0.0.5 bin/repsheet_visualizer
repsheet_visualizer-0.0.4 bin/repsheet_visualizer