Skip to content

Instantly share code, notes, and snippets.

@jaredbeck
Created October 26, 2012 23:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaredbeck/3962196 to your computer and use it in GitHub Desktop.
Save jaredbeck/3962196 to your computer and use it in GitHub Desktop.
I heard you like Mountain Lions

I heard you like Mountain Lions

Incompatibles

Possibly Unnecessary

I upgraded XCode to 4.5 (and its associated command line tools). If I hadn't, maybe the following may not have been necessary.

  1. Reinstall ImageMagick via brew
    1. then, gem pristine rmagick
  2. Reinstall all of my rubies
    1. brew install apple-gcc42 according to the instructions in rvm requirements
    2. Remove all rubies and their sources with rvm remove

Minor Annoyances

  • My httpd.conf was backed up and replaced. I was able to simply move it back.
  • I started getting this security warning in the terminal "dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid"
    • Looking at my profile, I found this:

        	# help the mysql2 gem to find libmysqlclient.18.dylib
        	export DYLD_LIBRARY_PATH=/usr/local/mysql/lib:$DYLD_LIBRARY_PATH
      
    • If I comment out that line the warning goes away, but I actually need that line for the mysql gem at runtime. So, I guess I have to live with the warning whenever I sudo.

    • UPDATE: I switched from the official mysql distribution to brew and I no longer need to export DYLD_LIBRARY_PATH

Random Things I Learned

Unrelated to upgrading anything, I learned that when installing rubies, you don't have to install that "quartz X11" package. Instead, you can rvm install 1.8.7 --without-tcl --without-tk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment