Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
diff --git a/kernel/common/native_method.rb b/kernel/common/native_method.rb index 438e47e..2e9c47f 100644 --- a/kernel/common/native_method.rb +++ b/kernel/common/native_method.rb @@ -26,6 +26,8 @@ module Rubinius if e.message =~ some_mri_globals raise LoadError::MRIExtensionError, "Extension compiled for MRI - #{library}" + else + raise e end end
This paste will be private.
From the Design Piracy series on my blog: