lib/generators/sufia/models/templates/config/sufia.rb in sufia-models-4.0.0.beta1 vs lib/generators/sufia/models/templates/config/sufia.rb in sufia-models-4.0.0.beta2

- old
+ new

@@ -78,10 +78,14 @@ # Specify the path to the file characterization tool: # config.fits_path = "fits.sh" # If browse-everything has been configured, load the configs. Otherwise, set to nil. begin - config.browse_everything = BrowseEverything.config + if defined? BrowseEverything + config.browse_everything = BrowseEverything.config + else + logger.warn "BrowseEverything is not installed" + end rescue Errno::ENOENT config.browse_everything = nil end end