add -d for rubygems installation for improved debugging, notify @memoht