From dbb6403923ff1f20d0a3090041043d16740450f7 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 6 Mar 2005 17:37:49 +0000 Subject: Added exception shallowing if the DRb server can't be started (not worth making a fuss about to distract new users) #779 [Tobias Luetke] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@864 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/CHANGELOG | 2 ++ railties/lib/dispatcher.rb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/railties/CHANGELOG b/railties/CHANGELOG index f6ae399f42..a2d14abf01 100644 --- a/railties/CHANGELOG +++ b/railties/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Added exception shallowing if the DRb server can't be started (not worth making a fuss about to distract new users) #779 [Tobias Luetke] + * Added an empty favicon.ico file to the public directory of new applications (so the logs are not spammed by its absence) * Fixed that scaffold generator new template should use local variable instead of instance variable #778 [Dan Peterson] diff --git a/railties/lib/dispatcher.rb b/railties/lib/dispatcher.rb index 275c062ffe..140d8e84a3 100644 --- a/railties/lib/dispatcher.rb +++ b/railties/lib/dispatcher.rb @@ -40,7 +40,7 @@ class Dispatcher private def prepare_application ActionController::Routing::Routes.reload if Dependencies.load? - Breakpoint.activate_drb("druby://localhost:#{BREAKPOINT_SERVER_PORT}", nil, !defined?(FastCGI)) if defined?(BREAKPOINT_SERVER_PORT) + Breakpoint.activate_drb("druby://localhost:#{BREAKPOINT_SERVER_PORT}", nil, !defined?(FastCGI)) if defined?(BREAKPOINT_SERVER_PORT) rescue nil Controllers.const_load!(:ApplicationController, "application") unless Controllers.const_defined?(:ApplicationController) end -- cgit v1.2.3