I have a Rails 3.2.8 application and I don't want to push my spec folder and test log to Heroku. How would I do this? What about with a staging remote?
Thanks.
So, the reason why you cannot use SQLite on Heroku is because SQLite stores all database information in a file on disk, and because Heroku will delete the files on your disk, this won't work.
You could put them in .gitignore, but that will exclude them from your repository as a whole.
The better solution is to push them to Heroku but prevent Heroku from deploying them to your dynos. You can configure that with a .slugignore 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