How do I install Drush for D8? I thought it would just work in D7 as it does in D8? I've got no problem using it locally in D7, but when moving to the D8 directory I get:
$ drush dl devel
Drush 5.8 does not support Drupal . Use Drush 4 instead. [error]
PHP Fatal error: Call to undefined function conf_path() in /Users/mgifford/pear/share/pear/drush/includes/bootstrap.inc on line 784
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Call to undefined function conf_path() in /Users/mgifford/pear/share/pear/drush/includes/bootstrap.inc, line 784
Comments
Comment #1
moshe weitzman commentedThat message is a bug. You need Drush 6 (release is named 8.x-6.x). You can do a download or a git clone or use PEAR.
Comment #2
mgiffordJust to confirm.
1) Will the message be fixed?
2) Great to see that there's no problem updating the D7 sites still.
3) It worked, but I'm now getting this error:
2nd time this week that the service container has given me grief
4) It's really quite obvious, but as a todo would be good to add
pear install drush/drush-6.0.0to the project page https://drupal.org/project/drushThanks again. Drush has become such a critical part of how we work!
Comment #3
moshe weitzman commentedThat message might already be fixed. Someone needs to check on tip of 7.x-5.x branch.
Those directories which MTimeProtected directories give me massive grief as well. It needs its own issue.
Comment #4
mgiffordPosted the new issue here #1899842: MTimeProtected Directory Grief
Comment #6
kenorb commented#1481270: Fatal error: Call to undefined function conf_path() with D6.25/PHP5.2 in Panels directory