Method: Bundler::Thor::Actions#run_ruby_script

Defined in:
lib/bundler/vendor/thor/lib/thor/actions.rb

#run_ruby_script(command, config = {}) ⇒ Object

Executes a ruby script (taking into account WIN32 platform quirks).

Parameters

command<String>

the command to be executed.

config<Hash>

give :verbose => false to not log the status.



285
286
287
288
# File 'lib/bundler/vendor/thor/lib/thor/actions.rb', line 285

def run_ruby_script(command, config = {})
  return unless behavior == :invoke
  run command, config.merge(with: Bundler::Thor::Util.ruby_command)
end