{"action":"created","issue":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3930","labels_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3930/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3930/comments","events_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3930/events","html_url":"https://github.com/CocoaPods/CocoaPods/issues/3930","id":97912861,"number":3930,"title":"NoMethodError - undefined method `gsub' for nil:NilClass when using pod install","user":{"login":"TAKeanice","id":8397407,"avatar_url":"https://avatars.githubusercontent.com/u/8397407?v=3","gravatar_id":"","url":"https://api.github.com/users/TAKeanice","html_url":"https://github.com/TAKeanice","followers_url":"https://api.github.com/users/TAKeanice/followers","following_url":"https://api.github.com/users/TAKeanice/following{/other_user}","gists_url":"https://api.github.com/users/TAKeanice/gists{/gist_id}","starred_url":"https://api.github.com/users/TAKeanice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TAKeanice/subscriptions","organizations_url":"https://api.github.com/users/TAKeanice/orgs","repos_url":"https://api.github.com/users/TAKeanice/repos","events_url":"https://api.github.com/users/TAKeanice/events{/privacy}","received_events_url":"https://api.github.com/users/TAKeanice/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-07-29T11:04:14Z","updated_at":"2015-07-29T15:31:51Z","closed_at":null,"body":"### Command\r\n\r\n```\r\n/usr/local/bin/pod update\r\n```\r\n\r\n### Report\r\n\r\n* What did you do?\r\nInstalling an development pod (https://github.com/SocialbitGmbH/SwiftAddressBook) in its sample project which was just cloned from git, with `use_frameworks!`, and nothing else inside the Podfile. Cocoapod version was just updated through `sudo gem install cocoapods`, uninstalling and re-installing fully did not help either.\r\n\r\n* What did you expect to happen?\r\n`pod install` installs pod as usual\r\n\r\n* What happened instead?\r\n`pod install` crashed\r\n\r\n### Stack\r\n\r\n```\r\n   CocoaPods : 0.38.2\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.4 (14E46)\r\n       Xcode : 6.4 (6E35b)\r\n         Git : git version 2.5.0\r\nRuby lib dir : /usr/local/Cellar/ruby/2.2.2/lib\r\nRepositories : master - https://github.com/CocoaPods/Specs.git @ e230d92a344abee990e7d87881984e9dc1abe22e\r\n```\r\n\r\n### Plugins\r\n\r\n```\r\ncocoapods-plugins : 0.4.2\r\ncocoapods-stats   : 0.5.3\r\ncocoapods-trunk   : 0.6.1\r\ncocoapods-try     : 0.4.5\r\n```\r\n\r\n### Podfile\r\n\r\n```ruby\r\nplatform :ios, '8.0'\r\nlink_with \"SwiftAddressBookExample\", \"SwiftAddressBookTests\"\r\nuse_frameworks!\r\npod \"SwiftAddressBook\", :path => \"../\"\r\n```\r\n\r\n### Error\r\n\r\n```\r\nNoMethodError - undefined method `gsub' for nil:NilClass\r\n/usr/local/lib/ruby/gems/2.2.0/gems/cocoapods-0.38.2/lib/cocoapods/sandbox/path_list.rb:58:in `block in read_file_system'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/cocoapods-0.38.2/lib/cocoapods/sandbox/path_list.rb:58:in `map'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/cocoapods-0.38.2/lib/cocoapods/sandbox/path_list.rb:58:in `read_file_system'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/cocoapods-0.38.2/lib/cocoapods/sandbox/path_list.rb:31:in `files'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/cocoapods-0.38.2/lib/cocoapods/sandbox/path_list.rb:117:in `relative_glob'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/cocoapods-0.38.2/lib/cocoapods/sandbox/path_list.rb:79:in `glob'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/cocoapods-0.38.2/lib/cocoapods/sandbox/file_accessor.rb:314:in `expanded_paths'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/cocoapods-0.38.2/lib/cocoapods/sandbox/file_accessor.rb:285:in `paths_for_attribute'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/cocoapods-0.38.2/lib/cocoapods/sandbox/file_accessor.rb:81:in `source_files'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/cocoapods-0.38.2/lib/cocoapods/target/pod_target.rb:111:in `each'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/cocoapods-0.38.2/lib/cocoapods/target/pod_target.rb:111:in `flat_map'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/cocoapods-0.38.2/lib/cocoapods/target/pod_target.rb:111:in `should_build?'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/cocoapods-0.38.2/lib/cocoapods/installer.rb:377:in `block (3 levels) in verify_no_duplicate_framework_names'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/cocoapods-0.38.2/lib/cocoapods/installer.rb:377:in `select'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/cocoapods-0.38.2/lib/cocoapods/installer.rb:377:in `block (2 levels) in verify_no_duplicate_framework_names'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/cocoapods-0.38.2/lib/cocoapods/installer.rb:373:in `each'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/cocoapods-0.38.2/lib/cocoapods/installer.rb:373:in `block in verify_no_duplicate_framework_names'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/cocoapods-0.38.2/lib/cocoapods/installer.rb:372:in `each'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/cocoapods-0.38.2/lib/cocoapods/installer.rb:372:in `verify_no_duplicate_framework_names'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/cocoapods-0.38.2/lib/cocoapods/installer.rb:107:in `install!'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/cocoapods-0.38.2/lib/cocoapods/command/project.rb:71:in `run_install_with_update'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/cocoapods-0.38.2/lib/cocoapods/command/project.rb:156:in `run'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/claide-0.9.1/lib/claide/command.rb:312:in `run'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/cocoapods-0.38.2/lib/cocoapods/command.rb:48:in `run'\r\n/usr/local/lib/ruby/gems/2.2.0/gems/cocoapods-0.38.2/bin/pod:44:in `<top (required)>'\r\n/usr/local/bin/pod:23:in `load'\r\n/usr/local/bin/pod:23:in `<main>'\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/comments/125990039","html_url":"https://github.com/CocoaPods/CocoaPods/issues/3930#issuecomment-125990039","issue_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3930","id":125990039,"user":{"login":"neonichu","id":118992,"avatar_url":"https://avatars.githubusercontent.com/u/118992?v=3","gravatar_id":"","url":"https://api.github.com/users/neonichu","html_url":"https://github.com/neonichu","followers_url":"https://api.github.com/users/neonichu/followers","following_url":"https://api.github.com/users/neonichu/following{/other_user}","gists_url":"https://api.github.com/users/neonichu/gists{/gist_id}","starred_url":"https://api.github.com/users/neonichu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neonichu/subscriptions","organizations_url":"https://api.github.com/users/neonichu/orgs","repos_url":"https://api.github.com/users/neonichu/repos","events_url":"https://api.github.com/users/neonichu/events{/privacy}","received_events_url":"https://api.github.com/users/neonichu/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T15:31:51Z","updated_at":"2015-07-29T15:31:51Z","body":"Unfortunately, I can't reproduce this, even when building ruby with Homebrew — which gives me the same exact version you have."}}