Created
December 20, 2013 21:54
-
-
Save gordonsyme/8062293 to your computer and use it in GitHub Desktop.
A list of Ruby versions with the "exceptions reset exit codes" bug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ruby versions with the bug that resets non-zero exit codes if an exception | |
is raised in an at_exit block. See http://bugs.ruby-lang.org/issues/5218 | |
ruby-1.9.2-p0 | |
ruby-1.9.2-p136 | |
ruby-1.9.2-p180 | |
ruby-1.9.2-p290 | |
ruby-1.9.2-p320 | |
ruby-1.9.3-p0 | |
ruby-1.9.3-p0-falcon | |
ruby-1.9.3-p125 | |
ruby-1.9.3-p194 | |
ruby-1.9.3-p194-falcon | |
ruby-1.9.3-p286 | |
ruby-1.9.3-p327 | |
ruby-1.9.3-p327-falcon | |
ruby-1.9.3-p327-railsexpress | |
ruby-1.9.3-p362 | |
ruby-1.9.3-p374 | |
ruby-1.9.3-p385 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Sample Ruby script from http://bugs.ruby-lang.org/issues/5218 that triggers the bug | |
# This script will exit 0 if the bug is present | |
at_exit do | |
raise "X" rescue nil | |
end | |
at_exit do | |
nil | |
end | |
at_exit do | |
exit 1 | |
end | |
at_exit do | |
exit 2 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment