Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix require for ruby 3.4.0-preview1|2 #320

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

chaadow
Copy link

@chaadow chaadow commented Oct 12, 2024

This require is causing issues in ruby 3.4.0-preview1 and 2. it does not require a real file

here is the error stack trace ( the error stems from this from /Users/chedli/.rbenv/versions/3.4.0-preview2/lib/ruby/gems/3.4.0+0/bundler/gems/pg_query-f23f1dfe39c6/lib/pg_query.rb:7:in '<main>'

/Users/chedli/.rbenv/versions/3.4.0-preview2/lib/ruby/3.4.0+0/bundled_gems.rb:76:in 'Kernel.require': dlsym(0x85a08d50, ruby_abi_version): symbol not found - ruby_abi_version (LoadError)
        from /Users/chedli/.rbenv/versions/3.4.0-preview2/lib/ruby/3.4.0+0/bundled_gems.rb:76:in 'block (2 levels) in Kernel#replace_require'
        from /Users/chedli/.rbenv/versions/3.4.0-preview2/lib/ruby/gems/3.4.0+0/gems/bootsnap-1.18.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in 'Kernel#require'
        from /Users/chedli/.rbenv/versions/3.4.0-preview2/lib/ruby/gems/3.4.0+0/gems/zeitwerk-2.6.18/lib/zeitwerk/kernel.rb:34:in 'Kernel#require'
        from /Users/chedli/.rbenv/versions/3.4.0-preview2/lib/ruby/gems/3.4.0+0/bundler/gems/pg_query-f23f1dfe39c6/lib/pg_query.rb:7:in '<main>'
        from <internal:/Users/chedli/.rbenv/versions/3.4.0-preview2/lib/ruby/3.4.0+0/rubygems/core_ext/kernel_require.rb>:37:in 'Kernel#require'
        from <internal:/Users/chedli/.rbenv/versions/3.4.0-preview2/lib/ruby/3.4.0+0/rubygems/core_ext/kernel_require.rb>:37:in 'Kernel#require'
        from /Users/chedli/.rbenv/versions/3.4.0-preview2/lib/ruby/3.4.0+0/bundled_gems.rb:76:in 'block (2 levels) in Kernel.replace_require'
        from /Users/chedli/.rbenv/versions/3.4.0-preview2/lib/ruby/gems/3.4.0+0/gems/zeitwerk-2.6.18/lib/zeitwerk/kernel.rb:34:in 'Kernel.require'
        from /Users/chedli/.rbenv/versions/3.4.0-preview2/lib/ruby/3.4.0+0/bundler/runtime.rb:65:in 'block (2 levels) in Bundler::Runtime#require'
        from <internal:array>:42:in 'Array#each'
        from /Users/chedli/.rbenv/versions/3.4.0-preview2/lib/ruby/3.4.0+0/bundler/runtime.rb:60:in 'block in Bundler::Runtime#require'
        from <internal:array>:42:in 'Array#each'
        from /Users/chedli/.rbenv/versions/3.4.0-preview2/lib/ruby/3.4.0+0/bundler/runtime.rb:52:in 'Bundler::Runtime#require'
        from /Users/chedli/.rbenv/versions/3.4.0-preview2/lib/ruby/3.4.0+0/bundler.rb:213:in 'Bundler.require'

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