Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
No build reason found for pool-leap-15.6:aarch64
openSUSE:Leap:42.2
ruby2.2
ruby2.2.x_rbinstall_gem_buildroot.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ruby2.2.x_rbinstall_gem_buildroot.patch of Package ruby2.2
Index: tool/rbinstall.rb =================================================================== --- tool/rbinstall.rb.orig 2014-06-23 11:13:14.000000000 +0200 +++ tool/rbinstall.rb 2014-06-25 16:46:46.860621547 +0200 @@ -717,11 +717,18 @@ end install?(:ext, :comm, :gem) do require 'pathname' - gem_dir = Gem.default_dir + gem_dir = $destdir.nil? ? Gem.default_dir : File.join($destdir, Gem.default_dir) directories = Gem.ensure_gem_subdirectories(gem_dir, :mode => $dir_mode) prepare "bundle gems", gem_dir, directories + require "rubygems/dependency_installer" + gem_installer_options = {} + gem_installer_options[:build_root] = $destdir if $destdir + version = Gem::Requirement.default Dir.glob(srcdir+'/gems/*.gem').each do |gem| - Gem.install gem + # Gem.install gem + inst = Gem::DependencyInstaller.new gem_installer_options + inst.install gem, version + inst.installed_gems gemname = Pathname(gem).basename puts "#{" "*30}#{gemname}" end
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor