How to run manageiq in production mode?

cd /home/manageiq/bin
bundle install

but it give errors like this:

Is there any configuration I haven’t done yet?

It seems you are having failures creating the database, and it could be because you cd'd into the bin dir.

bin/setup and bin/update will handle database creation, bundle installation, and ui compilation all in one call, so need to bundle install separately.