update-alternatives will be called only if ruby/gem versions are incorrect