Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 26 lines (23 sloc) 0.78 kb
#!/usr/bin/env ruby
$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
Jump to Line
Something went wrong with that request. Please try again.