Fix Apple's mess. They built Ruby in a custom way that has lead to these options not containing the original commas anymore, which when combined with the change they made to clang (in Xcode 5.1) to error out on unrecognized options leads to failing builds.
This is what a typical build failure will look like:
clang: error: unknown argument: '-multiply_definedsuppress' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
make: *** [foo.bundle] Error 1
To fix this, apply the patch like so (or manually download the patch):
$ curl -O https://gist.githubusercontent.com/alloy/9857708/raw/bd693fdf88b9c15a5667ca7a3d338c61edd674ff/osx-10.9-ruby-2.0.0-config-fix.diff
$ sudo patch /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin13/rbconfig.rb osx-10.9-ruby-2.0.0-config-fix.diff
patching file /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin13/rbconfig.rb
Looks like the line starting with
CONFIG["LIBRUBY_DLDFLAGS"]
(i.e., L82) needs patching in the same way.