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 rubygems LoadError. #1445

Closed

Conversation

junaruga
Copy link
Contributor

I got below error on my local environment.

$ bundle exec rake test
Traceback (most recent call last):
  1: from /usr/local/ruby-2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/usr/local/ruby-2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require': cannot load such file -- ubygems (LoadError)
rake aborted!
Command failed with status (1)
/home/jaruga/git/sinatra/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/exe/rake:27:in `<top (required)>'
/usr/local/ruby-2.5.1/bin/bundle:23:in `load'
/usr/local/ruby-2.5.1/bin/bundle:23:in `<main>'
Tasks: TOP => test
(See full trace by running task with --trace)

This logic is old when rubygem was not included as a stdlib, isn't it?
I removed this logic :)
How do you think?

@dentarg
Copy link
Member

dentarg commented Jun 11, 2018

There is already a fix for this at #1436

@junaruga
Copy link
Contributor Author

@dentarg thanks for the info. I would close this ticket.

@junaruga junaruga closed this Jun 11, 2018
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.

None yet

2 participants