Make :remove visible regardless of rbenv's state

This commit is contained in:
Henrik Lissner 2014-06-20 03:09:22 -04:00
parent 93952d41ec
commit 45b8eac4af

View file

@ -31,8 +31,10 @@ namespace :rbenv do
end end
end end
if Rbenv.is_installed? task :remove do
task :remove do if Rbenv.is_installed?
echo "rbenv isn't installed!"
else
echo "Deleting rbenv" echo "Deleting rbenv"
Rbenv.destroy Rbenv.destroy
end end