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

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

Open
pavelz opened this issue Apr 24, 2017 · 1 comment
Open

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

pavelz opened this issue Apr 24, 2017 · 1 comment

Comments

@pavelz
Copy link

pavelz commented Apr 24, 2017

When including guard-rspec and launching rails console the warning above shows up.

If of any help I've added rspec to test group and it generated the same message. I have rspec-rails in there and it seems to require rspec and does not produce the warning. guard-rails is required by default rails setup so I've decided that it is more relevant here. rspec-rails had same issue as well:

rspec-rails issue #1693

@ac21
Copy link

ac21 commented Apr 12, 2018

if you add a require: false, this seems to solve it. e.g.

# Gemfile
...
gem 'guard-rspec', '~> 4.7.3', require: false
...

this works for me in solving the problem.

keithpitty added a commit to keithpitty/kpdotcom that referenced this issue Mar 5, 2019
This gets rid of the warning message that was appearing when the rails
console was started as per
guard/guard-rspec#396.
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

No branches or pull requests

2 participants