pganalyze / pg_query

Ruby extension to parse, deparse and normalize SQL queries using the PostgreSQL query parser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build failed on MacOS with asdf

imcvampire opened this issue · comments

If I install, build and run on MacOS with asdf-vm (a version manager), I face an error when start rails

Uncaught exception: dlopen(/Users/.../.asdf/installs/ruby/2.6.5/lib/ruby/gems/2.6.0/gems/pg_query-1.2.0/lib/pg_query/pg_query.bundle, 9): no suitable image found.  Did find:
	/Users/.../.asdf/installs/ruby/2.6.5/lib/ruby/gems/2.6.0/gems/pg_query-1.2.0/lib/pg_query/pg_query.bundle: mach-o, but built for simulator (not macOS)

@imcvampire Hmm, I can't reproduce this here (rbenv on MacOS)

Do you see the same problem in the new 2.0 release?

Closing this since no further updates - please let me know if this is still an issue on the most recent release.