25 lines
867 B
Plaintext
25 lines
867 B
Plaintext
$OpenBSD: patch-setup_rb,v 1.2 2008/06/17 22:42:59 bernd Exp $
|
|
--- setup.rb.orig Sat Apr 19 14:46:21 2008
|
|
+++ setup.rb Sat Apr 19 14:47:22 2008
|
|
@@ -94,7 +94,7 @@ else
|
|
lib_dir = Gem::ConfigMap[:sitelibdir]
|
|
bin_dir = Gem::ConfigMap[:bindir]
|
|
else
|
|
- lib_dir = File.join prefix, 'lib'
|
|
+ lib_dir = ENV['RUBYLIB']
|
|
bin_dir = File.join prefix, 'bin'
|
|
|
|
mkdir_p lib_dir
|
|
@@ -261,8 +261,9 @@ end
|
|
puts "As of RubyGems 0.8.0, library stubs are no longer needed."
|
|
puts "Searching $LOAD_PATH for stubs to optionally delete (may take a while)"
|
|
|
|
-gemfiles = Dir[File.join("{#{($LOAD_PATH).join(',')}}", '**', '*.rb')]
|
|
-gemfiles = gemfiles.map { |file| File.expand_path file }.uniq
|
|
+#gemfiles = Dir[File.join("{#{($LOAD_PATH).join(',')}}", '**', '*.rb')]
|
|
+#gemfiles = gemfiles.map { |file| File.expand_path file }.uniq
|
|
+gemfiles = []
|
|
|
|
puts "...done."
|
|
|