openminds / openminds_deploy

A set of defaults for deploying to the Openminds shared hosting servers. These include our best practices for deployment, and should make a very clean Capfile.
http://www.openminds.be
4 stars 1 forks source link

task need_migrations is called even when ActiveRecord is not active #4

Open petervandenabeele opened 11 years ago

petervandenabeele commented 11 years ago

With ref to

https://github.com/openminds/openminds_deploy/blob/master/lib/openminds_deploy/defaults.rb#L37

This is called on an initial cap deploy even for a project that does not use ActiveRecord.

I suggest to add a check for the presence of ActiveRecord.

The work around I used for now is this: