{"action":"closed","issue":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/4142","labels_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/4142/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/4142/comments","events_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/4142/events","html_url":"https://github.com/CocoaPods/CocoaPods/issues/4142","id":105416251,"number":4142,"title":"Don't crash if the argument provided to `pod repo lint` is not a directory","user":{"login":"yellokrow","id":2627779,"avatar_url":"https://avatars.githubusercontent.com/u/2627779?v=3","gravatar_id":"","url":"https://api.github.com/users/yellokrow","html_url":"https://github.com/yellokrow","followers_url":"https://api.github.com/users/yellokrow/followers","following_url":"https://api.github.com/users/yellokrow/following{/other_user}","gists_url":"https://api.github.com/users/yellokrow/gists{/gist_id}","starred_url":"https://api.github.com/users/yellokrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yellokrow/subscriptions","organizations_url":"https://api.github.com/users/yellokrow/orgs","repos_url":"https://api.github.com/users/yellokrow/repos","events_url":"https://api.github.com/users/yellokrow/events{/privacy}","received_events_url":"https://api.github.com/users/yellokrow/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/labels/d1:easy","name":"d1:easy","color":"00B952"},{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/labels/t2:defect","name":"t2:defect","color":"6902E1"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-08T16:16:01Z","updated_at":"2015-10-24T18:51:46Z","closed_at":"2015-10-24T18:51:46Z","body":"After uninstalling cocoapods-* using gem and deleting the .cocoapods folder, I reinstalled it. I issued `pod setup` after the install. When I issue the command `pod repo lint PodSpecName.podspec` for my previously working podspecs I get the error 'ENOTDIR - Not a directory'. I even tried to copy and paste the Artsy podspec from the tutorials on cocoapods.com and I get the same error when running the command. Help would be appreciated.\r\n\r\nLinting spec repo `artsy.podspec`\r\n\r\n[in /Users/MyUserName]\r\n\r\n――― MARKDOWN TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――\r\n\r\n### Command\r\n\r\n```\r\n/usr/bin/pod repo lint artsy.podspec\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.38.2\r\n        Ruby : ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin14]\r\n    RubyGems : 2.4.6\r\n        Host : Mac OS X 10.10.5 (14F27)\r\n       Xcode : 6.4 (6E35b)\r\n         Git : git version 2.3.2 (Apple Git-55)\r\nRuby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib\r\nRepositories : master - https://github.com/CocoaPods/Specs.git @ cb3d21caae2d3bbc729584b2818628a75155d259\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.4\r\ncocoapods-try     : 0.4.5\r\n```\r\n\r\n### Podfile\r\n\r\n```ruby\r\n\r\n```\r\n\r\n### Error\r\n\r\n```\r\nErrno::ENOTDIR - Not a directory - artsy.podspec\r\n/Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.38.2/lib/cocoapods-core/source.rb:90:in `open'\r\n/Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.38.2/lib/cocoapods-core/source.rb:90:in `entries'\r\n/Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.38.2/lib/cocoapods-core/source.rb:90:in `pods'\r\n/Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.38.2/lib/cocoapods-core/source/health_reporter.rb:53:in `analyze'\r\n/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/command/repo/lint.rb:48:in `block in run'\r\n/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/command/repo/lint.rb:40:in `each'\r\n/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/command/repo/lint.rb:40:in `run'\r\n/Library/Ruby/Gems/2.0.0/gems/claide-0.9.1/lib/claide/command.rb:312:in `run'\r\n/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/command.rb:48:in `run'\r\n/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/bin/pod:44:in `<top (required)>'\r\n/usr/bin/pod:23:in `load'\r\n/usr/bin/pod:23:in `<main>'\r\n```\r\n\r\n――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――\r\n\r\n[!] Oh no, an error occurred."}}