Tried to get Sass & Compass working on Windows, but ran into too many problems. Now I have purchased a vintage Macbook Pro (2008). I finally got Drush working on Windows, but I can't seem to get Drush to work on the Macbook.
ON THE MAC: I am using a MAMP-Stack. I tried installing Drush-6.0, but it began to ask for 'Composer' and other such further complications. I installed Pear, but could not figure out the instructions to use Pear to install Drush. So I tried a simple install of Drush-6.0 from a Tar file Download. I installed it to the '/Applications/MAMP/htdocs' Folder. It could download Modules and Themes, but Drush could not do a simple Status check or Cache-Clear. Somehow it could not interact with Drupal.
Next I tried a Zip Download of Drush-5.9. I removed the previous Drush-6.0 from the 'htdocs' Folder with 'rm -rf drush'. I installed Drupal-5.9 by pulling the Zip into my Folder. Then I did a 'chmod u+x drush' in the working directory of drush. Then in the same HOME Folder, I edited the .bash_profile and .bashrc Files in Vim. There is nothing in either of those two files that refers to the previous Drush Path (htdocs) from the previous installation, but now they instead point to the new installation of Drush-5.9 (In the '/Users/MY-NAME/' Folder.
However, when I try to launch Drush, Drush can do a status-report. It reports Drupal, but incorrectly reports the Garland-Theme being used, which is NOT the Default Theme. By the way this same output happens if I am in the Omega-Theme working directory or the Drupal-Root working directory.
Drush also fails to accomplish a simple 'drush cc' (only the Drush-Cache is available to clear). Drush cannot do a 'drush pm-list', instead I get an error message about Drush not being able to bootstrap the Drupal Database.
I read the 'read-me' in the Drush-Installation-Folder and tried to follow the prescription for changing my PHP direcory in .bash_profile. Then trying to follow the instructions for configuring php.ini, I got lost at the point where you try to find out what version of php your Webserver is using (I presume this means MAMP, maybe not).
Now I am at a loss as what to do next to get Drush functional. Any help is greatly appreciated.
BASH_PROFILE: # Set Architecture flags export ARCHFLAGS="-arch x86_64" #Ensure user-installed binaries take presidence export PATH=/usr/local/bin:$PATH export PATH=/Users/ChandraSwami/pear/bin:$PATH export PATH=/Users/ChandraSwami/Dev:$PATH export PATH="$PATH:/Users/ChandraSwami/drush:/usr/local/bin" export PATH="/Applications/MAMP/Library/bin:/Applications/MAMP/bin/php5.4.24/bin:$PATH" #Load .bashrc if it exists test -f ~/.bashrc && source ~/.bashrc : [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* source ~/.profile END-BASH_PROFILE