# File lib/rbg.rb, line 326 def stop(config_file, options = {}) options[:environment] ||= "development" $rbg_env = options[:environment].dup # Define the config file then load it self.config_file = config_file self.load_config pid = self.pid_from_file begin Process.kill('TERM', pid) say "Sent TERM to PID #{pid}" rescue raise Error, "Process #{pid} not found" end end