Sha256: b24af7f19072264e512537d5a8cbef6fdc27f061b68d47d75c44f522c7aa2b57

Contents?: true

Size: 644 Bytes

Versions: 12

Compression:

Stored size: 644 Bytes

Contents

#!/usr/bin/env ruby

title = "ruby #{ARGV*" "}"
$0    = ARGV.shift
Process.setproctitle(title) if Process.methods.include?(:setproctitle)

require 'rubygems'
begin
  require 'executable-hooks/hooks'
  Gem::ExecutableHooks.run($0)
rescue LoadError
  warn "unable to load executable-hooks/hooks" if ENV.key?('ExecutableHooks_DEBUG')
end unless $0.end_with?('/executable-hooks-uninstaller')

content = File.read($0)

if
  (index = content.index("\n#!ruby\n")) && index > 0
then
  skipped_content = content.slice!(0..index)
  start_line = skipped_content.count("\n") + 1
  eval content, binding, $0, start_line
else
  eval content, binding, $0
end

Version data entries

12 entries across 12 versions & 5 rubygems

Version Path
date_n_time_picker_activeadmin-0.1.2 vendor/bundle/ruby/2.6.0/bin/ruby_executable_hooks
date_n_time_picker_activeadmin-0.1.1 vendor/bundle/ruby/2.6.0/bin/ruby_executable_hooks
coingecko_client-0.1.2 vendor/bundle/ruby/2.7.0/bin/ruby_executable_hooks
cli-nasa-0.1.1 vendor/bundle/ruby/2.7.0/bin/ruby_executable_hooks
cli-nasa-0.1.0 vendor/bundle/ruby/2.7.0/bin/ruby_executable_hooks
coingecko_client-0.1.1 vendor/bundle/ruby/2.7.0/bin/ruby_executable_hooks
coingecko_client-0.1.0 vendor/bundle/ruby/2.7.0/bin/ruby_executable_hooks
logstash-output-scalyr-0.1.5 vendor/bundle/jruby/2.5.0/bin/jruby_executable_hooks
logstash-output-scalyr-0.1.4 vendor/bundle/jruby/2.5.0/bin/jruby_executable_hooks
logstash-output-scalyr-0.1.3 vendor/bundle/jruby/2.5.0/bin/jruby_executable_hooks
executable-hooks-1.6.0 bin/ruby_executable_hooks
executable-hooks-1.5.0 bin/ruby_executable_hooks