ruby-on-railsrubygemsnokogiriblueclothfeedzirra

gem problems with snow leopard and nokogiri bluecloth and feedzirra


I just upgraded to snow leopard, ran the migration assistant and have spent hours and hours trying to get these gems to work with no luck. When I try to start my server I get the errors below. All the gems that are missing are actually in vendor dir. This works on another persons snow leopard so it must be an artifact of me migrating from leopard or something else I messed up today.

I have tried rake gems:build:force. Tried deleting the .bundles manually. I also removed mac ports, reinstalled and did: sudo port install libxml2 libxslt. Also installed xcode.

 ruby script/server
=> Booting WEBrick
=> Rails 2.3.5 application starting on http://0.0.0.0:3000
dlsym(0x103a010a0, Init_bluecloth_ext): symbol not found - /Users/jnylund/Projects/vente/vendor/gems/bluecloth-2.0.5/lib/bluecloth_ext.bundle
/Users/jnylund/Projects/vente/vendor/gems/bluecloth-2.0.5/lib/bluecloth_ext.bundle
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/gems/bluecloth-2.0.5/lib/bluecloth.rb:156
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:208:in `load'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:307:in `load_gems'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:307:in `each'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:307:in `load_gems'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:164:in `process'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:113:in `send'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:113:in `run'
/Users/jnylund/Projects/vente/config/environment.rb:12
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/rails/railties/lib/commands/server.rb:84
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
script/server:3
dlsym(0x1026a0790, Init_nokogiri): symbol not found - /Users/jnylund/Projects/vente/vendor/gems/nokogiri-1.4.1/lib/nokogiri/nokogiri.bundle
/Users/jnylund/Projects/vente/vendor/gems/nokogiri-1.4.1/lib/nokogiri/nokogiri.bundle
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/gems/nokogiri-1.4.1/lib/nokogiri.rb:13
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:208:in `load'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:307:in `load_gems'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:307:in `each'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:307:in `load_gems'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:164:in `process'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:113:in `send'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:113:in `run'
/Users/jnylund/Projects/vente/config/environment.rb:12
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/rails/railties/lib/commands/server.rb:84
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
script/server:3
dlsym(0x103998840, Init_nokogiri): symbol not found - /Users/jnylund/Projects/vente/vendor/gems/nokogiri-1.4.1/lib/nokogiri/nokogiri.bundle
/Users/jnylund/Projects/vente/vendor/gems/nokogiri-1.4.1/lib/nokogiri/nokogiri.bundle
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/gems/nokogiri-1.4.1/lib/nokogiri.rb:13
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/gems/sax-machine-0.0.14/lib/sax-machine/sax_document.rb:1
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/gems/sax-machine-0.0.14/lib/sax-machine.rb:5
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/gems/feedzirra-0.0.23/lib/feedzirra.rb:5
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:208:in `load'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:307:in `load_gems'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:307:in `each'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:307:in `load_gems'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:164:in `process'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:113:in `send'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:113:in `run'
/Users/jnylund/Projects/vente/config/environment.rb:12
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/rails/railties/lib/commands/server.rb:84
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
script/server:3
dlsym(0x102690920, Init_bluecloth_ext): symbol not found - /Users/jnylund/Projects/vente/vendor/gems/bluecloth-2.0.5/lib/bluecloth_ext.bundle
/Users/jnylund/Projects/vente/vendor/gems/bluecloth-2.0.5/lib/bluecloth_ext.bundle
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/gems/bluecloth-2.0.5/lib/bluecloth.rb:156
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:208:in `load'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:307:in `load_gems'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:307:in `each'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:307:in `load_gems'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:169:in `process'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:113:in `send'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:113:in `run'
/Users/jnylund/Projects/vente/config/environment.rb:12
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/rails/railties/lib/commands/server.rb:84
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
script/server:3
dlsym(0x1026a7a80, Init_nokogiri): symbol not found - /Users/jnylund/Projects/vente/vendor/gems/nokogiri-1.4.1/lib/nokogiri/nokogiri.bundle
/Users/jnylund/Projects/vente/vendor/gems/nokogiri-1.4.1/lib/nokogiri/nokogiri.bundle
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/gems/nokogiri-1.4.1/lib/nokogiri.rb:13
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:208:in `load'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:307:in `load_gems'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:307:in `each'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:307:in `load_gems'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:169:in `process'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:113:in `send'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:113:in `run'
/Users/jnylund/Projects/vente/config/environment.rb:12
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/rails/railties/lib/commands/server.rb:84
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
script/server:3
dlsym(0x102ab4c00, Init_nokogiri): symbol not found - /Users/jnylund/Projects/vente/vendor/gems/nokogiri-1.4.1/lib/nokogiri/nokogiri.bundle
/Users/jnylund/Projects/vente/vendor/gems/nokogiri-1.4.1/lib/nokogiri/nokogiri.bundle
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/gems/nokogiri-1.4.1/lib/nokogiri.rb:13
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/gems/sax-machine-0.0.14/lib/sax-machine/sax_document.rb:1
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/gems/sax-machine-0.0.14/lib/sax-machine.rb:5
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/gems/feedzirra-0.0.23/lib/feedzirra.rb:5
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:208:in `load'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:307:in `load_gems'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:307:in `each'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:307:in `load_gems'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:169:in `process'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:113:in `send'
/Users/jnylund/Projects/vente/config/../vendor/rails/railties/lib/initializer.rb:113:in `run'
/Users/jnylund/Projects/vente/config/environment.rb:12
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
/Users/jnylund/Projects/vente/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/Users/jnylund/Projects/vente/vendor/rails/railties/lib/commands/server.rb:84
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
script/server:3
Missing these required gems:
  bluecloth  = 2.0.5
  nokogiri  = 1.4.1
  feedzirra  = 0.0.23

You're running:
  ruby 1.8.7.174 at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
  rubygems 1.3.5 at /Users/jnylund/.gem/ruby/1.8, /Library/Ruby/Gems/1.8, /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8

Run `rake gems:install` to install the missing gems.

Solution

  • It took 2 days of trial and error, but I seem to have things working, im not exactly sure what cured the problem, but here is my best guess:

    env ARCHFLAGS="-arch x86_64 rake gems:build:force
    

    I think this is what finally fixed it.

    I did also clean up all my system gems using:

    env ARCHFLAGS="-arch x86_64 gem pristine --all
    

    So its possible one of these gems depends on a gem in my system and that helped also.

    Joel