I am still running into this issue even after reinstalling hpricot
under Snow Leopard. When I require 'hpricot' I get this error:
/usr/local/lib/ruby/gems/1.8/gems/hpricot-0.8.1/lib/
hpricot_scan.bundle: mach-o, but wrong architecture - /usr/local/lib/
ruby/gems/1.8/gems/hpricot-0.8.1/lib/hpricot_scan.bundle
I have uninstalled and reinstalled the gem, including forcing the
architecture (both 64 and 32 bit). Either way I get the same error.
Here is what I've tried:
sudo gem install hpricot
sudo env ARCHFLAGS='-arch x86_64' gem install hpricot
sudo env ARCHFLAGS='i386' gem install hpricot
I am using Ruby 1.8.7 on a Mac Pro running 10.6.1.
On Sep 5, 1:13 am, Ryo <[email protected]> wrote:
> This issue has been resolved by reinstalling all gems.
>
> http://weblog.rubyonrails.org/2009/8/30/upgrading-to-snow-leopard
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---