I encourage everybody to read the following discussion:

https://src.fedoraproject.org/rpms/rubygem-racc/pull-request/1

It might result in significant changes to a way we (un)bundle gems from
Ruby. I am really considering to keep the StdLib bundled in Ruby.


Vít


Dne 05. 02. 20 v 14:17 Pavel Valena napsal(a):
> Hello,
>
> as you probably know with Ruby 2.7, there came some incompatible changes. One 
> of them is that `racc` was gemified and is not installed by default into a 
> buildroot.
>
> From my brief investigations of build failures (the list may not be complete 
> or a bit outdated), I've encountered these:
>
>
> rubygem-shoulda.log:        LoadError: cannot load such file -- racc/parser.rb
> ^ require from actionpack
>
> rubygem-shoulda-matchers.log:  cannot load such file -- racc/parser.rb
> ^ require from activesupport
>
> rubygem-i18n.log:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:92:in
>  `require': cannot load such file -- racc/parser (LoadError)
> ^ require from i18n/lib
>
> rubygem-nokogiri.log:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:92:in
>  `require': cannot load such file -- racc/parser.rb (LoadError)
> rubygem-sass-rails.log:/usr/share/gems/gems/nokogiri-1.10.7/lib/nokogiri/css/parser.rb:7:in
>  `require': cannot load such file -- racc/parser.rb (LoadError)
> rubygem-shoulda-context.log:<["/usr/share/gems/gems/nokogiri-1.10.7/lib/nokogiri/css/parser.rb:7:in
>  `require': cannot load such file -- racc/parser.rb (LoadError)"]>
> ^ nokogiri
>
>
> What would be the best solution? Add the require to Ruby, or add it to 
> respective gems+spec files (nokogiri issue: [0])?
>
> Regards,
> Pavel
>
> [0] https://github.com/sparklemotion/nokogiri/issues/1988
> _______________________________________________
> ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org
> To unsubscribe send an email to ruby-sig-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/ruby-sig@lists.fedoraproject.org
_______________________________________________
ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org
To unsubscribe send an email to ruby-sig-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/ruby-sig@lists.fedoraproject.org

Reply via email to