CocoaPods/CocoaPods — Issue #108: undefined method `framework' for main:Object
Author: yas375
Created: 2012-02-01 12:29:02+00:00
State: open

I add to existing project Podfile with next contents:

```ruby
platform :ios

dependency 'EGOTableViewPullRefresh'
```

And when I run `pod install *****.xcodeproj --verbose ` command I got next error:

```
~/code/***** (git-svn)-[master] % pod install *****.xcodeproj --verbose
Updating spec repo `master'
/usr/bin/git pull
Already up-to-date.
Installing dependencies of: /Users/yas/code/*****/Podfile
Using EGOTableViewPullRefresh (0.1.0)
Generating support files
Oh no, an error occurred. Please run with `--verbose' and report on https://github.com/CocoaPods/CocoaPods/issues.

undefined method `framework' for main:Object
/Users/yas/.rvm/gems/ruby-1.9.3-p0/gems/xcodeproj-0.0.2/lib/xcodeproj/project.rb:1:in `'
/Users/yas/.rvm/gems/ruby-1.9.3-p0/gems/cocoapods-0.3.9/lib/cocoapods/xcodeproj_ext.rb:4:in `'
/Users/yas/.rvm/gems/ruby-1.9.3-p0/gems/cocoapods-0.3.9/lib/cocoapods/xcodeproj_ext.rb:3:in `'
/Users/yas/.rvm/gems/ruby-1.9.3-p0/gems/cocoapods-0.3.9/lib/cocoapods/installer.rb:34:in `project'
/Users/yas/.rvm/gems/ruby-1.9.3-p0/gems/cocoapods-0.3.9/lib/cocoapods/installer.rb:52:in `block in target_installers'
/Users/yas/.rvm/gems/ruby-1.9.3-p0/gems/cocoapods-0.3.9/lib/cocoapods/installer.rb:51:in `map'
/Users/yas/.rvm/gems/ruby-1.9.3-p0/gems/cocoapods-0.3.9/lib/cocoapods/installer.rb:51:in `target_installers'
/Users/yas/.rvm/gems/ruby-1.9.3-p0/gems/cocoapods-0.3.9/lib/cocoapods/installer.rb:77:in `install!'
/Users/yas/.rvm/gems/ruby-1.9.3-p0/gems/cocoapods-0.3.9/lib/cocoapods/command/install.rb:44:in `run'
/Users/yas/.rvm/gems/ruby-1.9.3-p0/gems/cocoapods-0.3.9/lib/cocoapods/command.rb:51:in `run'
/Users/yas/.rvm/gems/ruby-1.9.3-p0/gems/cocoapods-0.3.9/bin/pod:10:in `'
/Users/yas/.rvm/gems/ruby-1.9.3-p0/bin/pod:19:in `load'
/Users/yas/.rvm/gems/ruby-1.9.3-p0/bin/pod:19:in `

'
```

As you could see I have ruby 1.9.3 installed through rvm. Any ideas?