Permalink
Browse files

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
  • Loading branch information...
1 parent 872ddaf commit 6d7175d6cc9d32900f5f70f2ad166b7672b1251f @dhh dhh committed Jan 24, 2005
Showing with 5 additions and 1 deletion.
  1. +2 −0 railties/CHANGELOG
  2. +3 −1 railties/Rakefile
View
@@ -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:
View
@@ -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

0 comments on commit 6d7175d

Please sign in to comment.