lib/octopress/commands/docs.rb in octopress-3.0.0.rc.29 vs lib/octopress/commands/docs.rb in octopress-3.0.0.rc.30
- old
+ new
@@ -21,10 +21,13 @@
def self.serve_docs(options)
# Activate dependencies for serving docs.
#
options = Docs.load_docs(options)
- Octopress::Ink.load_plugin_assets = false
+
+ if defined? Octopress::Ink
+ Octopress::Ink.load_plugin_assets = false
+ end
Jekyll.logger.log_level = :error
Jekyll::Commands::Build.process(options)
url = "http://#{options['host']}:#{options['port']}"