-
Notifications
You must be signed in to change notification settings - Fork 445
Added gemspec file to gem package #1379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Deploying rdoc with
|
Latest commit: |
783adb8
|
Status: | ✅ Deploy successful! |
Preview URL: | https://114ce238.rdoc-6cd.pages.dev |
Branch Preview URL: | https://add-gemspec-to-package.rdoc-6cd.pages.dev |
🚀 Preview deployment available at: https://114ce238.rdoc-6cd.pages.dev (commit: 783adb8) |
I'm checking this change will fix to install the broken gemspec with the current Ruby HEAD. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
rdoc.gemspec
Outdated
# for ruby core repository. It was generated by | ||
# `git ls-files -z`.split("\x0").each {|f| puts " #{f.dump}," unless f.start_with?(*%W[test/ spec/ features/ .]) } | ||
non_lib_files = [ | ||
"rdoc.gemspec", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you keep this list in alphabetical order?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure!
The original gemspec need to install rdoc as bundled gems at the official Ruby package. Fix https://bugs.ruby-lang.org/issues/21312
973f2f7
to
8ba6333
Compare
I'm investigating another issue for |
The current glob pattern caused to issue with Ruby package installation. ``` /Users/hsbt/Documents/github.com/ruby/ruby/lib/fileutils.rb:1625:in 'File.stat': No such file or directory @ rb_file_s_stat - /Users/hsbt/Documents/github.com/ruby/ruby/.bundle/gems/rdoc-6.14.0/lib/English.rb (Errno::ENOENT) from /Users/hsbt/Documents/github.com/ruby/ruby/lib/fileutils.rb:1625:in 'block in FileUtils#install' from /Users/hsbt/Documents/github.com/ruby/ruby/lib/fileutils.rb:2471:in 'block in FileUtils#fu_each_src_dest' from /Users/hsbt/Documents/github.com/ruby/ruby/lib/fileutils.rb:2487:in 'FileUtils#fu_each_src_dest0' from /Users/hsbt/Documents/github.com/ruby/ruby/lib/fileutils.rb:2469:in 'FileUtils#fu_each_src_dest' from /Users/hsbt/Documents/github.com/ruby/ruby/lib/fileutils.rb:1624:in 'FileUtils#install' from ./tool/rbinstall.rb:216:in 'Object#install' from ./tool/rbinstall.rb:694:in 'block in RbInstall::DirPackage#extract_files' from ./tool/rbinstall.rb:689:in 'Array#each' from ./tool/rbinstall.rb:689:in 'RbInstall::DirPackage#extract_files' from /Users/hsbt/Documents/github.com/ruby/ruby/lib/rubygems/installer.rb:853:in 'Gem::Installer#extract_files' from /Users/hsbt/Documents/github.com/ruby/ruby/lib/rubygems/installer.rb:312:in 'Gem::Installer#install' from ./tool/rbinstall.rb:746:in 'block in RbInstall::UnpackedInstaller#install' from ./tool/rbinstall.rb:534:in 'RbInstall.no_write' from ./tool/rbinstall.rb:746:in 'RbInstall::UnpackedInstaller#install' from ./tool/rbinstall.rb:1174:in 'block (2 levels) in <main>' from ./tool/rbinstall.rb:1138:in 'IO.foreach' from ./tool/rbinstall.rb:1138:in 'block in <main>' from ./tool/rbinstall.rb:1224:in 'block in <main>' from ./tool/rbinstall.rb:1221:in 'Array#each' from ./tool/rbinstall.rb:1221:in '<main>' ```
8ba6333
to
e89d2b8
Compare
Co-authored-by: Sutou Kouhei <[email protected]>
I confirmed 783adb8 is working fine with |
Thank you for fixing this @hsbt! |
The original
gemspec
need to installrdoc
as bundled gems at the official Ruby package.Fix https://bugs.ruby-lang.org/issues/21312