Fix failure travis CI#43

undefined method `which'