Sha256: f1c9dce804112f4eced155c568021dda979a22d5af321e9c0e5e573380504577

Contents?: true

Size: 817 Bytes

Versions: 2

Compression:

Stored size: 817 Bytes

Contents

#!/usr/bin/env ruby
$redcar_process_start_time = Time.now
$VERBOSE = true if ARGV.find{|arg| arg == '--verbose'}
require File.join(File.dirname(__FILE__), %w(.. lib redcar_quick_start))

if ARGV.first == "install"
  require File.join(File.dirname(__FILE__), %w(.. lib redcar))
  require 'redcar/installer'
  installer = Redcar::Installer.new
  installer.install
elsif ARGV.first == '--associate_with_any_right_click'
  require File.join(File.dirname(__FILE__), %w(.. lib redcar))
  require 'redcar/installer'
  installer = Redcar::Installer.new
  installer.associate_with_any_right_click
else
  Redcar.read_stdin
  exit if Redcar.try_to_load_via_drb
  require File.join(File.dirname(__FILE__), %w(.. lib redcar))
  Redcar.spin_up
  Redcar.environment = :user
  Redcar.load
  Redcar::Top.start(ARGV)
  Redcar.pump
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
redcar-0.3.10.1dev bin/redcar
redcar-0.3.10.0dev bin/redcar