macos


macos - Where is Java Installed on Mac OS X?

Use /usr/libexec/java_home -v 1.8 command on a terminal shell to figure out where is your Java 1.8 home directory If you just want to find out the home directory of your most recent version of Java,... Read More


macos - Mac SQLite editor

Base is younger than your question, and definitely feels like a 1.0, but the user experience is miles better than the experience of using any of the "cross-platform" apps on a Mac. http://menial.co.u... Read More


macos - You don't have write permissions for the /Library/Ruby/Gems/2.3.0 directory. (mac user)

You are correct that macOS won't let you change anything with the Ruby version that comes installed with your Mac. However, it's possible to install gems like bundler using a separate version of Ruby... Read More


macos - How can I Remove .DS_Store files from a Git repository?

Remove existing files from the repository: find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch Add the line .DS_Store to the file .gitignore, which can be found at the top level of... Read More


macos - Set environment variables on Mac OS X Lion

First, one thing to recognize about OS X is that it is built on Unix. This is where the .bashprofile comes in. When you start the Terminal app in OS X you get a bash shell by default. The bash shell... Read More


macos - I change the capitalization of a directory and Git doesn't seem to pick up on it

You can tell git to take account of the case by running git config core.ignorecase false... Read More


ruby - rails console doesn't load due to libreadline

Ran across this today, to solve it I did: brew rm -f readline brew install readline brew link readline --force Hope it helps. EDIT: I recently ran into this problem again (after downgrading Ruby) s... Read More


macos - Shared folder between MacOSX and Windows on Virtual Box

Edit 4+ years later after the original reply in 2015, virtualbox.org now offers an official user manual in both html and pdf formats, which effectively deprecates the previous version of this answer:... Read More


python - Permission denied when activating venv

You need to run . venv/bin/activate or source venv/bin/activate The activate file is deliberately not executable because it must be sourced. It must be sourced because it needs to make changes to the... Read More


java - Add a dependency in Maven

You'll have to do this in two steps: 1. Give your JAR a groupId, artifactId and version and add it to your repository. If you don't have an internal repository, and you're just trying to add your JAR... Read More