summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2014-07-13 21:15:05 +0300
committerSaku Ytti <saku@ytti.fi>2014-07-13 21:15:05 +0300
commit1dae1df030f06f97c38cd928f13fd8319aca4cfb (patch)
tree047231d0a690b0187916fc98621ceeed16ad2010
parent2110aa95c4ad9474f5e1967986809d452b39139f (diff)
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
-rw-r--r--lib/oxidized/core.rb2
1 files changed, 1 insertions, 1 deletions
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