You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by vb...@apache.org on 2008/09/24 22:11:02 UTC
svn commit: r698710 - /incubator/buildr/trunk/rakelib/setup.rake
Author: vborja
Date: Wed Sep 24 13:11:02 2008
New Revision: 698710
URL: http://svn.apache.org/viewvc?rev=698710&view=rev
Log:
Yes, methods ending with ? should not have side effects. Thanks assaf ;)
Modified:
incubator/buildr/trunk/rakelib/setup.rake
Modified: incubator/buildr/trunk/rakelib/setup.rake
URL: http://svn.apache.org/viewvc/incubator/buildr/trunk/rakelib/setup.rake?rev=698710&r1=698709&r2=698710&view=diff
==============================================================================
--- incubator/buildr/trunk/rakelib/setup.rake (original)
+++ incubator/buildr/trunk/rakelib/setup.rake Wed Sep 24 13:11:02 2008
@@ -36,7 +36,7 @@
end
def sudo_needed?
- !( windows? || set_gem_home )
+ !( windows? || ENV['GEM_HOME'] )
end
# Finds and returns path to executable. Consults PATH environment variable.