“please check gdb is codesigned – see taskgated(8)” – How to get gdb installed with homebrew code signed?

This error occurs because OSX implements a pid access policy which requires a digital signature for binaries to access other processes pids. To enable gdb access to other processes, we must first code sign the binary. This signature depends on a particular certificate, which the user must create and register with the system. To create … Read more

ERROR: While executing gem … (Gem::FilePermissionError)

I have checked all the other similar answers and none was exactly like mine, neither did any of those solutions work for me. gem environment and sudo gem environment give the same result: rvm -v : rvm 1.22.3 ruby -v : ruby 1.8.7 OSX 10.8.4 echo $PATH /usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/ava/.rvm/bin:/home/ava/bin gem install <gem-name> gives whereas I am … Read more

Does Mac OS X use Linux?

Mac OSX is built on top of BSD. http://en.wikipedia.org/wiki/OS_X Linux classes, in my opinion, are just fine and would enable you to be comfortable with the command line. The caveat is that there are differences such as the output or availability or options of commands. Instance is “ps”. The system libraries, the folder structure are … Read more

hat’s a clean way to stop mongod on Mac OS X?

It’s probably because launchctl is managing your mongod instance. If you want to start and shutdown mongod instance, unload that first: Then start mongod manually: You can find your mongod.conf location from ~/Library/LaunchAgents/org.mongodb.mongod.plist. After that, db.shutdownServer() would work just fine. Added Feb 22 2014: If you have mongodb installed via homebrew, homebrew actually has a handy brew services command. To … Read more

Homebrew brew doctor warning about /Library/Frameworks/Python.framework, even with brew’s Python installed

I had the same problem. When I upgraded python3 through Homebrew, I started getting this: I had the same conflict with Python somehow being installed in /Library/Framework/Python.framework. I just did a brew link overwrite and everything is working fine now. There is some info about what to do with the Python version in the /Library/Framework/Python.framework here. I guess you could … Read more

How do I install pip on macOS or OS X?

pip’s documentation lists the supported mechanisms to install it: https://pip.pypa.io/en/stable/installation/#supported-methods It is generally recommended to avoid installing pip on the OS-provided python commands, and to install Python via the https://python.org installers or using something like Homebrew or pyenv. Python 3.4+ will have ensurepip, so if you’re unable to run python3 -m pip — run python3 -m ensurepip and it’ll install pip for you. If you’re using an end-of-life … Read more

Pip install on Mac OS gets error: command ‘/usr/bin/clang’ failed with exit code 1

Try to add these env var before If it does not work you can try with virtualenv: Because is written on github: Install this library in a virtualenv using pip. virtualenv is a tool to create isolated Python environments. The basic problem it addresses is one of dependencies and versions, and indirectly permissions. With virtualenv, it’s … Read more

Where to find extensions installed folder for Google Chrome on Mac?

The default locations of Chrome’s profile directory are defined at http://www.chromium.org/user-experience/user-data-directory. For Chrome on Mac, it’s The actual location can be different, by setting the –user-data-dir=path/to/directory flag.If only one user is registered in Chrome, look in the Default/Extensions subdirectory. Otherwise, look in the <profile user name>/Extensions directory. If that didn’t help, you can always do a custom search. Go to chrome://extensions/, and find out the ID of … Read more