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

64 bit / snowleopard failure - native extension has hardcoded archflags #79

Closed
jpld opened this issue Jun 14, 2009 · 2 comments
Closed

Comments

@jpld
Copy link

jpld commented Jun 14, 2009

the nokogiri gem is not usable by default on 64b capable snowleopard machines (core 2 duo +), it bombs out in an architecture mismatch.

as a temporary workaround, one can run ruby in 32 bit
arch -i386 ruby ...
or tweak extconf.rb
ENV["ARCHFLAGS"] = "-arch #{uname -p =~ /powerpc/ ? 'ppc' : 'x86_64'}"

@tenderlove
Copy link
Member

no longer adding the archflags stuff. I think it is no longer necessary. closed by 9962d5d

@jpld
Copy link
Author

jpld commented Jun 15, 2009

just pulled down the change linked above and built; everything looks good now.

This issue was closed.
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

No branches or pull requests

2 participants