Remove ruby 3.1 autocomplete feature for heroku console

62 Views Asked by At

The autocomplete feature from Ruby 3.1 is really nice on local environment but makes the one-off Heroku dyno really slow. How could I remove the autocompletion with an .irbrc file?

I tried something like

# .irbrc

require 'irb/completion'

IRB.conf[:USE_AUTOCOMPLETE] = false

but it seems not reading the .irbrc file.

I saw also that irb can take a --noautocomplete argument but I didn't manage to pass it to rails c

0

There are 0 best solutions below