gem install architecture issues

If you have any problems building gems with native code on OS X, check to see if it is trying to build PPC binaries. Things might break if your gem is relying on a library built with MacPorts… that was only built for Intel.

If this is this case, then this handy prefix will allow your gem to build properly.

sudo env ARCHFLAGS="-arch i386" gem install [gem to install]

This entry was posted in General. Bookmark the permalink.

One Response to gem install architecture issues

  1. Bill Rayner says:

    Reading your posts, I wish I was more ‘tec-key’, but I am happy I know you!

Leave a Reply

Your email address will not be published.