diff options
author | stas <stas@FreeBSD.org> | 2010-01-30 02:25:32 +0800 |
---|---|---|
committer | stas <stas@FreeBSD.org> | 2010-01-30 02:25:32 +0800 |
commit | 075ad128d699522112091227e781f55ca8ba8106 (patch) | |
tree | a06b089028b695bac9b584985a541aaab6b911ab /lang/ruby19 | |
parent | 04690ece019748ae76276ee6e3a57717b230de49 (diff) | |
download | freebsd-ports-gnome-075ad128d699522112091227e781f55ca8ba8106.tar.gz freebsd-ports-gnome-075ad128d699522112091227e781f55ca8ba8106.tar.zst freebsd-ports-gnome-075ad128d699522112091227e781f55ca8ba8106.zip |
- Fix rubygems location for ruby 1.9, which got broken after the last
update.
- Bump portrevision.
Submitted by: Aaron Gifford <astounding@gmail.com> (based on)
Diffstat (limited to 'lang/ruby19')
-rw-r--r-- | lang/ruby19/files/patch-gem_prelude.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lang/ruby19/files/patch-gem_prelude.rb b/lang/ruby19/files/patch-gem_prelude.rb new file mode 100644 index 000000000000..1596f4de2a05 --- /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]) |