{"action":"created","issue":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3571","labels_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3571/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3571/comments","events_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3571/events","html_url":"https://github.com/CocoaPods/CocoaPods/issues/3571","id":77081237,"number":3571,"title":"Error on `pod install` - error occurred around fiddle.","user":{"login":"komlow","id":748501,"avatar_url":"https://avatars.githubusercontent.com/u/748501?v=3","gravatar_id":"","url":"https://api.github.com/users/komlow","html_url":"https://github.com/komlow","followers_url":"https://api.github.com/users/komlow/followers","following_url":"https://api.github.com/users/komlow/following{/other_user}","gists_url":"https://api.github.com/users/komlow/gists{/gist_id}","starred_url":"https://api.github.com/users/komlow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/komlow/subscriptions","organizations_url":"https://api.github.com/users/komlow/orgs","repos_url":"https://api.github.com/users/komlow/repos","events_url":"https://api.github.com/users/komlow/events{/privacy}","received_events_url":"https://api.github.com/users/komlow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-16T16:58:54Z","updated_at":"2015-05-17T03:05:33Z","closed_at":null,"body":"When I run `pod install`, then I got following error.\r\nI installed ruby with rbenv.\r\n\r\n### Command\r\n\r\n```\r\n/usr/local/opt/rbenv/versions/2.2.2/bin/pod install\r\n```\r\n\r\n### Report\r\n\r\n* What did you do?\r\n\r\n* What did you expect to happen?\r\n\r\n* What happened instead?\r\n\r\n\r\n### Stack\r\n\r\n```\r\n   CocoaPods : 0.37.1\r\n        Ruby : ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin14]\r\n    RubyGems : 2.4.5\r\n        Host : Mac OS X 10.10.2 (14C1510)\r\n       Xcode : 6.3.1 (6D1002)\r\n         Git : git version 2.1.3\r\nRuby lib dir : /usr/local/opt/rbenv/versions/2.2.2/lib\r\nRepositories : master - https://github.com/CocoaPods/Specs.git @ 05da79d961342f4194cf10dbfd5210af041c0291\r\n```\r\n\r\n### Plugins\r\n\r\n```\r\ncocoapods-plugins : 0.4.2\r\ncocoapods-trunk   : 0.6.0\r\ncocoapods-try     : 0.4.4\r\n```\r\n\r\n### Podfile\r\n\r\n```ruby\r\npod 'Nimble'\r\npod 'Quick'\r\n```\r\n\r\n### Error\r\n\r\n```\r\nLoadError - dlopen(/usr/local/opt/rbenv/versions/2.2.2/lib/ruby/2.2.0/x86_64-darwin14/fiddle.bundle, 9): Symbol not found: _ffi_type_double\r\n  Referenced from: /usr/local/opt/rbenv/versions/2.2.2/lib/ruby/2.2.0/x86_64-darwin14/fiddle.bundle\r\n  Expected in: flat namespace\r\n in /usr/local/opt/rbenv/versions/2.2.2/lib/ruby/2.2.0/x86_64-darwin14/fiddle.bundle - /usr/local/opt/rbenv/versions/2.2.2/lib/ruby/2.2.0/x86_64-darwin14/fiddle.bundle\r\n/usr/local/opt/rbenv/versions/2.2.2/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'\r\n/usr/local/opt/rbenv/versions/2.2.2/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'\r\n/usr/local/opt/rbenv/versions/2.2.2/lib/ruby/2.2.0/fiddle.rb:1:in `<top (required)>'\r\n/usr/local/opt/rbenv/versions/2.2.2/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'\r\n/usr/local/opt/rbenv/versions/2.2.2/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'\r\n/usr/local/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/xcodeproj-0.24.1/lib/xcodeproj/plist_helper.rb:1:in `<top (required)>'\r\n/usr/local/opt/rbenv/versions/2.2.2/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'\r\n/usr/local/opt/rbenv/versions/2.2.2/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'\r\n/usr/local/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/xcodeproj-0.24.1/lib/xcodeproj/project.rb:6:in `<top (required)>'\r\n/usr/local/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/cocoapods-0.37.1/lib/cocoapods/installer/analyzer.rb:696:in `block (2 levels) in compute_target_platforms'\r\n/usr/local/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/cocoapods-0.37.1/lib/cocoapods/installer/analyzer.rb:693:in `each'\r\n/usr/local/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/cocoapods-0.37.1/lib/cocoapods/installer/analyzer.rb:693:in `block in compute_target_platforms'\r\n/usr/local/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/cocoapods-0.37.1/lib/cocoapods/user_interface.rb:49:in `section'\r\n/usr/local/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/cocoapods-0.37.1/lib/cocoapods/installer/analyzer.rb:692:in `compute_target_platforms'\r\n/usr/local/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/cocoapods-0.37.1/lib/cocoapods/installer/analyzer.rb:52:in `analyze'\r\n/usr/local/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/cocoapods-0.37.1/lib/cocoapods/installer.rb:190:in `analyze'\r\n/usr/local/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/cocoapods-0.37.1/lib/cocoapods/installer.rb:112:in `block in resolve_dependencies'\r\n/usr/local/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/cocoapods-0.37.1/lib/cocoapods/user_interface.rb:49:in `section'\r\n/usr/local/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/cocoapods-0.37.1/lib/cocoapods/installer.rb:111:in `resolve_dependencies'\r\n/usr/local/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/cocoapods-0.37.1/lib/cocoapods/installer.rb:91:in `install!'\r\n/usr/local/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/cocoapods-0.37.1/lib/cocoapods/command/project.rb:71:in `run_install_with_update'\r\n/usr/local/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/cocoapods-0.37.1/lib/cocoapods/command/project.rb:101:in `run'\r\n/usr/local/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/claide-0.8.1/lib/claide/command.rb:312:in `run'\r\n/usr/local/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/cocoapods-0.37.1/lib/cocoapods/command.rb:46:in `run'\r\n/usr/local/opt/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/cocoapods-0.37.1/bin/pod:44:in `<top (required)>'\r\n/usr/local/opt/rbenv/versions/2.2.2/bin/pod:23:in `load'\r\n/usr/local/opt/rbenv/versions/2.2.2/bin/pod:23:in `<main>'\r\n```"},"comment":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/comments/102729776","html_url":"https://github.com/CocoaPods/CocoaPods/issues/3571#issuecomment-102729776","issue_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3571","id":102729776,"user":{"login":"komlow","id":748501,"avatar_url":"https://avatars.githubusercontent.com/u/748501?v=3","gravatar_id":"","url":"https://api.github.com/users/komlow","html_url":"https://github.com/komlow","followers_url":"https://api.github.com/users/komlow/followers","following_url":"https://api.github.com/users/komlow/following{/other_user}","gists_url":"https://api.github.com/users/komlow/gists{/gist_id}","starred_url":"https://api.github.com/users/komlow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/komlow/subscriptions","organizations_url":"https://api.github.com/users/komlow/orgs","repos_url":"https://api.github.com/users/komlow/repos","events_url":"https://api.github.com/users/komlow/events{/privacy}","received_events_url":"https://api.github.com/users/komlow/received_events","type":"User","site_admin":false},"created_at":"2015-05-17T03:05:33Z","updated_at":"2015-05-17T03:05:33Z","body":"I resolved this problem by building ruby with following options:\r\n`RUBY_CONFIGURE_OPTS=\"--enable-pthread --enable-shared --with-readline-dir=`brew --prefix readline` --with-openssl-dir=`brew --prefix openssl` --with-opt-dir=`brew --prefix libffi`\" rbenv install 2.2.2`\r\n\r\nSo I close this issue."}}