Make :remove visible regardless of rbenv's state
This commit is contained in:
parent
93952d41ec
commit
45b8eac4af
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue