merge revision(s) 416cba90c1:

Try to install also gemspec files under gem directories

	Gemspec files having extension libraries are placed under each gem
	directories now.
	---
	 tool/rbinstall.rb | 5 ++++-
	 1 file changed, 4 insertions(+), 1 deletion(-)
This commit is contained in:
nagachika 2022-10-15 16:34:32 +09:00
parent 95e996e335
commit cc745f2da1
2 changed files with 5 additions and 2 deletions

View file

@ -1046,7 +1046,10 @@ install?(:ext, :comm, :gem, :'bundled-gems') do
next unless /^(\S+)\s+(\S+).*/ =~ name
gem_name = "#$1-#$2"
path = "#{srcdir}/.bundle/specifications/#{gem_name}.gemspec"
unless File.exist?(path)
path = "#{srcdir}/.bundle/gems/#{gem_name}/#{gem_name}.gemspec"
next unless File.exist?(path)
end
spec = load_gemspec(path, "#{srcdir}/.bundle/gems/#{gem_name}")
next unless spec.platform == Gem::Platform::RUBY
next unless spec.full_name == gem_name

View file

@ -11,7 +11,7 @@
# define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR
#define RUBY_VERSION_TEENY 3
#define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR
#define RUBY_PATCHLEVEL 86
#define RUBY_PATCHLEVEL 87
#define RUBY_RELEASE_YEAR 2022
#define RUBY_RELEASE_MONTH 10