Sha256: a82c02509f0ae5268eac1ce89b31149b2c110e94479d201cbad0638e8a12c6a7
Contents?: true
Size: 855 Bytes
Versions: 2
Compression:
Stored size: 855 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.include? '--silent' # reopen the standard pipes to nothingness if we were forked as part of jruby STDIN.reopen Redcar.null_device STDOUT.reopen Redcar.null_device, 'a' STDERR.reopen STDOUT end 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 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.environment = :user Redcar.spin_up Redcar.load Redcar::Top.start(ARGV) Redcar.pump end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
redcar-0.5.2dev | bin/redcar |
redcar-0.5.1dev | bin/redcar |