diff options
author | Stanislav Sedov <stas@FreeBSD.org> | 2010-01-29 18:25:32 +0000 |
---|---|---|
committer | Stanislav Sedov <stas@FreeBSD.org> | 2010-01-29 18:25:32 +0000 |
commit | 27705ea5cab552206fa167d6e8504d559b33f227 (patch) | |
tree | 5bcf8d9756265844780d89edab1ca10a03f44e2b /lang/ruby19 | |
parent | Update to 0.57 (diff) |
- 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)
Notes
Notes:
svn path=/head/; revision=248811
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]) |