Browse files

Use the proper executable on tests.

  • Loading branch information...
1 parent d762e22 commit e9db21743b15f2c6e8dcbd18f420784c4e8de88d @josevalim josevalim committed Sep 12, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/test/isolation/abstract_unit.rb
View
2 railties/test/isolation/abstract_unit.rb
@@ -282,7 +282,7 @@ class Test::Unit::TestCase
require_environment = "-r #{environment}"
end
- `#{Gem.ruby} #{require_environment} #{RAILS_FRAMEWORK_ROOT}/bin/rails new #{tmp_path('app_template')}`
+ `#{Gem.ruby} #{require_environment} #{RAILS_FRAMEWORK_ROOT}/railties/bin/rails new #{tmp_path('app_template')}`
File.open("#{tmp_path}/app_template/config/boot.rb", 'w') do |f|
if require_environment
f.puts "Dir.chdir('#{File.dirname(environment)}') do"

0 comments on commit e9db217

Please sign in to comment.