From eb952e1e947a76efed95e024acf3002be2dc711e Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 12 Dec 2004 17:22:35 +0000 Subject: Only start the breakpoint server when included by dispatchers git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@128 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/environments/development.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/railties/environments/development.rb b/railties/environments/development.rb index 192601f179..007a9aa1da 100644 --- a/railties/environments/development.rb +++ b/railties/environments/development.rb @@ -9,4 +9,4 @@ require 'irb/completion' # tunnel when you want to connect from a different # computer over the internet. See the documentation of # Breakpoint.activate_drb for how to do that. -Breakpoint.activate_drb('druby://localhost:42531', nil) \ No newline at end of file +Breakpoint.activate_drb('druby://localhost:42531', nil) if $0.include?("dispatch") \ No newline at end of file -- cgit v1.2.3