- Used Zammad version: 3.7.0
- Used Zammad installation source: source
- Operating system: NixOS
I’m trying to package Zammad for NixOS. This is a stateless distribution, and it uses a sandbox for building. I have only weak Ruby skills. I’ll need to package it in such a way that the app is in a certain folder with the compiled assets and all application state is in e.g.
I got as far building the gemset, and I’m now trying to precompile the assets. The problem is that packages are built in a network-less sandbox.
when I run
cp config/database/database.yml config/database.yml bundle exec rake rake:assets:precompile RAILS_ENV=production NODE_ENV=production
it errors out, wanting to connect to PostgreSQL.
How can I make it skip the DB connection?