DrupalDork.com was shut down on September 18, 2013. This is just a snapshot of the site as it appeared then.

Drush

Drush with Homebrew & MAMP Pro

Sometime over the past few weeks, Drush stopped working for me. I could run drush st just fine, but anything that actually touched the database (like drush cc or drush up) gave me the dreaded "Drush was not able to start (bootstrap) the Drupal database" error. And since I'm always tweaking and changing settings on my system, I had no idea what I had done to break it.

My first thought was that I had killed it with Homebrew. I recently nuked my manual install of Drush so I could use Homebrew to update it every now and then. Once you install Homebrew, you can have Drush installed and configured really easily: brew install drush The same command will update it, too. But that wasn't the problem.

Category:

Updating Drupal Core with Drush

(Originally posted on BrockBoland.com.)

Sometimes I want to update the Drupal core without updating all the modules and themes I have installed. By default, drush up will update everything, but that's not what I wanted to do today. This seems like the kind of thing that would be easy to find on Google, but no such luck. So, for the benefit of the next drush newb:

drush up drupal

Makes sense, right?

Subscribe to RSS - Drush