From 6d7175d6cc9d32900f5f70f2ad166b7672b1251f Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 24 Jan 2005 11:59:22 +0000 Subject: Fixed that script/breakpointer didn't get the Ruby path rewritten as the other scripts #523 [brandt@kurowski.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@486 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/CHANGELOG | 2 ++ railties/Rakefile | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/railties/CHANGELOG b/railties/CHANGELOG index dc6356056d..21a02dd4ab 100644 --- a/railties/CHANGELOG +++ b/railties/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Fixed that script/breakpointer didn't get the Ruby path rewritten as the other scripts #523 [brandt@kurowski.net] + * Fixed superclass mismatch and other controller related problems by not using dependency reloading for controllers. This means that controller hierarchies need to explicitly require the superclass if its not ApplicationController. Example: diff --git a/railties/Rakefile b/railties/Rakefile index c3cf562427..383a5b7a1f 100644 --- a/railties/Rakefile +++ b/railties/Rakefile @@ -218,7 +218,9 @@ end task :copy_gem_environment do cp "environments/shared_for_gem.rb", "#{PKG_DESTINATION}/config/environment.rb" - cp "bin/breakpointer_for_gem", "#{PKG_DESTINATION}/script/breakpointer" + dest_file = File.join(PKG_DESTINATION, 'script', 'breakpointer') + copy_with_rewritten_ruby_path(File.join('bin', 'breakpointer_for_gem'), dest_file) + chmod 0755, dest_file end -- cgit v1.2.3