bin/nanoc in nanoc-3.7.0 vs bin/nanoc in nanoc-3.7.1
- old
+ new
@@ -2,10 +2,14 @@
# encoding: utf-8
# Try loading bundler if it's possible
begin
require 'bundler/setup'
- Bundler.require(:default)
+ begin
+ Bundler.require(:default)
+ rescue Bundler::GemfileNotFound
+ # no problem
+ end
rescue LoadError
# no problem
end
# Add lib to load path