lib/executioner.rb in executioner-0.2.0 vs lib/executioner.rb in executioner-0.3.0
- old
+ new
@@ -3,10 +3,10 @@
module Executioner
class ExecutionerError < StandardError; end
class ProcessError < ExecutionerError; end
class ExecutableNotFoundError < ExecutionerError; end
- SEARCH_PATHS = %w{ /bin /usr/bin /usr/local/bin /opt/local/bin }
+ SEARCH_PATHS = %W{ #{File.expand_path('~/bin')} /bin /usr/bin /usr/local/bin /opt/homebrew/bin /opt/local/bin }
class << self
attr_accessor :logger
def included(klass)
\ No newline at end of file