diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-01-24 11:59:22 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-01-24 11:59:22 +0000 |
commit | 6d7175d6cc9d32900f5f70f2ad166b7672b1251f (patch) | |
tree | 7848242ef9be0af583094f08473bf858405084b4 | |
parent | 872ddaf290c954972a52c19dec8c0d6a5f726fdd (diff) | |
download | rails-6d7175d6cc9d32900f5f70f2ad166b7672b1251f.tar.gz rails-6d7175d6cc9d32900f5f70f2ad166b7672b1251f.tar.bz2 rails-6d7175d6cc9d32900f5f70f2ad166b7672b1251f.zip |
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
-rw-r--r-- | railties/CHANGELOG | 2 | ||||
-rw-r--r-- | railties/Rakefile | 4 |
2 files changed, 5 insertions, 1 deletions
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 |