remove previous gems from a ruby_application

Fixes #14
Fixes #6