On Nov 4, 2013, at 4:35 PM, Warren Adams-Ockrassa <lists / ruby-forum.com> =
wrote:

> This appears to have come up off and on in this forum, but the =
responses
> to the other questions seem mostly centered around Linux or Win.
>=20
> I've made it as far as installing visual ruby ('gem install
> visualruby'), and can get no farther. My install seems to die =
somewhere
> near the top of the process. The line 'checking for Win32 OS... no'
> would seem to be a clue. Is the visualruby installer testing to see if
> it's running on Windows?
>=20
> None of the provided configuration options seemed to make sense to me,
> and absent documentation I wouldn't know which to try or what switches
> to add anyway. Following is the text from the console window.
>=20
> Guidance would be most appreciated. Thanks, and best regards.
>=20
> =3D=3D=3D=3D
>=20
> Building native extensions.  This could take a while...
> ERROR:  Error installing visualruby:
>  ERROR: Failed to build gem native extension.
>=20
>    /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
> extconf.rb
> checking for GCC... yes
> checking for Win32 OS... no
> checking for cairo version (>=3D 1.2.0)... yes
> *** extconf.rb failed ***
> Could not create Makefile due to some reason, probably lack of =
necessary
> libraries and/or headers.  Check the mkmf.log file for more details.
> You may
> need configuration options.
>=20
> Provided configuration options:
>  --with-opt-dir
>  --without-opt-dir
>  --with-opt-include
>  --without-opt-include=3D${opt-dir}/include
>  --with-opt-lib
>  --without-opt-lib=3D${opt-dir}/lib
>  --with-make-prog
>  --without-make-prog
>  --srcdir=3D.
>  --curdir
>  =
--ruby=3D/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ru=
by
>  --with-pkg-config
>  --without-pkg-config
>  --with-override-variables
>  --without-override-variables
> =
/Library/Ruby/Gems/2.0.0/gems/pkg-config-1.1.4/lib/pkg-config.rb:239:in
> `parse_pc': .pc for xcb-shm doesn't exist. (RuntimeError)
>  from
> =
/Library/Ruby/Gems/2.0.0/gems/pkg-config-1.1.4/lib/pkg-config.rb:181:in
> `declaration'
>  from
> =
/Library/Ruby/Gems/2.0.0/gems/pkg-config-1.1.4/lib/pkg-config.rb:130:in
> `requires_private'
>  from
> =
/Library/Ruby/Gems/2.0.0/gems/pkg-config-1.1.4/lib/pkg-config.rb:311:in
> `all_required_packages'
>  from
> =
/Library/Ruby/Gems/2.0.0/gems/pkg-config-1.1.4/lib/pkg-config.rb:195:in
> `collect_cflags'
>  from
> =
/Library/Ruby/Gems/2.0.0/gems/pkg-config-1.1.4/lib/pkg-config.rb:134:in
> `cflags'
>  from
> =
/Library/Ruby/Gems/2.0.0/gems/pkg-config-1.1.4/lib/pkg-config.rb:196:in
> `block in collect_cflags'
>  from
> =
/Library/Ruby/Gems/2.0.0/gems/pkg-config-1.1.4/lib/pkg-config.rb:195:in
> `collect'
>  from
> =
/Library/Ruby/Gems/2.0.0/gems/pkg-config-1.1.4/lib/pkg-config.rb:195:in
> `collect_cflags'
>  from
> =
/Library/Ruby/Gems/2.0.0/gems/pkg-config-1.1.4/lib/pkg-config.rb:134:in
> `cflags'
>  from
> =
/Library/Ruby/Gems/2.0.0/gems/pkg-config-1.1.4/lib/pkg-config.rb:364:in
> `cflags'
>  from
> =
/Library/Ruby/Gems/2.0.0/gems/pkg-config-1.1.4/lib/pkg-config.rb:415:in
> `have_package'
>  from extconf.rb:158:in `required_pkg_config_package'
>  from extconf.rb:166:in `<main>'
>=20
> Gem files will remain installed in
> /Library/Ruby/Gems/2.0.0/gems/cairo-1.12.6 for inspection.
> Results logged to
> /Library/Ruby/Gems/2.0.0/gems/cairo-1.12.6/ext/cairo/gem_make.out
>=20
> --=20
> Posted via http://www.ruby-forum.com/.

First off, have you installed/updated XCode with the new Mavericks =
install? Secondly, have you also upgraded the XCode command line tools =
after upgrading XCode itself?

If you have done both of those things, and you are sure they worked =
correctly, and you are content using the new Ruby version that=92s on =
the system, did you do the gem install visualruby as root? (i.e., with =
sudo)

All these things have been snagging me up, so they might be snagging you =
as well=85

yay for system upgrades