Category Archives: OSX

zsh: non-standard shell error

Getting the following error when trying to change your mac terminal to use zsh?

chsh: /usr/local/bin/zsh: non-standard shell

All you need to do to fix this is to add the zshell path ( /usr/local/bin/zsh) to your /etc/shells file.

sudo vim /etc/shells

I added  /usr/local/bin/zsh to the end of the file.

 

 

 

 

Installing TrueCrypt7.1a for OSX Yosemite

Open the .dmg

You’ll find the .mpkg. Right*click and “Show Package Contents

Open Contents Dir

Open Packages Dir

Install each of the 4 packages in this order:
1. OSXFUSECore.pkg,
2. OSXFUSEMacFUSE.pkg,
3. MacFUSE.pkg,
4. TrueCrypt.pkg

Taken from the source listed below.  They also have other ways of accomplishing the same thing, but I found the way listed above to be the easiest and least technical

Source: https://lazymind.me/2014/10/install-truecrypt-on-mac-osx-yosemite-10-10/

Install RVM and HomeBrew for Yosemite (Mac OSX v10.10)

Download “Command Line Tools (OS X 10.10)” for Xcode 6.1.1 from https://developer.apple.com/downloads/index.action

Screen Shot 2014-12-03 at 9.57.54 AM

I installed rvm for multi-user.

\curl -sSL https://get.rvm.io | sudo bash -s stable

This will automatically download and install homebrew for you.

Make sure the user who is installing this, has added “rvm” to their groups. You can do this under “System Preferences” –> “Users & Groups”. Go to rvm group, and check off the usernames you would like to add the group to. (make sure the lock the botton is unlocked).

Screen Shot 2014-12-03 at 10.03.04 AM Screen Shot 2014-12-03 at 10.03.16 AM Screen Shot 2014-12-03 at 10.03.40 AM

Installing ruby version 2.1.5

rvm install 2.1.5

RVM will automatically grab all the dependencies, packages, and updates via homebrew.

Installing Ruby 2.0.0 with RVM, Homebrew, and Mac OSX Mountain Lion

I had a lot of trouble installing ruby 2.0.0 on mountain lion.  Tried various things recommended on different forums and blogs, but the one that was easiest and worked best for me was the one written by Christopher Kaukis on the Interworks blog.  In short, the steps are as follows.

1.  Install the latest version of Xcode from the App Store.  (at this time of writing it is version 4.6)

2.  Go to xcode’s preferences and install the Command Line Tools

3.  Install Homebrew.

4.  Check requirements for RVM and install it.  (I use the multi-user install)

  • brew tap homebrew/dupes
  • brew tap –repair homebrew/dupes
  • brew install autoconf automake libtool pkg-config apple-gcc42 libyaml readline libxml2 libxslt libksba openssl sqlite
  • curl -L https://get.rvm.io | sudo bash -s stable

5.  Upgrade RVM to the latest repository source version and install ruby 2.0.0 then start using it.

  • rvm get head
  • rvm install 2.0.0
  • rvm use 2.0.0

 

 

 

Can’t install RMagick 2.13.1. Can’t find Magick-config for mac

brew install imagemagick

mdfind MagickWand.h

C_INCLUDE_PATH=/path/MagickWand.h gem install rmagick

Example:
C_INCLUDE_PATH=/usr/local/Cellar/imagemagick/6.7.7-6/include/ImageMagick/wand/MagickWand.h gem install rmagick

Might have to take these additional steps if you are using mountain lion.

http://robots.thoughtbot.com/post/27985816073/the-hitchhikers-guide-to-riding-a-mountain-lion

It appears it’s a problem reported on the Homebrew github repo (https://github.com/mxcl/homebrew/issues/16625) blaming rmagick itself not supporting newer versions of imagemagick. On that same issue (https://github.com/mxcl/homebrew/issues/16625#issuecomment-11519383), you can find this link: https://coderwall.com/p/wnomjg which actually worked for me. This is what he does:

cd /usr/local/Cellar/imagemagick/6.8.0-10/lib
ln -s libMagick++-Q16.7.dylib libMagick++.dylib
ln -s libMagickCore-Q16.7.dylib libMagickCore.dylib
ln -s libMagickWand-Q16.7.dylib libMagickWand.dylib