IRB console colours not configured with wirb 2.x
Since #14876, the console colours when using wirb 2.x are not working. It appears that Wirb.start isn't configured correctly during the console setup sequence, but it works when called from the started IRB session.
fixes #14913 - configure Hirb/Wirb via irbrc
Wirb 2.x can't be started before the IRB session itself, so use an irbrc
file per its docs to activate it and Hirb when starting a console.
#2 Updated by Dominic Cleal about 6 years ago
I filed https://github.com/janlelis/wirb/issues/12 for the issue, but I think using an irbrc might be the more reliable option - e.g. replace
ENV['IRBRC'] = 'config/irbrc', as IRB will call it at the correct time.
It looks like the inspect mode set by Wirb.start will always get overwritten by IRB.start, and it's not easy to change the order.