got the same error after
bash-4.1# sudo su foreman --shell=/bin/bash
bash-4.1$ cd /usr/share/foreman
bash-4.1$ bundle install --local
Could not find gem 'audited-activerecord (= 3.0.0.rc1) ruby' in the gems
available on this machine.
should I try "bundle install" without --local ?
Thanks.