updated ruby version to 2.1.2 and xcode to beta 5
* fixed issues related to updates