lib/nanoc/cli.rb in nanoc-3.4.0 vs lib/nanoc/cli.rb in nanoc-3.4.1

- old
+ new

@@ -1,7 +1,13 @@ # encoding: utf-8 -require 'cri' +begin + require 'cri' +rescue LoadError => e + $stderr.puts e + $stderr.puts "If you are using a Gemfile, make sure that the Gemfile contains nanoc ('gem \"nanoc\"')." + exit 1 +end module Nanoc::CLI module Commands end