From f5137850e46dd971bcc542f486fd79aa589967a1 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Sun, 3 Feb 2013 01:24:38 +0100 Subject: [PATCH] Using abort instead of puts & exit when jekyll-import gem isn't available. --- bin/jekyll | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/jekyll b/bin/jekyll index 6be36369..4bc8fc0f 100755 --- a/bin/jekyll +++ b/bin/jekyll @@ -68,8 +68,7 @@ command :import do |c| begin require 'jekyll-import' rescue - puts "You must install the 'jekyll-import' gem before continuing." - exit(-1) + abort "You must install the 'jekyll-import' gem before continuing." end Jekyll::Commands::Import.process(args.first, options) end