This Question is Possibly Answered

1 "correct" answer available (4 pts) 1 "helpful" answer available (2 pts)
1 Replies Last post: Jan 27, 2013 9:54 PM by Oleg Sukhodolsky  
erwann legrand Newbie 41 posts since
Jun 1, 2009
Currently Being Moderated

Jan 27, 2013 6:20 PM

How to display added gems in color?

Hi,

 

When I install a new gem with bundler, I'd like to show the installed gems in a different color

ex.

...

Using diff-lcs (1.1.3)                           <-- white
Installing factory_girl (4.1.0)                <-- white but a green color for example would be more visualy appealing
Installing factory_girl_rails (4.1.0)        <-- white but a green color for example would be more visualy appealing

...

 

since the line "Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed." is already green, I suppose it's not a big task to do. Is it possible to do it?

 

Thanks

Oleg Sukhodolsky JetBrains 388 posts since
Apr 4, 2012
Currently Being Moderated
Jan 27, 2013 9:54 PM in response to: erwann legrand
Re: How to display added gems in color?

HI,

 

it is not a RubyMine, but  bundler who adds colors to the output (you will see the same colors in terminal if it support colors)

So, we can not add more colors here

 

Regards, Oleg.

More Like This

  • Retrieving data ...