Project

General

Profile

Actions

Bug #14913

closed

IRB console colours not configured with wirb 2.x

Added by Dominic Cleal almost 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Rails
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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


Related issues 1 (0 open1 closed)

Related to Foreman - Refactor #14876: Permit wirb 2.x on Ruby 2.0 or higherClosedDominic Cleal04/29/2016Actions
Actions #1

Updated by Dominic Cleal almost 8 years ago

Actions #2

Updated by Dominic Cleal almost 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.

Actions #3

Updated by The Foreman Bot almost 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
Actions #4

Updated by Dominic Cleal almost 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF