Only install dep gem if necessary