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 2009/02/27 09:55:14 UTC

svn commit: r748440 - in /buildr/trunk: _buildr _jbuildr

Author: assaf
Date: Fri Feb 27 08:55:14 2009
New Revision: 748440

URL: http://svn.apache.org/viewvc?rev=748440&view=rev
Log:
Fix for _buildr and _jbuildr preventing them from loading source files from any installed Buildr gem.

Modified:
    buildr/trunk/_buildr
    buildr/trunk/_jbuildr

Modified: buildr/trunk/_buildr
URL: http://svn.apache.org/viewvc/buildr/trunk/_buildr?rev=748440&r1=748439&r2=748440&view=diff
==============================================================================
--- buildr/trunk/_buildr (original)
+++ buildr/trunk/_buildr Fri Feb 27 08:55:14 2009
@@ -23,6 +23,7 @@
 spec.dependencies.each do |dep|
   gem dep.name, dep.version_requirements.to_s
 end
+Gem.loaded_specs['buildr'] = spec # Prevents RubyGem from loading files from installed Buildr gems
 
 require 'buildr'
 Buildr.application.run

Modified: buildr/trunk/_jbuildr
URL: http://svn.apache.org/viewvc/buildr/trunk/_jbuildr?rev=748440&r1=748439&r2=748440&view=diff
==============================================================================
--- buildr/trunk/_jbuildr (original)
+++ buildr/trunk/_jbuildr Fri Feb 27 08:55:14 2009
@@ -14,6 +14,7 @@
 # License for the specific language governing permissions and limitations under
 # the License.
 
+
 # Run buildr from source, specifically for testing stuff without doing a rake install.
 
 require 'rubygems'
@@ -22,6 +23,7 @@
 spec.dependencies.each do |dep|
   gem dep.name, dep.version_requirements.to_s
 end
+Gem.loaded_specs['buildr'] = spec # Prevents RubyGem from loading files from installed Buildr gems
 
 require 'buildr'
 Buildr.application.run