From bf33b6ccaec2b9de38af804c8ac1e00310a8622d Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 9 Dec 2004 23:04:37 +0000 Subject: Fixed a few issues for the breakpointing git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@104 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/Rakefile | 2 +- railties/bin/breakpointing | 1 + railties/fresh_rakefile | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/railties/Rakefile b/railties/Rakefile index 79042c325d..bb440edd36 100644 --- a/railties/Rakefile +++ b/railties/Rakefile @@ -21,7 +21,7 @@ TEST_DIRS = %w( fixtures unit functional mocks mocks/development mocks/testing LOG_FILES = %w( apache.log development.log test.log production.log ) HTML_FILES = %w( 404.html 500.html index.html ) -SCRIPT_FILES = %w( generate breakpoint_client envcon ) +SCRIPT_FILES = %w( generate ) BIN_FILES = %w( breakpointing envcon ) GENERATORS = %w( controller mailer model scaffold ) diff --git a/railties/bin/breakpointing b/railties/bin/breakpointing index 77a561bdef..a7c601f872 100644 --- a/railties/bin/breakpointing +++ b/railties/bin/breakpointing @@ -1,2 +1,3 @@ #!/usr/local/bin/ruby +require File.dirname(__FILE__) + '/../config/environment' require 'breakpoint_client' diff --git a/railties/fresh_rakefile b/railties/fresh_rakefile index 4de647169c..145cf07aa3 100755 --- a/railties/fresh_rakefile +++ b/railties/fresh_rakefile @@ -102,4 +102,4 @@ task :purge_test_database do `dropdb -U #{ActiveRecord::Base.configurations["test"]["username"]} #{ActiveRecord::Base.configurations["test"]["database"]}` `createdb -U #{ActiveRecord::Base.configurations["test"]["username"]} #{ActiveRecord::Base.configurations["test"]["database"]}` end -end +end \ No newline at end of file -- cgit v1.2.3