emancu / toml-rb

A parser for TOML using Citrus library.
MIT License
104 stars 39 forks source link

Fails to load with ruby 3.3.0 #144

Closed timon closed 10 months ago

timon commented 10 months ago

Hey there, this is to let you know that toml-rb 2.0.3 doesn't work with ruby 3.3:

~/Sources/myapp/vendor/bundle/ruby/3.3.0/gems/tomlrb-2.0.3/lib/tomlrb /generated_parser.rb:7:in `require': cannot load such file -- racc/parser.rb (LoadError) ``` from ~/Sources/myapp/vendor/bundle/ruby/3.3.0/gems/tomlrb-2.0.3/lib/tomlrb/generated_parser.rb:7:in `' from ~/Sources/myapp/vendor/bundle/ruby/3.3.0/gems/tomlrb-2.0.3/lib/tomlrb/parser.rb:1:in `require' from ~/Sources/myapp/vendor/bundle/ruby/3.3.0/gems/tomlrb-2.0.3/lib/tomlrb/parser.rb:1:in `' from ~/Sources/myapp/vendor/bundle/ruby/3.3.0/gems/tomlrb-2.0.3/lib/tomlrb.rb:9:in `require' from ~/Sources/myapp/vendor/bundle/ruby/3.3.0/gems/tomlrb-2.0.3/lib/tomlrb.rb:9:in `' from ~/Sources/myapp/vendor/bundle/ruby/3.3.0/gems/license_finder-7.1.0/lib/license_finder/package_managers/dep.rb:3:in `require' from ~/Sources/myapp/vendor/bundle/ruby/3.3.0/gems/license_finder-7.1.0/lib/license_finder/package_managers/dep.rb:3:in `' from ~/Sources/myapp/vendor/bundle/ruby/3.3.0/gems/license_finder-7.1.0/lib/license_finder/package_manager.rb:175:in `require' from ~/Sources/myapp/vendor/bundle/ruby/3.3.0/gems/license_finder-7.1.0/lib/license_finder/package_manager.rb:175:in `' from ~/Sources/myapp/vendor/bundle/ruby/3.3.0/gems/license_finder-7.1.0/lib/license_finder/core.rb:9:in `require' from ~/Sources/myapp/vendor/bundle/ruby/3.3.0/gems/license_finder-7.1.0/lib/license_finder/core.rb:9:in `' from ~/Sources/myapp/vendor/bundle/ruby/3.3.0/gems/license_finder-7.1.0/lib/license_finder.rb:13:in `require' from ~/Sources/myapp/vendor/bundle/ruby/3.3.0/gems/license_finder-7.1.0/lib/license_finder.rb:13:in `' from bin/myapp:4:in `require' from bin/myapp:4:in `' from ~/Sources/myapp/vendor/bundle/ruby/3.3.0/gems/bundler-2.3.21/lib/bundler/cli/exec.rb:58:in `load' from ~/Sources/myapp/vendor/bundle/ruby/3.3.0/gems/bundler-2.3.21/lib/bundler/cli/exec.rb:58:in `kernel_load' from ~/Sources/myapp/vendor/bundle/ruby/3.3.0/gems/bundler-2.3.21/lib/bundler/cli/exec.rb:23:in `run' from ~/Sources/myapp/vendor/bundle/ruby/3.3.0/gems/bundler-2.3.21/lib/bundler/cli.rb:485:in `exec' from ~/Sources/myapp/vendor/bundle/ruby/3.3.0/gems/bundler-2.3.21/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' from ~/Sources/myapp/vendor/bundle/ruby/3.3.0/gems/bundler-2.3.21/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command' from ~/Sources/myapp/vendor/bundle/ruby/3.3.0/gems/bundler-2.3.21/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch' from ~/Sources/myapp/vendor/bundle/ruby/3.3.0/gems/bundler-2.3.21/lib/bundler/cli.rb:31:in `dispatch' from ~/Sources/myapp/vendor/bundle/ruby/3.3.0/gems/bundler-2.3.21/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start' from ~/Sources/myapp/vendor/bundle/ruby/3.3.0/gems/bundler-2.3.21/lib/bundler/cli.rb:25:in `start' from ~/Sources/myapp/vendor/bundle/ruby/3.3.0/gems/bundler-2.3.21/exe/bundle:48:in `block in ' from ~/Sources/myapp/vendor/bundle/ruby/3.3.0/gems/bundler-2.3.21/lib/bundler/friendly_errors.rb:120:in `with_friendly_errors' from ~/Sources/myapp/vendor/bundle/ruby/3.3.0/gems/bundler-2.3.21/exe/bundle:36:in `' from ~/.rbenv/versions/3.3.0/bin/bundle:25:in `load' from ~/.rbenv/versions/3.3.0/bin/bundle:25:in `
'
timon commented 10 months ago

Created PR #145 to address the issue