0

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

Holger Just
  • 52,918
  • 14
  • 115
  • 123
yoLotus
  • 183
  • 2
  • 9

0 Answers0