drush-6.5.0(stable) で drush core-quick-drupal
すると下記のエラー:
root@cca7fedb262d:/# drush core-quick-drupal --use-existing --root=app --db-url=mysql://drupal@mysql/drupal --db-prefix=drupal_ --yes
You are about to create a sites/default/files directory and DROP all tables in your 'drupal' database. Do you want to continue? (y/n): y
No tables to drop. [ok]
require_once(app/includes/install.core.inc): failed to open stream: No such file or directory site_install.inc:11 [warning]
PHP Fatal error: require_once(): Failed opening required 'app/includes/install.core.inc' (include_path='.:/usr/share/php:/usr/share/pear') in /root/.composer/vendor/drush/drush/commands/core/drupal/site_install.inc on line 11
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: require_once(): Failed opening required 'app/includes/install.core.inc' (include_path='.:/usr/share/php:/usr/share/pear') in
/root/.composer/vendor/drush/drush/commands/core/drupal/site_install.inc, line 11
このあたりが関係してそう:
- Drush 7 fails UP command on D7 site- ?PEAR or D7 core problem · Issue #827 · drush-ops/drush
- Fix drush updb for Drupal 7. by luizsgpetri · Pull Request #839 · drush-ops/drush
で、6.xでは対処されていないと思って7.0-devを使ったところ、上手くいった。