Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Prevent JRuby build failure by sending to Kernel.require #492

Merged
merged 2 commits into from
Jan 28, 2021

Conversation

JonRowe
Copy link
Member

@JonRowe JonRowe commented Jan 28, 2021

I have no idea why this has started happening on a pre-existing version of JRuby but:

/home/runner/work/rspec-mocks/rspec-mocks/bin/rspec
NoMethodError: private method `require' called for Kernel:Module
Did you mean?  java_require
                require_relative at uri:classloader:/jruby/kernel/kernel.rb:13
                block in Support at /home/runner/work/rspec-mocks/rspec-mocks/bundle/jruby/2.3.0/bundler/gems/rspec-support-cb494ebc9ce9/lib/rspec/support.rb:28

Some Googling suggests this was once upon a problem for JRuby 1.7 but 😕

@JonRowe JonRowe force-pushed the bugfix-for-jruby branch 2 times, most recently from 19627bf to c2e0ec8 Compare January 28, 2021 22:17
@JonRowe JonRowe merged commit 48e2a3d into main Jan 28, 2021
@JonRowe JonRowe deleted the bugfix-for-jruby branch January 28, 2021 22:34
JonRowe added a commit that referenced this pull request Jan 28, 2021
Prevent JRuby build failure by sending to Kernel.require
@pirj
Copy link
Member

pirj commented Jan 29, 2021

Thanks for dealing with it!

yujinakayama pushed a commit to yujinakayama/rspec-monorepo that referenced this pull request Oct 6, 2021
…x-for-jruby

Prevent JRuby build failure by sending to Kernel.require

---
This commit was imported from rspec/rspec-support@48e2a3d.
yujinakayama pushed a commit to yujinakayama/rspec-monorepo that referenced this pull request Oct 6, 2021
…x-for-jruby

Prevent JRuby build failure by sending to Kernel.require

---
This commit was imported from rspec/rspec-support@b39cedd.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants