Can't upgrade and use normally: "egrep: conflicting matchers specified"

723 views
Skip to first unread message

Lucas Húngaro

unread,
Aug 18, 2010, 6:35:54 PM8/18/10
to rvm (Ruby Version Manager)
I can't use any rvm version newer than 0.7 because I can't set a
default ruby. The only symptom I can see is the following warning
(displayed after any operation with rvm):

$ rvm 1.9.2
egrep: conflicting matchers specified
egrep: conflicting matchers specified

$ rvm --default 1.9.1
egrep: conflicting matchers specified
egrep: conflicting matchers specified

I've already tried an "implode" and reinstalled everything. Twice.

Any clues?

Charlie Tanksley

unread,
Aug 19, 2010, 4:21:24 PM8/19/10
to rubyversi...@googlegroups.com

I had this same problem. I'm pretty sure my issue was caused by an
alias of grep to egrep in my .zshrc. Perhaps the same thing is causing
your problem.

Charlie

Lucas Húngaro

unread,
Aug 19, 2010, 7:00:44 PM8/19/10
to rvm (Ruby Version Manager)
Wow! I really want to thank you, this was driving me nuts!

The offending alias (was on my .bash_profile):

alias grep='egrep --color'

Thank you again! :)

On Aug 19, 5:21 pm, Charlie Tanksley <charlie.tanks...@gmail.com>
wrote:

Wayne E. Seguin

unread,
Aug 21, 2010, 12:04:32 PM8/21/10
to rubyversi...@googlegroups.com
rvm update --head

This should also be adressed now such that RVM will skip the aliases
if they exist.

~Wayne

Lucas Húngaro

unread,
Aug 23, 2010, 12:00:26 AM8/23/10
to rvm (Ruby Version Manager)
Nice! Just updated and now I'm able to use the alias again. Thank you!
Reply all
Reply to author
Forward
0 new messages