Sha256: b097b858f9ea9e20cfda1f77f0efd43c2b7b720807293ae713d881861167fb78
Contents?: true
Size: 920 Bytes
Versions: 1
Compression:
Stored size: 920 Bytes
Contents
#!/usr/bin/env ruby $KCODE='U' unless RUBY_VERSION > "1.9.0" $redcar_process_start_time = Time.now $VERBOSE = true if ARGV.find{|arg| arg == '--verbose'} $:.push(File.join(File.dirname(__FILE__), %w(.. lib))) require "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' require 'redcar/runner' 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_threaded Redcar.show_splash Redcar.pump end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
redcar-0.7 | bin/redcar |