I'm currently trying to automate the deployment process of our rails application as much as possible, so a clean build on the CI server can trigger automatic deployment on the test server.
But I encountered some error with the following scenario: I added a friendly_id application to the application. There is a migration that creates all the necessary tables. But to populate these tables, I need to call the rake task.
Now these rake calls need to be called only once, so adding it to your script deployment would be redundant.
Ideally, I'm looking for something like a migration, but instead of a database, it should keep track of the scripts that need to be called during deployment. Does such a beast already exist?
source
share