You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by do...@apache.org on 2011/07/26 14:52:20 UTC

svn commit: r1151078 - /buildr/trunk/buildr.gemspec

Author: donaldp
Date: Tue Jul 26 12:52:19 2011
New Revision: 1151078

URL: http://svn.apache.org/viewvc?rev=1151078&view=rev
Log:
Make sure that the buildr version file is marked as loaded so it is not reloaded when the gem is loaded as this generates a warning

Modified:
    buildr/trunk/buildr.gemspec

Modified: buildr/trunk/buildr.gemspec
URL: http://svn.apache.org/viewvc/buildr/trunk/buildr.gemspec?rev=1151078&r1=1151077&r2=1151078&view=diff
==============================================================================
--- buildr/trunk/buildr.gemspec (original)
+++ buildr/trunk/buildr.gemspec Tue Jul 26 12:52:19 2011
@@ -15,6 +15,7 @@
 
 unless defined?(Buildr::VERSION)
   require File.join(File.dirname(__FILE__), 'lib', 'buildr', 'version.rb')
+  $LOADED_FEATURES << 'buildr/version.rb'
 end
 
 Gem::Specification.new do |spec|