Sha256: e880d30d9d3a68d4e75c11f39d39b3e4b0491a093648ff154a9299f948b77a75

Contents?: true

Size: 368 Bytes

Versions: 392

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

392 entries across 359 versions & 35 rubygems

Version Path
dirty_history-0.6.7 dirty_history/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/core_ext/kernel/agnostics.rb
dirty_history-0.6.6 dirty_history/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/core_ext/kernel/agnostics.rb
dirty_history-0.6.5 dirty_history/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/core_ext/kernel/agnostics.rb
abiquo-etk-0.6.3 vendor/activesupport-2.3.8/lib/active_support/core_ext/kernel/agnostics.rb
dirty_history-0.6.4 dirty_history/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/core_ext/kernel/agnostics.rb
activesupport-3.1.8 lib/active_support/core_ext/kernel/agnostics.rb
activesupport-3.0.17 lib/active_support/core_ext/kernel/agnostics.rb
dirty_history-0.6.3 dirty_history/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/core_ext/kernel/agnostics.rb
activesupport-3.1.7 lib/active_support/core_ext/kernel/agnostics.rb
activesupport-3.0.16 lib/active_support/core_ext/kernel/agnostics.rb
abiquo-etk-0.6.2 vendor/activesupport-2.3.8/lib/active_support/core_ext/kernel/agnostics.rb
dirty_history-0.6.2 dirty_history/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/core_ext/kernel/agnostics.rb
dirty_history-0.6.1 dirty_history/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/core_ext/kernel/agnostics.rb
dirty_history-0.6.0 dirty_history/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/core_ext/kernel/agnostics.rb
activesupport-3.0.15 lib/active_support/core_ext/kernel/agnostics.rb
activesupport-3.1.6 lib/active_support/core_ext/kernel/agnostics.rb
activesupport-3.0.14 lib/active_support/core_ext/kernel/agnostics.rb
dirty_history-0.5.4 dirty_history/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/core_ext/kernel/agnostics.rb
activesupport-3.1.5 lib/active_support/core_ext/kernel/agnostics.rb
activesupport-3.0.13 lib/active_support/core_ext/kernel/agnostics.rb