aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--railties/Rakefile2
-rw-r--r--railties/bin/breakpointing1
-rwxr-xr-xrailties/fresh_rakefile2
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