The last commit to Rakefile is nearly 3 years old and I couldn't find the documentation for IRB at that time. What I can find now is that IRB only supports -r <library> but no option that looks like rubygems. This makes IRB parse -rubygems as -r ubygems and emit this warning.
I think it's straight enough to remove this outdated CLI option from Rakefile, but I feel that the original maintainers may have more background on this.
- sh "irb -rubygems -r ./lib/#{name}.rb"+ sh "irb -r ./lib/#{name}.rb"
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not been commented on for at least two months.
The resources of the Jekyll team are limited, and so we are asking for your help.
If this is a bug and you can still reproduce this error on the latest 3.x-stable or master branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, please consider building it first as a plugin. Jekyll 3 introduced hooks which provide convenient access points throughout the Jekyll build pipeline whereby most needs can be fulfilled. If this is something that cannot be built as a plugin, then please provide more information about why in order to keep this issue open.
This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions.
@iBug Feel free to open a pull request with the patch you've suggested in the opening post.
There is no need to explicitly load Rubygems in modern Ruby versions. So its a 👍
iBug commentedMay 22, 2020
My Environment
jekyll
github-pages
Description
Running
bundle exec rake console
on project root emits a warning:The offending line is this:
jekyll/Rakefile
Line 162 in 2e80c55
The last commit to
Rakefile
is nearly 3 years old and I couldn't find the documentation for IRB at that time. What I can find now is that IRB only supports-r <library>
but no option that looks likerubygems
. This makes IRB parse-rubygems
as-r ubygems
and emit this warning.I think it's straight enough to remove this outdated CLI option from Rakefile, but I feel that the original maintainers may have more background on this.
The text was updated successfully, but these errors were encountered: