-
Notifications
You must be signed in to change notification settings - Fork 726
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
Ruby 3.2 autocompletion in console #831
Comments
what is the code that make it crash? |
After re-try it's seems, at lest, crash when I write dot after non existente var. So launch console, type : test.to_s |
I can't re-pro this rails 7 ruby 3.2 install whenever with do rails c type non-existent/not declared variable
|
same problem, when I write in rails console crashed when I was starting write |
I ran into this issue as well. Love Whenever, but this definitely annoying 😞 |
@buncis Try with just Same issue for me here, The proposed workaround by @hirogeek works in the mean time, issue being that Steps to reproduce
Stracktrace screenshots |
Please take a look at #830 |
I can confirm behaviour @DavidAmyot sees with an identical set-up, save for the fact that gemfile versions If one is adamant about versioning gems, thus |
This commits works around a bug in the whenever gem that has begun crashing the Rails console when doing auto-complete under Ruby 3.2: javan/whenever#831
This commits works around a bug in the whenever gem that has begun crashing the Rails console when doing auto-complete under Ruby 3.2: javan/whenever#831
I've update my rails 7 app with ruby 3.2. When I launch console and up arrow to search in my history some line crash with this error
whenever-1.0.0/lib/whenever/job_list.rb:41:in
respond_to?': undefined method
has_key?' for nil:NilClass (NoMethodError)I've fix this with a dirty workaround initializer :
https://gist.github.com/hirogeek/1c6d511a77ec3b15dea8a0db0a11fb1c
The text was updated successfully, but these errors were encountered: