I added this to my application:
https://github.com/fpotter/juggernaut-cocoa
In the instructions, it says:
If you have git 1.7+ git clone git://github.com/fpotter/juggernaut-cocoa.git --recursive
It doesnt say where to clone it, so I clone it in my Documents folder. Then I copy the AsyncSocket.h, AsyncSocket.m, WebSocket.h, WebSocket.m, SocketIoClient.h, SocketIoClient.m, JuggernautClient.h, JuggernautClient.m files to my project in a folder I created called juggernaut-cocoa inside vendor.
However, while the files work on my local machine, when i push to github they are never added. All I see is a little green folder:
http://i47.tinypic.com/2ajnkzl.jpg
But when I try to clone my repository from another computer, the files are not there, they were never added to git.
I then tried to clone their project into my Vendor folder, and then ran git submodule init but got this:
No submodule mapping found in .gitmodules for path 'Vendor/juggernaut-cocoa'