The install fails at the end of the make process when scanning dependencies of target egg.
It is the only way I found to make it work. 
See https://github.com/Homebrew/homebrew/issues/25512 for more info.