Why is node-gyp rebuild failing on Mac OSX El Capitan

Anytime i upgrade OSX to newer version, I get the same issue. Here is how i solve it every time: sudo rm -rf /Library/Developer/CommandLineTools xcode-select –install That’s it. Now next time you do npm install or yarn it’ll work. PS: Sometimes you won’t be able to install the command line tool through Xcode-select, for example … Read more

Yosemite / El Capitan php-gd + mcrypt installation

You are right, Yosemite’s built-in PHP comes without PNG and FreeType support. Update 2015/10 for El Captian: With OS X 10.11 El Capitan PNG support is back, but FreeType is still missing. Solution Use the Homebrew package manager to painlessly build and install a complete PHP and replace it in Apache’s config. The whole process … Read more

Homebrew install: Failed during: git fetch origin master:refs/remotes/origin/master -n –depth=1

After a few hours of research and brute force I learned the issue was due to git not being configured properly. Some articles suggested downgrading your git or reinstalling all together. However, I resolved the issue just by adding the following git config –global user.email yourgitemail@example.com Then remove the cellar and homebrew directories from /usr/local … Read more

Can’t install virtualenvwrapper on OSX 10.11 El Capitan

You can manually install the dependencies that don’t exist on a stock 10.11 install, then install the other packages with –no-deps to ignore the dependencies. That way it will skip six (and argparse which is also already installed). This works on my 10.11 beta 6 install: sudo pip install pbr sudo pip install –no-deps stevedore … Read more

Cocoa Pods not updating pods on El Capitan

This is caused by the new System integrity protection feature introduced in El Capitan. It restricts even administrators from writing to /usr/bin. Your best option would be to install gems without needing sudo. There is a good guide on how to do that: export GEM_HOME=$HOME/.gem export PATH=$GEM_HOME/bin:$PATH gem install cocoapods

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)