]> git.pld-linux.org Git - packages/ruby-activesupport.git/blob - ruby-activesupport-nogems.patch
- keep active_support from munging the include path needlessly
[packages/ruby-activesupport.git] / ruby-activesupport-nogems.patch
1 diff -Nur activesupport-2.0.1.orig/lib/active_support/vendor.rb activesupport-2.0.1.nogems/lib/active_support/vendor.rb
2 --- activesupport-2.0.1.orig/lib/active_support/vendor.rb       2007-10-10 17:01:41.000000000 -0600
3 +++ activesupport-2.0.1.nogems/lib/active_support/vendor.rb     2008-09-17 17:55:19.000000000 -0600
4 @@ -1,14 +1 @@
5  # Prefer gems to the bundled libs.
6 -require 'rubygems'
7 -
8 -begin
9 -  gem 'builder', '~> 2.1.2'
10 -rescue Gem::LoadError
11 -  $:.unshift "#{File.dirname(__FILE__)}/vendor/builder-2.1.2"
12 -end
13 -
14 -begin
15 -  gem 'xml-simple', '~> 1.0.11'
16 -rescue Gem::LoadError
17 -  $:.unshift "#{File.dirname(__FILE__)}/vendor/xml-simple-1.0.11"
18 -end
19 diff -Nur activesupport-2.0.1.orig/lib/active_support.rb activesupport-2.0.1.nogems/lib/active_support.rb
20 --- activesupport-2.0.1.orig/lib/active_support.rb      2007-10-25 20:21:21.000000000 -0600
21 +++ activesupport-2.0.1.nogems/lib/active_support.rb    2008-09-17 17:55:33.000000000 -0600
22 @@ -21,8 +21,6 @@
23  # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24  #++
25  
26 -$:.unshift(File.dirname(__FILE__))
27 -
28  require 'active_support/vendor'
29  require 'active_support/basic_object'
30  require 'active_support/inflector'
This page took 0.111088 seconds and 3 git commands to generate.