mattt/cupertino — pull request #7 by sj26 (2012-07-11 01:38:02+00:00)
Title: Please don't touch the load path

Absolutely love the project, great idea, I hate that dev site so much and love automation.

However, gems that [modify the load path](https://github.com/mattt/cupertino/blob/c7d71ec8645f4bb1eaacc29abc3458e44a0817e8/lib/cupertino/provisioning_portal.rb#L14) makes me sad for [many reasons](http://guides.rubygems.org/patterns/#mangling_the_load_path). I'd love to be able to use this gem in rake tasks and the like but I won't pollute my load path.

Instead of adding to the load path, just require your files with the `cupertino/` prefix. This is their canonical name and will prevent double-loading and collisions.

If you need to run the script with the local lib path having higher precendence, i.e. in development, try:

```
ruby -I ./lib ./bin/ios ...
```