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

warn: can't alias context from irb_context #3

Closed
r7kamura opened this issue Dec 6, 2022 · 0 comments · Fixed by #4
Closed

warn: can't alias context from irb_context #3

r7kamura opened this issue Dec 6, 2022 · 0 comments · Fixed by #4

Comments

@r7kamura
Copy link

r7kamura commented Dec 6, 2022

I encountered an issue with this gem that running require 'rspec/core' before loading user's RSpec configuration will cause the following warning:

irb: warn: can't alias context from irb_context.

require "rspec/core"

To reproduce this, try the following command with this gem:

$ bin/rails c -e test
Loading test environment (Rails 7.0.4)
irb: warn: can't alias context from irb_context.
irb(main):001:0>

I think this is a same issue with as follows, but I don't know how to workaround this on ci_logger gem.

So, can you please fix this in some appropriate way @willnet? This issue is also occurring in the Rails app of the company we participate in.

willnet added a commit that referenced this issue Dec 6, 2022
@willnet willnet closed this as completed in #4 Dec 6, 2022
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 a pull request may close this issue.

1 participant