Can't run Rake commands any more, hpricot_scan.bundle no suitable image found [closed]
-
05-07-2019 - |
Question
Since I migrated to Snow Leopard I can't run any Rake command from the command line.
e.g if I try to run rake stats
I get:
rake aborted!
dlopen(/Users/xxx/.gem/ruby/1.8/gems/hpricot-0.8.1/lib/hpricot_scan.bundle, 9): no suitable image found. Did find:
/Users/xxx/.gem/ruby/1.8/gems/hpricot-0.8.1/lib/hpricot_scan.bundle: no matching architecture in universal wrapper - /Users/xxx/.gem/ruby/1.8/gems/hpricot-0.8.1/lib/hpricot_scan.bundle
/Users/xxx/Projects/MyProject/Rakefile:10
(See full trace by running task with --trace)
thanks for help
Solution
If the gem was built before you upgraded, you will probably have to rebuild it (32-bit then, 64-bit now). As I haven't upgraded, I don't know from experience, but you can have a look at this SO post as an example. Another good bet is to have a look at some of the search results for gems on snow leopard. Good luck.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow