Add error handling to 'rake install'