diff options
author | José Valim <jose.valim@gmail.com> | 2011-09-12 10:53:20 -0700 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-09-12 10:53:20 -0700 |
commit | e9db21743b15f2c6e8dcbd18f420784c4e8de88d (patch) | |
tree | f87e58dd44efeac863613657cd91a674f789f11f | |
parent | d762e22c048ac67979fec7ecfb71bd999a1004d9 (diff) | |
download | rails-e9db21743b15f2c6e8dcbd18f420784c4e8de88d.tar.gz rails-e9db21743b15f2c6e8dcbd18f420784c4e8de88d.tar.bz2 rails-e9db21743b15f2c6e8dcbd18f420784c4e8de88d.zip |
Use the proper executable on tests.
-rw-r--r-- | railties/test/isolation/abstract_unit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/isolation/abstract_unit.rb b/railties/test/isolation/abstract_unit.rb index 685d1b154b..4a6bdb0320 100644 --- a/railties/test/isolation/abstract_unit.rb +++ b/railties/test/isolation/abstract_unit.rb @@ -282,7 +282,7 @@ Module.new do 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" |