CocoaPods/CocoaPods — Issue #147: wrong number of arguments (1 for 2)
Author: cellularmitosis
Created: 2012-03-02 18:56:48+00:00
State: open

Hey guys,

I just followed the docs at https://github.com/CocoaPods/CocoaPods and ran the following:

sudo gem install cocoapods
pod setup
pod search asi

this results in the following:

cell@Immortal$ pod search asi
==> ASIHTTPRequest (1.8.1)
Oh no, an error occurred. Please run with `--verbose' and report on https://github.com/CocoaPods/CocoaPods/issues.

wrong number of arguments (1 for 2)

running it with --verbose results in:

cell@Immortal$ [1] pod --verbose search asi
==> ASIHTTPRequest (1.8.1)
Oh no, an error occurred. Please run with `--verbose' and report on https://github.com/CocoaPods/CocoaPods/issues.

wrong number of arguments (1 for 2)
/Library/Ruby/Gems/1.8/gems/cocoapods-0.5.1/lib/cocoapods/dependency.rb:24:in `initialize'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.5.1/lib/cocoapods/dependency.rb:24:in `initialize'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.5.1/lib/cocoapods/specification/set.rb:41:in `new'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.5.1/lib/cocoapods/specification/set.rb:41:in `dependency'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.5.1/lib/cocoapods/specification/set.rb:64:in `required_version'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.5.1/lib/cocoapods/specification/set.rb:82:in `find'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.5.1/lib/cocoapods/specification/set.rb:64:in `each'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.5.1/lib/cocoapods/specification/set.rb:64:in `find'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.5.1/lib/cocoapods/specification/set.rb:64:in `required_version'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.5.1/lib/cocoapods/specification/set.rb:55:in `specification_path'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.5.1/lib/cocoapods/specification/set.rb:59:in `specification'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.5.1/lib/cocoapods/command/search.rb:29:in `run'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.5.1/lib/cocoapods/command/search.rb:27:in `each'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.5.1/lib/cocoapods/command/search.rb:27:in `run'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.5.1/lib/cocoapods/command.rb:53:in `run'
/Library/Ruby/Gems/1.8/gems/cocoapods-0.5.1/bin/pod:11
/usr/bin/pod:19:in `load'
/usr/bin/pod:19

ruby version:

cell@Immortal$ type -a ruby
ruby is /usr/bin/ruby
cell@Immortal$ ruby --version
ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]

I'm running OS X 10.6.8.

I'm running Xcode 4.2.

What do?