-
-
Notifications
You must be signed in to change notification settings - Fork 757
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only set $SAFE for MRI in spec helper #2684
Conversation
Should this be updated as well? and possibly used here? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For CI failure: !defined?(RUBY_ENGINE) || RUBY_ENGINE == 'ruby'
as per rspec-support
's implementation should work.
Regarding rspec-support
- I could only find supports_taint?
to be used once across RSpec projects, in rspec-core
. I would expect that example to fail on JRuby, but it doesn't for some reason.
a868e12
to
f357247
Compare
Thanks @pirj , I updated to |
Thanks! I'll take another look later today. |
Actually, I've re-started that failed job and it's all green now. |
@JonRowe Please take a look. |
LGTM I trust you two on this |
Only set $SAFE for MRI in spec helper
This PR is to set
$SAFE
only for MRI as I think other engines do not support$SAFE
.