finally: inheritance:

apt->user->bashrc->rvm->gitlab->onbuild