Skip to content

warn: can't alias context from irb_context #3

@r7kamura

Description

@r7kamura

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions