fix `which ruby` returen with linefeed.
update version