code
stringlengths
1
1.73M
language
stringclasses
1 value
def kill_process(name) processes = `ps aux | grep #{name}` processes.split(/(\n|\r)+/).each do |process_line| next if process_line.strip.length == 0 pid = process_line.split(/\s+/)[1] `kill #{pid}` end end
Ruby
require "builder" require 'htree/traverse' require 'htree/parse' require "test_case_result" class SeleniumResult def initialize(req) @req = req @test_cases = parse end def to_xml xml = Builder::XmlMarkup.new(:indent => 1) xml.testsuite( "tests" => @req.query["numTestPa...
Ruby
require "cgi" require 'builder' require "test_case_result" class JsUnitResult def initialize(req) @req = req @test_cases = parse end def to_xml fail_count = 0 @test_cases.each do |test_case| fail_count += 1 unless test_case.pass? end xml = Builder::XmlMarkup.new ...
Ruby
#!/usr/bin/env ruby # usage: ruby install.rb [-n] # options: # -n : don't install # # Author: Tanaka Akira <akr@m17n.org> require 'optparse' require 'fileutils' def target_directory $:.each {|loc| if %r{/site_ruby/[\d.]+\z} =~ loc return loc end } raise "could not find target install directory" ...
Ruby
#!/usr/bin/env ruby # usage: ruby install.rb [-n] # options: # -n : don't install # # Author: Tanaka Akira <akr@m17n.org> require 'optparse' require 'fileutils' def target_directory $:.each {|loc| if %r{/site_ruby/[\d.]+\z} =~ loc return loc end } raise "could not find target install directory" ...
Ruby
require 'htree/doc' require 'htree/elem' require 'htree/loc' require 'htree/extract_text' require 'uri' module HTree module Traverse def doc?() Doc::Trav === self end def elem?() Elem::Trav === self end def text?() Text::Trav === self end def xmldecl?() XMLDecl::Trav === self end def doctype?() D...
Ruby
require 'htree/modules' require 'htree/raw_string' require 'htree/htmlinfo' require 'htree/encoder' require 'htree/fstr' require 'iconv' module HTree class Text # :stopdoc: class << self alias new_internal new end # :startdoc: def Text.new(arg) arg = arg.to_node if HTree::Location ==...
Ruby
require 'htree/scan' # for Pat::Nmtoken require 'htree/context' module HTree # Name represents a element name and attribute name. # It consists of a namespace prefix, a namespace URI and a local name. class Name =begin element name prefix uri localname {u}n, n with xmlns=u nil ...
Ruby
require 'htree/modules' require 'htree/container' module HTree class Doc # :stopdoc: class << self alias new! new end # :startdoc: # The arguments should be a sequence of follows. # [String object] specified string is converted to HTree::Text. # [HTree::Node object] used as a child...
Ruby
require 'pp' require 'htree/doc' require 'htree/elem' require 'htree/leaf' require 'htree/tag' require 'htree/output' require 'htree/raw_string' module HTree # :stopdoc: class Doc def pretty_print(q) q.object_group(self) { @children.each {|elt| q.breakable; q.pp elt } } end alias inspect pretty_p...
Ruby
require 'htree/encoder' require 'htree/output' # :stopdoc: module HTree module Node def generate_xml_output_code(outvar='out', contextvar='top_context') namespaces = HTree::Context::DefaultNamespaces.dup namespaces.default = nil context = Context.new(namespaces) gen = HTree::GenCode.new(...
Ruby
require 'htree/modules' module HTree # :stopdoc: def HTree.with_frozen_string_hash if Thread.current[:htree_frozen_string_hash] yield else begin Thread.current[:htree_frozen_string_hash] = {} yield ensure Thread.current[:htree_frozen_string_hash] = nil end ...
Ruby
# = Template Engine # # The htree template engine converts HTML and some data to HTML or XML. # # == Template Method Summary # # - HTree.expand_template(<i>template_pathname</i>) -> $stdout # - HTree.expand_template(<i>template_pathname</i>, <i>obj</i>) -> $stdout # - HTree.expand_template(<i>template_pathname</i>, <i>...
Ruby
require 'htree/modules' module HTree::Container # +children+ returns children nodes as an array. def children @children.dup end end
Ruby
require 'htree/htmlinfo' require 'htree/regexp-util' require 'htree/fstr' module HTree # :stopdoc: module Pat NameChar = /[-A-Za-z0-9._:]/ Name = /[A-Za-z_:]#{NameChar}*/ Nmtoken = /#{NameChar}+/ Comment_C = /<!--(.*?)-->/m Comment = Comment_C.disable_capture CDATA_C = /<!\[CDATA\[(.*?)\]\...
Ruby
require 'htree/modules' require 'htree/tag' require 'htree/context' require 'htree/container' module HTree class Elem # :stopdoc: class << self alias new! new end # :startdoc: # The first argument _name_ should be an instance of String or HTree::Name. # # The rest of arguments shou...
Ruby
module HTree class Context # :stopdoc: DefaultNamespaces = {'xml'=>'http://www.w3.org/XML/1998/namespace'} DefaultNamespaces.default = "" DefaultNamespaces.freeze # :startdoc: # The optional argument `namespaces' should be a hash or nil. # HTree::DefaultNamespaces is used if nil is specif...
Ruby
require 'htree/raw_string' require 'htree/text' require 'htree/scan' # for Pat::Name and Pat::Nmtoken require 'htree/context' require 'htree/name' require 'htree/fstr' module HTree # :stopdoc: class STag def initialize(name, attributes=[], inherited_context=DefaultContext) init_raw_string # normal...
Ruby
require 'htree/modules' require 'htree/elem' require 'htree/inspect' module HTree module Node # creates a location object which points to self. def make_loc self.class::Loc.new(nil, nil, self) end # return self. def to_node self end # +subst+ substitutes several subtrees at ...
Ruby
module HTree class Name; include HTree end class Context; include HTree end # :stopdoc: module Tag; include HTree end class STag; include Tag end class ETag; include Tag end # :startdoc: module Node; include HTree end module Container; include Node end class Doc; include Container end ...
Ruby
require 'htree/encoder' require 'htree/doc' require 'htree/elem' require 'htree/leaf' require 'htree/text' module HTree # :stopdoc: class Text ChRef = { '>' => '&gt;', '<' => '&lt;', '"' => '&quot;', } def output(out, context=nil) out.output_text @rcdata.gsub(/[<>]/) {|s| ChRe...
Ruby
# = REXML Tree Generator # # HTree::Node#to_rexml is used for converting HTree to REXML. # # == Method Summary # # - HTree::Node#to_rexml -> REXML::Child # # == Example # # HTree.parse(...).to_rexml #=> REXML::Document # # == Comparison between HTree and REXML. # # - HTree parser is permissive HTML/XML parser. # RE...
Ruby
class Regexp def disable_capture re = '' self.source.scan(/\\.|[^\\\(]+|\(\?|\(/m) {|s| if s == '(' re << '(?:' else re << s end } Regexp.new(re, self.options, self.kcode) end end
Ruby
require 'htree/output' module HTree module Node # HTree::Node#display_xml prints the node as XML. # # The first optional argument, <i>out</i>, # specifies output target. # It should respond to <tt><<</tt>. # If it is not specified, $stdout is used. # # The second optional argument, <i...
Ruby
require 'htree/modules' require 'htree/fstr' module HTree module Node # raw_string returns a source string recorded by parsing. # It returns +nil+ if the node is constructed not via parsing. def raw_string catch(:raw_string_tag) { return raw_string_internal('') } nil end e...
Ruby
require 'htree/scan' require 'htree/htmlinfo' require 'htree/text' require 'htree/tag' require 'htree/leaf' require 'htree/doc' require 'htree/elem' require 'htree/raw_string' require 'htree/context' require 'htree/encoder' require 'htree/fstr' module HTree # HTree.parse parses <i>input</i> and return a document tre...
Ruby
require 'htree/modules' require 'htree/raw_string' module HTree class XMLDecl def initialize(version, encoding=nil, standalone=nil) init_raw_string if /\A[a-zA-Z0-9_.:-]+\z/ !~ version raise HTree::Error, "invalid version in XML declaration: #{version.inspect}" end if encoding && ...
Ruby
require 'htree/text' require 'htree/doc' require 'htree/elem' module HTree module Node def extract_text raise NotImplementedError end end class Location def extract_text to_node.extract_text end end # :stopdoc: module Container def extract_text Text.concat(*@children...
Ruby
require 'iconv' module HTree class Encoder # HTree::Encoder.internal_charset returns the MIME charset corresponding to $KCODE. # # - 'ISO-8859-1' when $KCODE=='NONE' # - 'UTF-8' when $KCODE=='UTF8' # - 'EUC-JP' when $KCODE=='EUC' # - 'Shift_JIS' when $KCODE=='SJIS' # # This mapping ig...
Ruby
require 'htree/doc' require 'htree/elem' require 'htree/leaf' require 'htree/tag' require 'htree/raw_string' require 'htree/context' module HTree # compare tree structures. def ==(other) check_equality(self, other, :usual_equal_object) end alias eql? == # hash value for the tree structure. def hash ...
Ruby
# # = htree.rb # # HTML/XML document tree # # Author:: Tanaka Akira <akr@m17n.org> # # == Features # # - Permissive unified HTML/XML parser # - byte-to-byte round-tripping unparser # - XML namespace support # - Dedicated class for escaped string. This ease sanitization. # - XHTML/XML generator # - template engine: lin...
Ruby
class CreateUsers < ActiveRecord::Migration def up create_table :users do |t| t.string :profile_id t.string :email t.string :refresh_token end add_index :users, :profile_id end def down drop_table :users end end
Ruby
# Copyright (C) 2012 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
Ruby
source :gemcutter gem 'sinatra', :require => 'sinatra/base' gem 'thin', '~> 1.3' gem 'pg' gem 'sinatra-activerecord' gem 'google-api-client', '>= 0.4.4', :require => 'google/api_client' group :development do gem 'rake' gem 'sqlite3-ruby' end
Ruby
require 'sinatra.rb' # Sinatra defines #set at the top level as a way to set application configuration set :run, false set :env, (ENV['RACK_ENV'] ? ENV['RACK_ENV'].to_sym : :development) require './main' run Sinatra::Application
Ruby
require 'sinatra/activerecord/rake' require './main'
Ruby
x = 3000 incr = 0.01 i = 0 while i < 100 y = x + (Math.sin(i) * x).to_i puts y i += incr end
Ruby
class CreateUsers < ActiveRecord::Migration def up create_table :users do |t| t.string :profile_id t.string :email t.string :refresh_token end add_index :users, :profile_id end def down drop_table :users end end
Ruby
# Copyright (C) 2012 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
Ruby
source :gemcutter gem 'sinatra', :require => 'sinatra/base' gem 'thin', '~> 1.3' gem 'pg' gem 'sinatra-activerecord' gem 'google-api-client', '>= 0.4.4', :require => 'google/api_client' group :development do gem 'rake' gem 'sqlite3-ruby' end
Ruby
require 'sinatra.rb' # Sinatra defines #set at the top level as a way to set application configuration set :run, false set :env, (ENV['RACK_ENV'] ? ENV['RACK_ENV'].to_sym : :development) require './main' run Sinatra::Application
Ruby
require 'sinatra/activerecord/rake' require './main'
Ruby
require 'date' require "changeset_entry" class MercurialLogParser def parse_log(log_message) revisions = [] entries = split_log(log_message) entries.each do |log_entry| rev_number = parse_for_rev_number(log_entry) name = parse_for_name(log_entry) date = parse_for_date(log...
Ruby
require "revision" class Mercurial include CommandLine attr_accessor :url, :username, :password def initialize(options = {}, parser = MercurialLogParser.new) @parser = parser @url, @username, @password, @interactive = options.delete(:url), options.delete(:username), options.delete(:passw...
Ruby
action_mailer.server_settings = { :address => "mail.domain.com", :domain => "mail.domain.com", :port => 25, :authentication => :login, :user_name => "xli", :password => "l1029O@^2lI31" } builder :studio1 => 'http://192.168.0.2:3344' builder :studio2 => 'http://192.168.0.3:3344' build :mingle...
Ruby
# borrowed (with modifications) from the RSCM project require 'rbconfig' module Platform def family target_os = Config::CONFIG["target_os"] or raise 'Cannot determine operating system' case target_os when /linux/, /Linux/ then 'linux' when /32/ then 'mswin32' when /darwin/ then 'powerpc-darwin' ...
Ruby
require 'test/unit' class AnErrorTestCase < Test::Unit::TestCase def test_error raise 'error' end end
Ruby
require 'drb/drb' require 'logger' require 'distributed_test_runner' require 'drb_test_runner' MINE_URI="druby://localhost:3344" def logger logger = Logger.new(STDOUT) logger.level = Logger::DEBUG logger end def new_dtr_server server = DistributedTestRunner::Server.new server.packer = Distri...
Ruby
require 'drb/drb' require 'logger' require 'distributed_test_runner' require 'drb_test_runner' SERVER_URI="druby://localhost:3344" MY_URI= "druby://localhost:7777" def logger logger = Logger.new(STDOUT) logger.level = Logger::DEBUG logger end logger.info {'Initializing client...'} CLIENT_SERVE...
Ruby
require 'test/unit' class ATestCase < Test::Unit::TestCase def test_succeeded assert true end end
Ruby
require 'command_line' module DistributedTestRunner class AveragePacker def pack(test_files, packet_amount) @packets = [] size = (test_files.size.to_f / packet_amount).ceil size = 1 if size <= 0 @packets << test_files.slice!(0, size) until test_files.empty? @packets end end ...
Ruby
module DistributedTestRunner class LoggedTestRunnerServer def initialize(server) @server = server end def succeeded? @server.succeeded? end def reports @server.reports end def run logger.info {"start to run server..."} @server.run ...
Ruby
require 'test/unit' class ATestCase2 < Test::Unit::TestCase def test_succeeded assert true end end
Ruby
#!/usr/bin/env ruby OS = 'mac' $LOAD_PATH << (File.dirname(__FILE__) + '/core/') require 'optparse' require 'logger' require 'cc_monitor' require 'mac_dashboard_converter' opts = OptionParser.new do |opts| opts.banner = "Usage: #{$0} [options]" opts.separator "" opts.separator "Synopsis:" opts.separator "ccm ...
Ruby
#!/usr/bin/env ruby OS = 'mac' $LOAD_PATH << (File.dirname(__FILE__) + '/core/') require 'optparse' require 'logger' require 'cc_monitor' require 'mac_dashboard_converter' opts = OptionParser.new do |opts| opts.banner = "Usage: #{$0} [options]" opts.separator "" opts.separator "Synopsis:" opts.separator "ccm ...
Ruby
OS = 'windows' require 'tray_icon'
Ruby
include Java import org.jdesktop.jdic.desktop.Desktop import org.jdesktop.jdic.tray.TrayIcon import org.jdesktop.jdic.tray.SystemTray import javax.swing.JPopupMenu import javax.swing.JMenuItem import javax.swing.ImageIcon import javax.swing.JFrame import javax.swing.JTextField import javax.swing.BorderFactor...
Ruby
OS = 'mac' require 'tray_icon'
Ruby
require 'growl' module CcMonitor module BuildinActions def say(*something) content = something.flatten.join(" ").gsub(/\./, '. ').gsub(/"/, %{""}) `/usr/bin/osascript -e "say \\"#{content}\\""` end def growl(*opt) title, desc, icon = opt.flatten GrowlApp.new.display ...
Ruby
require 'rss/1.0' require 'rss/2.0' require 'yaml' require "pstore" require 'delegate' require 'open-uri' require 'acts_as_sentence' require "#{OS}_buildin_actions" if defined?(OS) class Object def system(*args) Thread.new do super(*args) end end end module CcMonitor VERSION = '1.2' def reque...
Ruby
class GrowlApp FILE_DIR = File.expand_path(File.dirname(__FILE__)) NOTIFY_SCPT = FILE_DIR + '/notify.scpt' REGISTER_SCPT = FILE_DIR + '/register.scpt' def initialize register end def display(title, content='', icon=nil) if icon.nil? if title =~ /(succeeded|failed|loaded error)/i ic...
Ruby
class MacDashboardConverter def convert(output) js = '' return js if output.nil? || !output.kind_of?(Hash) || output.empty? output.each do |key, value| js << self.send("convert_#{key}", value) js << "\n" end js end def convert_background(bg) "bgImg.src = 'image...
Ruby
# # Levenshtein distance algorithm implementation for Ruby, with UTF-8 support. # # The Levenshtein distance is a measure of how similar two strings s and t are, # calculated as the number of deletions/insertions/substitutions needed to # transform s into t. The greater the distance, the more the strings differ. # # Th...
Ruby
import com.sun.speech.freetts.VoiceManager module CcMonitor module BuildinActions def say(*something) something = something.flatten.join(" ").gsub(/\./, '. ').gsub(/"/, %{""}) voiceManager = VoiceManager.getInstance() voice = voiceManager.getVoice('kevin16') begin voice.a...
Ruby
require 'levenshtein' module ActsAsSentence module Nameize def nameize self.to_s.gsub(/[^a-zA-Z0-9\?\=]/, ' ').gsub(/[ ]+/, ' ').strip end end class Sentence < DelegateClass(String) def self.default_sentence_methods(obj) convert_array_to_sentence_methods obj.public_methods - Object.public...
Ruby
BASE = File.dirname(__FILE__) + '/../' $LOAD_PATH << (File.dirname(__FILE__) + "/../core/") module CcMonitor module BuildinActions def buildin true end def say(*opt) raise opt.join(' ') end def growl(*opt) raise opt.flatten.join(' : ') end end end class BuildSt...
Ruby
source :gemcutter gem 'sinatra', :require => 'sinatra/base' gem 'thin', '~> 1.3' gem 'pg' gem 'data_mapper', '~> 1.2' gem 'dm-postgres-adapter' gem 'google-api-client', '>= 0.4.3' group :development do gem 'dm-sqlite-adapter', '~> 1.2' gem 'do_sqlite3', '~> 0.10' end
Ruby
# Copyright (C) 2012 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
Ruby
class CreateDocumentStates < ActiveRecord::Migration def self.up create_table :document_states do |t| t.column "name", :string end end def self.down drop_table :document_states end end
Ruby
class CreateDocuments < ActiveRecord::Migration def self.up create_table :documents do |t| t.column :title, :string t.column :description, :string t.column :body, :text t.column :user_id, :integer t.column :created_at, :datetime, :default=>Time.now t.column :document_state_id, ...
Ruby
class CreateUsers < ActiveRecord::Migration def self.up create_table "users", :force => true do |t| t.column :login, :string t.column :email, :string t.column :crypted_password, :string, :limit => 40 t.column :salt, :str...
Ruby
class CreateVotes < ActiveRecord::Migration def self.up create_table :votes do |t| t.column "vote", :integer, :null=>false t.column "created_at", :datetime, :null => false t.column "voteable_type", :string, :limit => 15, :default => "", :null => false t.column "voteable_id", :integer, :def...
Ruby
class CreateComments < ActiveRecord::Migration def self.up create_table :comments do |t| t.column "title", :string, :limit => 50, :default => "" t.column "comment", :text, :default => "" t.column "created_at", :datetime, :null => false, :default => Time.now t.column "commentable_id", :inte...
Ruby
class PopulateDocumentStates < ActiveRecord::Migration def self.up DocumentState.delete_all DocumentState.create(:name=>"Draft") DocumentState.create(:name=>"Comment") DocumentState.create(:name=>"Vote") DocumentState.create(:name=>"Approved") DocumentState.create(:name=>"Rejected") end d...
Ruby
ENV["RAILS_ENV"] = "test" require File.expand_path(File.dirname(__FILE__) + "/../config/environment") require 'test_help' class Test::Unit::TestCase # Transactional fixtures accelerate your tests by wrapping each test method # in a transaction that's rolled back on completion. This ensures that the # test datab...
Ruby
#!/usr/local/bin/ruby require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT) # If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like: # "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impai...
Ruby
#!/usr/local/bin/ruby # # You may specify the path to the FastCGI crash log (a log of unhandled # exceptions which forced the FastCGI instance to exit, great for debugging) # and the number of requests to process before running garbage collection. # # By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.lo...
Ruby
#!/usr/local/bin/ruby require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT) # If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like: # "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impai...
Ruby
#!/usr/local/bin/ruby require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT) # If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like: # "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impai...
Ruby
#!/usr/local/bin/ruby # # You may specify the path to the FastCGI crash log (a log of unhandled # exceptions which forced the FastCGI instance to exit, great for debugging) # and the number of requests to process before running garbage collection. # # By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.lo...
Ruby
#!/usr/local/bin/ruby require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT) # If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like: # "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impai...
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/breakpointer'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/destroy'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/about'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/runner'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/runner'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/server'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/generate'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/destroy'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/plugin'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/breakpointer'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/console'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/about'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/server'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/console'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/plugin'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../../config/boot' require 'commands/process/spawner'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../../config/boot' require 'commands/process/spawner'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../../config/boot' require 'commands/process/inspector'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../../config/boot' require 'commands/process/reaper'
Ruby