Tag Info

New answers tagged

0

When Terminal starts and Your default shell is bash, those files are executed at startup: .bash_profile .profile .bashrc (there are also other files whih can be executed, but those are the most common) Locate anything related with php5 in those files and resolve Your issue.


2

I suspect that git's location is still cached in /usr/bin (the default location). To check this, type: type git The result will likely be: git is hashed (/usr/bin/git) To fix this, you can simply log out & back in, or clear the hash for git with the following: hash -d git Now, running git should work properly.


0

brew cask uninstall --force This will remove all versions of a Cask.


1

I found this solution: That link describes it well, but in case the link goes down, here is what you need to do: Type these commands into your Terminal: cd /System/Library/Frameworks/Ruby.framework/Versions sudo ln -s Current 1.8 brew update sudo rm 1.8


0

SEAGATE USERS: Your in luck! let's do it the safe way For seagate hard disk owners alone, download the free driver here! http://www.seagate.com/gb/en/support/downloads/item/ntfs-driver-for-mac-os-master-dl/ OTHER USERS: 1.Fuse/NTFS-3G drivers is a good option. http://www.macbreaker.com/2014/06/how-to-enable-writing-to-ntfs-hard.html 2. If you're a geek ...


0

You should consider install pyenv for this. pyenv lets you easily switch between multiple versions of Python. It's simple, unobtrusive, and follows the UNIX tradition of single-purpose tools that do one thing well. To install, just type: $ brew install pyenv Add this to your .bash_profile: echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ...


1

To get a list of invalid brew formulas: #!/usr/bin/env bash for formula in ${brews[@]}; do brew info ${formula} >/dev/null 2>&1 || echo ${formula} done To get a list of invalid casks: #!/usr/bin/env bash for cask in ${casks[@]}; do brew cask info ${cask} >/dev/null 2>&1 || echo ${cask} done (brews and casks are the arrays ...


0

brew installs binary in separate directories inside /usr/local dir. Then makes symlink inside /usr/local/bin. To get real path to binary type for example this (for tree command): ls -l /usr/local/bin/ | grep tree Output: lrwxr-xr-x 1 slozo admin 29 23 lip 15:06 tree -> ../Cellar/tree/1.7.0/bin/tree So my tree command is located in ...


3

Solution 1: sed Option -r of GNU sed is -E on the OS X/BSD sed (the one that comes with the OS, /usr/bin/sed). And to get rid of the encoding problem with 's, add export LC_ALL=en_US.UTF-8; export LANG=en_US.UTF-8; to the beginning of the do shell script command (see the question here): set original_text to "string  string  string  $  text1 string  ...


1

I had a similar problem with zlib-1.2.8. The root cause though was that I had a .curlrc file that specified --compressed, and that option causes curl to decompress the file before writing it out. Removing the option fixed the problem for me, but I don't know if there's a better fix available.


0

I've switched to running the services all the time instead of using foreman and I haven't really had any problems with battery life. I've also installed LaunchRocket which makes it easier to actually manage those services from the Settings.app. I'm very comfortable in the command line however this just makes it super easy to start or stop the services. ...


2

It looks like you've manually downloaded and compiled something that has dropped files in /usr/local (I'm guessing a mail server). If you don't need it you could remove the files it has deposited in /usr/local. At the same time, as the message says this is only a warning, not an error message. The only time you really need to worry about this is if you are ...


3

In this case I would install Aquamacs or Emacs for OS X to get the Cocoa version and Homebrew for the X11 version. Aquamacs is tuned to appear more Mac like so might not do exactly what you want - but all this is done in configuration so easy to change for an emacs veteran


1

Your existing software will remain in place. When upgrading your OSX installation from 10.8.5 to 10.10 it will not wipe your drive and you will not loose your current set of applications and files. The question of compatibility is however a separate issue. Regarding homebrew, there apparently was an issue with homebrew on Yosemite since the default version ...


0

I can't directly answer your specific questions but I advise you to wait before upgrading. Right now version 10.0.1 is out and I still have a couple problems I never had on Mavericks (now imagine all issues you'll have coming from 10.8). But as far as I remember from upgrading to Mavericks a year ago, I didn't lose any software or packages nor did I have ...


4

The version and location of Ruby changed with the new Mac OS X version. To fix this in a generic way, edit /usr/local/Library/brew.rb. On the first line, replace 1.8 with Current, i.e. from: #!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -W0 to: #!/System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby -W0


3

In the log that you posted above the following three lines suggest that you have MacPorts installed. checking for /opt/local/include include directory... yes checking for /opt/local/lib library directory... yes checking for /opt/local/bin command directory... yes It also appears that brew is checking there before checking in its regular file locations ...


2

The underscores in the version numbers indicate Homebrew specific changes or revisions. It means the upstream software hasn't changed, just that the Homebrew formula has been revised in some way. Taking node as an example, the current release version of Node.js is "0.10.33". However the Homebrew version number has been updated to "0.10.33_1" (in other ...


0

Fixed with: $ brew edit gpg-agent - mirror "ftp://ftp.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/gnupg/gnupg-2.0.26.tar.bz2" + mirror "http://mirrors.dotsrc.org/gcrypt/gnupg/gnupg-2.0.26.tar.bz2" $ brew install gpg-agent $ brew install gnupg2



Top 50 recent answers are included