aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Mk/bsd.ruby.mk2
-rw-r--r--lang/ruby19/files/patch-gem_prelude.rb12
2 files changed, 13 insertions, 1 deletions
diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk
index 29d17dd7e0b..6497ed98ee6 100644
--- a/Mk/bsd.ruby.mk
+++ b/Mk/bsd.ruby.mk
@@ -198,7 +198,7 @@ RUBY19= "@comment "
# Ruby 1.9
#
RUBY_RELVERSION= 1.9.1
-RUBY_PORTREVISION= 0
+RUBY_PORTREVISION= 1
RUBY_PORTEPOCH= 1
RUBY_PATCHLEVEL= 376
diff --git a/lang/ruby19/files/patch-gem_prelude.rb b/lang/ruby19/files/patch-gem_prelude.rb
new file mode 100644
index 00000000000..1596f4de2a0
--- /dev/null
+++ b/lang/ruby19/files/patch-gem_prelude.rb
@@ -0,0 +1,12 @@
+--- gem_prelude.rb.orig 2010-01-29 08:19:47.000000000 +0300
++++ gem_prelude.rb 2010-01-29 08:20:04.000000000 +0300
+@@ -115,9 +115,6 @@
+ if defined? RUBY_FRAMEWORK_VERSION then
+ File.join File.dirname(ConfigMap[:sitedir]), 'Gems',
+ ConfigMap[:ruby_version]
+- elsif RUBY_VERSION > '1.9' then
+- File.join(ConfigMap[:libdir], ConfigMap[:ruby_install_name], 'gems',
+- ConfigMap[:ruby_version])
+ else
+ File.join(ConfigMap[:libdir], ruby_engine, 'gems',
+ ConfigMap[:ruby_version])