Sha256: 42b022dd94e5b5176a348629bda683a3dc76acd51ebdb442019973a9d13d117d

Contents?: true

Size: 889 Bytes

Versions: 2

Compression:

Stored size: 889 Bytes

Contents

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

if ARGV.first == "install"
  require File.expand_path(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.expand_path(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.expand_path(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.4.1 bin/redcar
redcar-0.4 bin/redcar