Permalink
Browse files

Also works in rubinius

  • Loading branch information...
1 parent c83f631 commit 603c8d8c1984926333130186223b2041076ea142 Darrick Wiebe committed Sep 21, 2011
Showing with 2 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +1 −1 lib/nested_exceptions.rb
View
@@ -3,3 +3,4 @@
Gemfile.lock
pkg/*
bin
+.rbx
View
@@ -10,7 +10,7 @@ def initialize(message = nil, cause = nil)
super(message)
end
- if Object.const_defined? :RUBY_ENGINE and RUBY_ENGINE == 'jruby'
+ if Object.const_defined? :RUBY_ENGINE and RUBY_ENGINE == 'jruby' or RUBY_ENGINE == 'rbx'
def backtrace
return @processed_backtrace if defined? @processed_backtrace and @processed_backtrace
@processed_backtrace = process_backtrace(super)

0 comments on commit 603c8d8

Please sign in to comment.