diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2004-12-12 17:22:35 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2004-12-12 17:22:35 +0000 |
commit | eb952e1e947a76efed95e024acf3002be2dc711e (patch) | |
tree | 9359f01c9b6a869846246ed508251b74519c0700 | |
parent | 1da6abaa3c544a17bb46772fad91aa0247be5489 (diff) | |
download | rails-eb952e1e947a76efed95e024acf3002be2dc711e.tar.gz rails-eb952e1e947a76efed95e024acf3002be2dc711e.tar.bz2 rails-eb952e1e947a76efed95e024acf3002be2dc711e.zip |
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
-rw-r--r-- | railties/environments/development.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |