I use a gem called “Appraisal” to test my gems against multiple versions of its dependencies. You should give it a try! #RDRC http://git.io/i-love-appraisal
Why was this so bad? • Time consuming • Can’t test against multiple versions at once • Doesn’t handle dependency of dependency • Dependency hell • $ rm -Rf $GEM_HOME
This is good, but ... • Waste of space; gems are not shared • Contributors need to use Ruby manager that supports Gemset • May need to have bootstrap script to setup gemsets
Appraisal • Allow you to set dependencies in a single place • Generate sub-Gemfiles for you • Install multiple versions of dependencies • Setup Bundler to use the correct version of dependency
Thank you! Prem Sichanugrist (@sikachu) Tweet your love: http://git.io/i-love-appraisal http://learn.thoughtbot.com – Promo code: REDDOT $49 off first month of Prime I also have some stickers