inukshuk / bibtex-ruby

A BibTeX library, parser, and converter for Ruby.
http://inukshuk.github.com/bibtex-ruby
GNU General Public License v3.0
156 stars 31 forks source link

racc dependency needed #163

Closed etc closed 10 months ago

etc commented 11 months ago

Upgrading to Ruby 3.3.0 produces an error:

/Users/bw68/.rvm/rubies/ruby-3.3.0/lib/ruby/3.3.0/bundled_gems.rb:74:in `require': cannot load such file -- racc/parser.rb (LoadError)
from /Users/bw68/.rvm/rubies/ruby-3.3.0/lib/ruby/3.3.0/bundled_gems.rb:74:in `block (2 levels) in replace_require'
from /Users/bw68/.rvm/gems/ruby-3.3.0/gems/bibtex-ruby-6.0.0/lib/bibtex/name_parser.rb:7:in `<top (required)>'
from /Users/bw68/.rvm/rubies/ruby-3.3.0/lib/ruby/3.3.0/bundled_gems.rb:74:in `require'

For another user who had the same problem see here.

The problem seems to be that there is no racc dependency specified in the bibtex-ruby Gemfile (except in development mode). Manually adding racc to your own project Gemfile works, but I guess this should happen within bibtex-ruby itself?

inukshuk commented 10 months ago

Thanks! Looks like we'll have to make some more changes for 3.3 -- I'll try to push a release later.

inukshuk commented 10 months ago

OK 6.1.0 should work in Ruby 3.3.