Actions
Bug #14913
closedIRB console colours not configured with wirb 2.x
Description
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.
Files
Updated by Dominic Cleal over 8 years ago
- Related to Refactor #14876: Permit wirb 2.x on Ruby 2.0 or higher added
Updated by Dominic Cleal over 8 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 Wirb.start
with 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.
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Assignee set to Dominic Cleal
- Pull request https://github.com/theforeman/foreman/pull/3585 added
Updated by Dominic Cleal over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset b28c934be39bce48a2e7ed48d3093557903193d6.
Actions