You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by as...@apache.org on 2008/03/07 21:02:18 UTC

svn commit: r634793 - /incubator/buildr/trunk/Rakefile

Author: assaf
Date: Fri Mar  7 12:02:18 2008
New Revision: 634793

URL: http://svn.apache.org/viewvc?rev=634793&view=rev
Log:
bindir prefix doesn't work on Windows

Modified:
    incubator/buildr/trunk/Rakefile

Modified: incubator/buildr/trunk/Rakefile
URL: http://svn.apache.org/viewvc/incubator/buildr/trunk/Rakefile?rev=634793&r1=634792&r2=634793&view=diff
==============================================================================
--- incubator/buildr/trunk/Rakefile (original)
+++ incubator/buildr/trunk/Rakefile Fri Mar  7 12:02:18 2008
@@ -102,7 +102,7 @@
   #options[:verbose] ||= false
   cmd = []
   cmd << 'sudo' if options.delete(:sudo) && !Gem.win_platform? && RUBY_PLATFORM !~ /java/
-  cmd << File.join(Config::CONFIG['bindir'], Config::CONFIG['ruby_install_name'])
+  cmd << Config::CONFIG['ruby_install_name']
   cmd << '-S' << options.delete(:command) if options[:command]
   sh *cmd.push(*args.flatten).push(options)
 end