add package dependency libffi-dev for ruby 2.2.0

https://twitter.com/hsbt/status/548085823430602753