Sha256: 1ce7c53799bbbb3dec672cbf0670a3d77c4e836a35515995a06fd009ff604c2b

Contents?: true

Size: 368 Bytes

Versions: 428

Compression:

Stored size: 368 Bytes

Contents

class Object
  # Makes backticks behave (somewhat more) similarly on all platforms.
  # On win32 `nonexistent_command` raises Errno::ENOENT; on Unix, the
  # spawned shell prints a message to stderr and sets $?. We emulate
  # Unix on the former but not the latter.
  def `(command) #:nodoc:
    super
  rescue Errno::ENOENT => e
    STDERR.puts "#$0: #{e}"
  end
end

Version data entries

428 entries across 375 versions & 42 rubygems

Version Path
lazy_record-0.1.1 vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/kernel/agnostics.rb
lazy_record-0.1.0 vendor/bundle/gems/activesupport-5.0.2/lib/active_support/core_ext/kernel/agnostics.rb
activesupport-5.0.2 lib/active_support/core_ext/kernel/agnostics.rb
activesupport-5.0.2.rc1 lib/active_support/core_ext/kernel/agnostics.rb
activesupport-5.1.0.beta1 lib/active_support/core_ext/kernel/agnostics.rb
activesupport-4.2.8 lib/active_support/core_ext/kernel/agnostics.rb
activesupport-4.2.8.rc1 lib/active_support/core_ext/kernel/agnostics.rb
autocompl-0.2.2 test/dummy/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/core_ext/kernel/agnostics.rb
autocompl-0.2.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/core_ext/kernel/agnostics.rb
autocompl-0.2.0 test/dummy/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/core_ext/kernel/agnostics.rb
autocompl-0.1.2 test/dummy/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/core_ext/kernel/agnostics.rb
autocompl-0.1.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/core_ext/kernel/agnostics.rb
autocompl-0.1.0 test/dummy/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/core_ext/kernel/agnostics.rb
autocompl-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/core_ext/kernel/agnostics.rb
abaci-0.3.0 vendor/bundle/gems/activesupport-5.0.1/lib/active_support/core_ext/kernel/agnostics.rb
abaci-0.3.0 vendor/bundle/gems/activesupport-5.0.0/lib/active_support/core_ext/kernel/agnostics.rb
activesupport-5.0.1 lib/active_support/core_ext/kernel/agnostics.rb
activesupport-5.0.1.rc2 lib/active_support/core_ext/kernel/agnostics.rb
activesupport-5.0.1.rc1 lib/active_support/core_ext/kernel/agnostics.rb
second_step-0.1.2 secondstep-notify-1.0.0-osx/lib/ruby/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.1/lib/active_support/core_ext/kernel/agnostics.rb