Skip to content
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

Fix undefined method 'platform' for nil::NilClass in ruby processes when gem cleanup is run. #1333

Merged
merged 1 commit into from
Sep 25, 2015

Conversation

pdrakeweb
Copy link
Contributor

No description provided.

FileUtils.rm_rf(File.join @default_spec_dir, "#{b1.full_name}.gemspec")

# Require gems that have not been removed.
assert_require 'a/b'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Run against the current master code, this raises the "undefined method 'platform'" exception. With the changes in this PR, it passes (no exception is raised).

@djberg96
Copy link
Contributor

Looks good to me.

djberg96 added a commit that referenced this pull request Sep 25, 2015
Fix undefined method 'platform' for nil::NilClass in ruby processes when gem cleanup is run.
@djberg96 djberg96 merged commit 06288e3 into rubygems:master Sep 25, 2015
djberg96 added a commit that referenced this pull request Sep 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants