Skip to content

Instantly share code, notes, and snippets.


tonyvu939 tonyvu939

View GitHub Profile
alloy / README.markdown
Created Nov 3, 2014
Fix Apple’s broken 10.9.0-10.9.2 default Ruby gems installation.
View README.markdown

On Mac OS X 10.9.0 through 10.9.2, Apple shipped a Ruby and RubyGems installation that was missing specifications for the libraries that are included with Ruby by default, which leads to the user having to install a gem like the JSON gem even though the user already has that library installed.

(This is even more problematic if you want users to be able to install gems without having to have a properly configured compiler toolchain. I.e. where you do not want users to have to install gems with C extensions, such as the JSON gem.)

This was fixed starting from Mac OS X 10.9.3.

What it should look like

The following libraries are installed by default and should have their specifications installed:

You can’t perform that action at this time.