commit 67038d8a72a6cf738be91fd58c91a4139f62e364
Author: Elan Ruusamäe <[email protected]>
Date: Thu Jul 30 21:51:15 2015 +0300
fix run of locally built ruby
ruby.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/ruby.spec b/ruby.spec
index 53e0b19..08ed23c 100644
--- a/ruby.spec
+++ b/ruby.spec
@@ -527,7 +527,7 @@ cp -p %{SOURCE5}
$RPM_BUILD_ROOT%{_mandir}/man1/testrb%{ruby_suffix}.1
%{__rm} -rf $RPM_BUILD_ROOT%{_docdir}/%{name}/html
# detect this runtime, "make install" is affected by operating_system.rb what
is installed in system!
-gem_dir=$(./miniruby -I. -Ilib -r rubygems -e 'puts Gem.default_dir')
+gem_dir=$(./miniruby -Ilib -I. -I.ext/common ./tool/runruby.rb --
--disable-gems -r$(basename *-linux-fake.rb .rb) -r rubygems -e 'puts
Gem.default_dir')
# Move gems root into common directory, out of Ruby directory structure.
install -d $RPM_BUILD_ROOT%{gem_dir}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby.git/commitdiff/e8995a8bbd9a57598140860e25b2aed9582f03d1
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit