diff options
author | ytti <saku@ytti.fi> | 2014-07-14 19:48:57 +0300 |
---|---|---|
committer | ytti <saku@ytti.fi> | 2014-07-14 19:48:57 +0300 |
commit | 485d8796ec67aa4ade1ab125e2939bd42df1aca3 (patch) | |
tree | d52f5a191cca142936d8785ebbf9cfa38246e443 /lib | |
parent | 28eb67d7751e804df0c5d68e96a0f5717370e802 (diff) | |
parent | 50de601a75e0a064187cd51971b610d9891d4fef (diff) |
Merge pull request #24 from RichiH/patch-5
core.rb: Improve error message
Diffstat (limited to 'lib')
-rw-r--r-- | lib/oxidized/core.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/core.rb b/lib/oxidized/core.rb index c9526e0..ba46f3a 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 - or disable it by settings rest: false inconfig' + raise OxidizedError, 'oxidized-web not found: sudo gem install oxidized-web - or disable web support by setting "rest: false" in your configuration' end @rest = API::Web.new nodes, CFG.rest @rest.run |