I'm using thin to run my rails app on ec2. How do I specify that my ec2 instance is test or prod in thin? Is thin really a good choice for running rails app in production? It's not gonna be a high volume app at least at first.
You can pass the desired environment to thin
with either -e production
on the command-line or environment: production
in your YAML config-file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With