i\'m trying to build dm-postgres-adapter but get this error.
sudo gem install dm-postgres-adapter
Building native extensions. This could take a while...
ERROR:
I fixed this.
I wish I could give exact steps, but it was something like this:
Manually updated Command Line Tools from the apple developer site.
Uninstalled all gems
Installed rbenv, ruby-build, rbenv-bundler using brew
Installed apple-gcc42 using brew
Installed ruby 2.1 using rbenv
Set path to use rbenv's ruby.
Set rbenv global 2.1.0
Uninstalled bundle
Installed bundle
ran rbenv rehash
Ran sudo bundle install
successfully.