lib/rip/commands/install.rb in rip-0.0.1 vs lib/rip/commands/install.rb in rip-0.0.2
- old
+ new
@@ -2,11 +2,13 @@
module Commands
x 'Checks that your rip installation is valid.'
def check(*args)
Setup.check_installation
ui.puts "All systems go."
+ rescue Setup::StaleEnvironmentError, Setup::InstallationError => e
+ ui.puts e.message
rescue => e
- ui.abort "Installation failed: #{e.message}"
+ ui.puts "Installation failed: #{e.message}"
end
o 'rip install SOURCE [options]'
x 'Installs a package from SOURCE.'
x '-f forces installation (overwrites existing)'