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 error when running rspec-rails tests #1393

Conversation

deivid-rodriguez
Copy link

I was getting the following error during nokogiri installation when running rspec-rails tests

extconf.rb:396:in `<main>': undefined method `gem' for main:Object

I think this should fix it.

deivid-rodriguez pushed a commit to deivid-rodriguez/rspec-rails that referenced this pull request Dec 9, 2015
I don't think this is worth the performance benefit and dependent gems
are requiring `rubygems` anyways.
deivid-rodriguez pushed a commit to deivid-rodriguez/rspec-rails that referenced this pull request Dec 9, 2015
I don't think this is worth the performance benefit and dependent gems
are requiring `rubygems` anyways.
```
extconf.rb:396:in `<main>': undefined method `gem' for main:Object
```
@deivid-rodriguez
Copy link
Author

Closing since it's been fixed in the rspec-rails side.

@deivid-rodriguez deivid-rodriguez deleted the fix_rspec_rails_problem branch January 6, 2016 09:19
larskanis added a commit that referenced this pull request Jan 19, 2016
Dont assume rubygems is loaded before using gem command.

This fixes issue #1393 .
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.

1 participant