summaryrefslogtreecommitdiff
path: root/lang/ruby19-base/patches/patch-ak
blob: 29be73ed757a7b45ca17584f9f2b86cdcba140e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ak,v 1.1.1.1 2010/09/12 03:50:06 taca Exp $

Use vendordir instead of sitedir.

--- lib/rubygems/defaults.rb.orig	2010-04-22 08:24:42.000000000 +0000
+++ lib/rubygems/defaults.rb
@@ -18,7 +18,7 @@ module Gem
 
   def self.default_dir
     if defined? RUBY_FRAMEWORK_VERSION then
-      File.join File.dirname(ConfigMap[:sitedir]), 'Gems',
+      File.join File.dirname(ConfigMap[:vendordir]), 'Gems',
                 ConfigMap[:ruby_version]
     elsif ConfigMap[:rubylibprefix] then
       File.join(ConfigMap[:rubylibprefix], 'gems',