summaryrefslogtreecommitdiff
path: root/misc/rubygems/patches/patch-aj
blob: 4ea55b0ee55b5a58761a9da0238a29ab181f35e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aj,v 1.4 2009/06/10 21:44:31 minskim Exp $

--- lib/rubygems/defaults.rb.orig	2009-05-20 16:30:35.000000000 -0700
+++ 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]
     # 1.9.2dev reverted to 1.8 style path
     elsif RUBY_VERSION > '1.9' and RUBY_VERSION < '1.9.2' then