adamwaite / iOS-Build-Kit

☠️ BuildKit is a modular command line interface for automating iOS project builds. Bundled build tasks include: Increment app version • Xcode build • Overlay version number on icon files • Run unit tests • Create .ipa artefact.
MIT License
568 stars 54 forks source link

uninitialized constant ContiniOSIntegration::CITaskRunner::YAML #2

Closed ehlersd closed 11 years ago

ehlersd commented 11 years ago

When running 'rake' from within the ContiniOSIntegration directory on a project I setup, I get the above error message with the "rake aborted!".

Is there something else I am missing to install?

ehlersd commented 11 years ago

After doing some Googling, I added a line to the continios_integration.rb file:

require 'YAML'

This seems to have fixed this problem, and moved onto another error with a missing font. Looks like ghostscript needs to be installed 'brew install ghostscript'.

There may have been something else that I missed that would have installed these....or it may have to do with an updated OSX (Mavericks) system.

Anyway, I hope this information is useful.

adamwaite commented 11 years ago

Thanks for the heads up. I think ghostscript must have been installed on my system already for some reason or another (probably came with another package), so I didn't realise it was a dependency for the build tools. I've added that as a dep, added the information to the README and have added the YAML req. I don't think the Mavericks thing has much to do with it unless they've overhauled system Ruby. I don't dare install it to check after I ruined my Mac with the beta Mountain Lion last year! Thanks again - credited in the commit message.