bin/nanoc in nanoc-3.3.0 vs bin/nanoc in nanoc-3.3.1
- old
+ new
@@ -1,7 +1,14 @@
#!/usr/bin/env ruby
# encoding: utf-8
+# Try loading bundler if it's possible
+begin
+ require 'bundler/setup'
+rescue LoadError
+ # no problem
+end
+
# Add lib to load path
$LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__) + '/../lib'))
# Load nanoc
require 'nanoc'