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/09/20 21:11:27 UTC

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

Author: assaf
Date: Sat Sep 20 12:11:27 2008
New Revision: 697413

URL: http://svn.apache.org/viewvc?rev=697413&view=rev
Log:
This patch allows running rake tasks on the source distribution when you have both Rake 0.8.1 and 0.8.2 installed.

Modified:
    incubator/buildr/trunk/Rakefile

Modified: incubator/buildr/trunk/Rakefile
URL: http://svn.apache.org/viewvc/incubator/buildr/trunk/Rakefile?rev=697413&r1=697412&r2=697413&view=diff
==============================================================================
--- incubator/buildr/trunk/Rakefile (original)
+++ incubator/buildr/trunk/Rakefile Sat Sep 20 12:11:27 2008
@@ -28,7 +28,7 @@
 desc 'Compile Java libraries used by Buildr'
 task 'compile' do
   puts 'Compiling Java libraries ...'
-  sh Config::CONFIG['ruby_install_name'], '-Ilib', '-Iaddon', 'bin/buildr', '--buildfile=buildr.buildfile', 'compile'
+  sh File.expand_path('_buildr'), '--buildfile=buildr.buildfile', 'compile'
   puts 'OK'
 end
 file Rake::GemPackageTask.new(spec).package_dir=>'compile'