# File lib/picnic.rb, line 100 def start_picnic require 'picnic/postambles' self.extend self::Postambles if $PID_FILE && !(self::Conf.server.to_s == 'mongrel' || self::Conf.server.to_s == 'webrick') $LOG.warn("Unable to create a pid file. You must use mongrel or webrick for this feature.") end puts "\nStarting with configuration: #{$CONF.to_yaml}" puts # begin raise NoMethodError if self::Conf.server.nil? send(self::Conf.server) # rescue NoMethodError => e # # FIXME: this rescue can sometime report the incorrect error messages due to other underlying problems # # raising a NoMethodError # if Fluxr::Conf.server # raise e, "The server setting '#{Fluxr::Conf.server}' in your config.yml file is invalid." # else # raise e, "You must have a 'server' setting in your config.yml file. Please see the Fluxr documentation." # end # end end