bin/nanoc in nanoc-4.7.13 vs bin/nanoc in nanoc-4.7.14
- old
+ new
@@ -1,8 +1,15 @@
#!/usr/bin/env ruby
# frozen_string_literal: true
require 'nanoc'
+
+begin
+ require 'nanoc-rust'
+ NanocRust.activate!
+rescue LoadError
+end
+
require 'nanoc/cli'
if File.file?('Gemfile') && !defined?(Bundler)
warn 'A Gemfile was detected, but Bundler is not loaded. This is probably not what you want. To run Nanoc with Bundler, use `bundle exec nanoc`.'
end