public
Fork of NZKoz/koz-rails
Description: Koz's rails git-svn clone
Homepage: http://www.rubyonrails.org
Clone URL: git://github.com/eventualbuddha/koz-rails.git
Search Repo:
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
david (author)
Sun Mar 06 09:37:49 -0800 2005
commit  a252d90d8f21dae9610db3f5251fc4ed6a2975e5
tree    53c4441d9871d90e63cd18109daa3c70bf418890
parent  eec3724dc063e7de6cc9b905ccf863c3df5b067b
...
1
2
 
 
3
4
5
...
1
2
3
4
5
6
7
0
@@ -1,5 +1,7 @@
0
 *SVN*
0
 
0
+* Added exception shallowing if the DRb server can't be started (not worth making a fuss about to distract new users) #779 [Tobias Luetke]
0
+
0
 * Added an empty favicon.ico file to the public directory of new applications (so the logs are not spammed by its absence)
0
 
0
 * Fixed that scaffold generator new template should use local variable instead of instance variable #778 [Dan Peterson]
...
40
41
42
43
 
44
45
46
...
40
41
42
 
43
44
45
46
0
@@ -40,7 +40,7 @@ class Dispatcher
0
     private
0
       def prepare_application
0
         ActionController::Routing::Routes.reload if Dependencies.load?
0
- Breakpoint.activate_drb("druby://localhost:#{BREAKPOINT_SERVER_PORT}", nil, !defined?(FastCGI)) if defined?(BREAKPOINT_SERVER_PORT)
0
+ Breakpoint.activate_drb("druby://localhost:#{BREAKPOINT_SERVER_PORT}", nil, !defined?(FastCGI)) if defined?(BREAKPOINT_SERVER_PORT) rescue nil
0
         Controllers.const_load!(:ApplicationController, "application") unless Controllers.const_defined?(:ApplicationController)
0
       end
0
     

Comments

    No one has commented yet.