During installation, an error occurs on
rake db:migrate_plugins RAILS_ENV=production
Migrating redmine_tagging...
== CreateViews: migrating ====================================================
-- create_view(:issue_tags, "select taggings.id, tags.name as tag, taggings.taggable_id as issue_id from taggings join tags on taggings.tag_id = tags.id where taggable_type = 'Issue'")
rake aborted!
An error has occurred, all later migrations canceled:
Mysql::Error: Table 'redmine.taggings' doesn't exist: CREATE VIEW `issue_tags` AS select taggings.id, tags.name as tag, taggings.taggable_id as issue_id from taggings join tags on taggings.tag_id = tags.id where taggable_type = 'Issue'
I had to execute this command instead :
$ RAILS_ENV=production ruby script/generate acts_as_taggable_on_migration
instead of
$ env RAILS_ENV=production script/generate acts_as_taggable_on_migration
During installation, an error occurs on
rake db:migrate_plugins RAILS_ENV=production
I had to execute this command instead :
$ RAILS_ENV=production ruby script/generate acts_as_taggable_on_migration
instead of$ env RAILS_ENV=production script/generate acts_as_taggable_on_migration
Then it works !
-- Thanks for your plugin !