Skip to content

Commit

Permalink
Nicer error message when open4 dependency isn't installed
Browse files Browse the repository at this point in the history
  • Loading branch information
defunkt committed Sep 28, 2009
1 parent 25e6a36 commit 5373faf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/cijoe.rb
Expand Up @@ -13,7 +13,12 @@
#
# Seriously, I'm gonna be nuts about keeping this simple.

require 'open4'
begin
require 'open4'
rescue LoadError
abort "** Please install open4"
end

require 'cijoe/version'
require 'cijoe/config'
require 'cijoe/commit'
Expand Down

0 comments on commit 5373faf

Please sign in to comment.