summaryrefslogtreecommitdiff
path: root/misc/rubygems/patches/patch-aj
blob: f1d77ebe5a57fe6cbf9210b8f7b2adaba0d02f30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aj,v 1.3 2009/04/07 07:35:44 minskim Exp $

--- lib/rubygems/defaults.rb.orig	2008-10-10 13:29:53.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]
     else
       File.join(ConfigMap[:libdir], ruby_engine, 'gems',