Check for complete ruby_install_path before installing

Hi benben, I made a little patch that aims for avoiding the ruby install step in case I set the install_dir flag to false. Thanks!