Created
          May 28, 2014 10:34 
        
      - 
      
- 
        Save lexrus/c4d1829ae0d00fb505c1 to your computer and use it in GitHub Desktop. 
    Force your little brother to upgrade CocoaPods.
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | NEW_VER="0.33.1" | |
| POD_VER=`pod --version 2>/dev/null`|| POD_VER=`~/.rbenv/shims/pod --version 2>/dev/null` | |
| if [[ "$POD_VER" != *$NEW_VER ]]; then | |
| echo "error: WTF! You MUST upgrade cocoapods!!!" | |
| exit 1 | |
| fi | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
How to use it and what does it looks like? Check out the screenshot: