I thought I had installed successfully module builder as drush plugin : typing help mb
returns complete help story...
But when I try to use it, ie typing mb easyresponsive_panels ctools_plugin_directory menu --write
, it gives me the following error :
Command mb-build needs a higher bootstrap level to run - you will need to invoke drush from a more functional Drupal environment to run this command. The drush command 'mb easyresponsive_panels' could not be executed. Could not find a Drupal settings.php file at sites/default/settings.php.
I have a multi site install, this is why no sites/default/settings.php is found.
I tried to specify root and site explicitly, as per these answers, running --root=path/to/drupal --uri=mysite.com status
, this returns the correct complete status :
Drupal version : 7.24
Site URI : visages_20131224:8082
Database driver : mysql
Database username : drupaluser
Database name : visages_20131224
Database : Connected
Drupal bootstrap : Successful
Drupal user :
Default theme : neptune
Administration theme : adaptivetheme_admin
PHP executable : php.exe
PHP configuration : C:\wamp\bin\php\php5.3.13\php.ini
PHP OS : WINNT
Drush version : 7.0-dev
Drush configuration :
Drush alias files :
Drupal root : C:\Users\Thierry\Sites\visages_20131224\
Site path : sites/visages_20131224
File directory path : sites/visages_20131224/files
Temporary file directory path : c:\windows\temp
(my dev config : Windows 7, Acquia Dev Deskstop, Netbeans, D7)
Related Q&A didn't enlightened me yet, any help is welcome.
drush @alias ...
to target a particular site