Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@yahonda
Copy link

@yahonda yahonda commented Aug 22, 2025

This pull request addresses the following warnings because Ruby 3.5 moves the rdoc and benchmark to bundled gems.

  • Warnings without adding rdoc gem
$ ruby -v
ruby 3.5.0dev (2025-08-21T01:55:42Z master 60189671f5) +PRISM [x86_64-linux]
$ bundle exec rake compile
Source locally installed gems is ignoring #<Bundler::StubSpecification name=io-console version=0.8.1 platform=ruby> because it is missing extensions
/home/yahonda/src/github.com/bcrypt-ruby/bcrypt-ruby/Rakefile:6: warning: rdoc/task is found in rdoc, which is not part of the default gems since Ruby 3.5.0.
You can add rdoc to your Gemfile or gemspec to fix this error.
rake aborted!
LoadError: cannot load such file -- rdoc/task (LoadError)
/home/yahonda/src/github.com/bcrypt-ruby/bcrypt-ruby/Rakefile:6:in '<top (required)>'
/home/yahonda/.local/share/mise/installs/ruby/trunk/bin/bundle:25:in '<main>'
(See full trace by running task with --trace)
$
  • Warnings without adding rdoc gem
$ ruby -v
ruby 3.5.0dev (2025-08-21T01:55:42Z master 60189671f5) +PRISM [x86_64-linux]
$ bundle exec rake compile
Source locally installed gems is ignoring #<Bundler::StubSpecification name=io-console version=0.8.1 platform=ruby> because it is missing extensions
/home/yahonda/src/github.com/bcrypt-ruby/bcrypt-ruby/Rakefile:7: warning: benchmark used to be loaded from the standard library, but is not part of the default gems since Ruby 3.5.0.
You can add benchmark to your Gemfile or gemspec to fix this error.
rake aborted!
LoadError: cannot load such file -- benchmark (LoadError)
/home/yahonda/src/github.com/bcrypt-ruby/bcrypt-ruby/Rakefile:7:in '<top (required)>'
/home/yahonda/.local/share/mise/installs/ruby/trunk/bin/bundle:25:in '<main>'
(See full trace by running task with --trace)
$

References:
https://bugs.ruby-lang.org/issues/20309
ruby/ruby@b0d3771 ruby/ruby@86d871d

This commit addresses the following warnings because Ruby 3.5 moves
the `rdoc` and `benchmark` to bundled gems.

- Warnings without adding `rdoc` gem

```
$ ruby -v
ruby 3.5.0dev (2025-08-21T01:55:42Z master 60189671f5) +PRISM [x86_64-linux]
$ bundle exec rake compile
Source locally installed gems is ignoring #<Bundler::StubSpecification name=io-console version=0.8.1 platform=ruby> because it is missing extensions
/home/yahonda/src/github.com/bcrypt-ruby/bcrypt-ruby/Rakefile:6: warning: rdoc/task is found in rdoc, which is not part of the default gems since Ruby 3.5.0.
You can add rdoc to your Gemfile or gemspec to fix this error.
rake aborted!
LoadError: cannot load such file -- rdoc/task (LoadError)
/home/yahonda/src/github.com/bcrypt-ruby/bcrypt-ruby/Rakefile:6:in '<top (required)>'
/home/yahonda/.local/share/mise/installs/ruby/trunk/bin/bundle:25:in '<main>'
(See full trace by running task with --trace)
$
```

- Warnings without adding `rdoc` gem

```ruby
$ ruby -v
ruby 3.5.0dev (2025-08-21T01:55:42Z master 60189671f5) +PRISM [x86_64-linux]
$ bundle exec rake compile
Source locally installed gems is ignoring #<Bundler::StubSpecification name=io-console version=0.8.1 platform=ruby> because it is missing extensions
/home/yahonda/src/github.com/bcrypt-ruby/bcrypt-ruby/Rakefile:7: warning: benchmark used to be loaded from the standard library, but is not part of the default gems since Ruby 3.5.0.
You can add benchmark to your Gemfile or gemspec to fix this error.
rake aborted!
LoadError: cannot load such file -- benchmark (LoadError)
/home/yahonda/src/github.com/bcrypt-ruby/bcrypt-ruby/Rakefile:7:in '<top (required)>'
/home/yahonda/.local/share/mise/installs/ruby/trunk/bin/bundle:25:in '<main>'
(See full trace by running task with --trace)
$
```

References:
https://bugs.ruby-lang.org/issues/20309
ruby/ruby@b0d3771
ruby/ruby@86d871d
@yahonda
Copy link
Author

yahonda commented Aug 22, 2025

I've found this is part of #284

@yahonda yahonda closed this Aug 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.