Example of https://github.com/takeru/cocos2dx-mruby Clone of NyanGame. http://book.mynavi.jp/support/pc/4697/
Install cocos2d-x-2.2.2
cd path/to/cocos2d-x-2.2.2/projects
projects% git clone [email protected]:takeru/NyanGameRuby.git
projects% cd NyanGameRuby
NyanGameRuby% git submodule init
NyanGameRuby% git submodule update
NyanGameRuby% git submodule init
NyanGameRuby% cd ios-ruby-embedded
ios-ruby-embedded% NyanGameRuby% git submodule update
ios-ruby-embedded% NyanGameRuby% git submodule init
ios-ruby-embedded% NyanGameRuby% rake
ios-ruby-embedded% cd ..
NyanGameRuby% open proj.ios/NyanGameRuby.xcodeproj