Regarding using two repos, I added some thoughts in this thread:
(I suggest you ask the Ruby/Xcode question separately, since that sounds unrelated).