From f52832de2ad67c4489b094d362425cf66ab29ced Mon Sep 17 00:00:00 2001 From: Arun Agrawal Date: Fri, 26 Jul 2013 11:07:25 +0200 Subject: grab executable from rubygems As done here d7fc97d3f90c0e30865d32ce202658f03248cacc --- activesupport/Rakefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'activesupport/Rakefile') diff --git a/activesupport/Rakefile b/activesupport/Rakefile index 99770bace9..5ba153662a 100644 --- a/activesupport/Rakefile +++ b/activesupport/Rakefile @@ -12,9 +12,8 @@ end namespace :test do task :isolated do - ruby = File.join(*RbConfig::CONFIG.values_at('bindir', 'RUBY_INSTALL_NAME')) Dir.glob("test/**/*_test.rb").all? do |file| - sh(ruby, '-w', '-Ilib:test', file) + sh(Gem.ruby, '-w', '-Ilib:test', file) end or raise "Failures" end end -- cgit v1.2.3