bin/jgd in jgd-1.1 vs bin/jgd in jgd-1.2

- old
+ new

@@ -17,6 +17,8 @@ end spec = Gem::Specification.find_by_name("jgd") root = spec.gem_dir script = File.join(root, 'bash/deploy.sh') -system("#{script} #{url}") +if !system("#{script} #{url}") + raise "deployment failed, see log above" +end