From 1dae1df030f06f97c38cd928f13fd8319aca4cfb Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Sun, 13 Jul 2014 21:15:05 +0300 Subject: Explain how to disable oxidized-web if load error Ratioinale is, we want to keep it default, but it should be easy for people to understand what to do, if they don't want it. Closes #17 --- lib/oxidized/core.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/oxidized/core.rb') diff --git a/lib/oxidized/core.rb b/lib/oxidized/core.rb index 8b7b45e..c9526e0 100644 --- a/lib/oxidized/core.rb +++ b/lib/oxidized/core.rb @@ -21,7 +21,7 @@ module Oxidized begin require 'oxidized/web' rescue LoadError - raise OxidizedError, 'oxidized-web not found: sudo gem install oxidized-web' + raise OxidizedError, 'oxidized-web not found: sudo gem install oxidized-web - or disable it by settings rest: false inconfig' end @rest = API::Web.new nodes, CFG.rest @rest.run -- cgit v1.2.1