jedi4ever/veewee — Issue #247: Error while installing veewee under OS X 10.7.3 with Xcode 4.3
Author: thomasbet
Created: 2012-02-24 12:38:34+00:00
State: open

It is not possible to install veewee with "sudo gem install veewee" or with the git repo when using Xcode 4.3 (4E109). Maybe the Directories containing the Ruby files changed. Is there already a beta Version for the newes Xcode?

Error on console: (gem)
$ sudo gem install veewee
Password:
Building native extensions. This could take a while...
ERROR: Error installing veewee:
ERROR: Failed to build gem native extension.

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h

Error on console: (git)
$ sudo bundle install
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:36: command not found: git ls-files
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:36: command not found: git ls-files
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:36: command not found: git ls-files
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:36: command not found: git ls-files
Fetching source index for http://rubygems.org/

Using rake (0.9.2.2)
Installing libxml-ruby (2.2.2) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h

Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/libxml-ruby-2.2.2 for inspection.
Results logged to /Library/Ruby/Gems/1.8/gems/libxml-ruby-2.2.2/ext/libxml/gem_make.out
An error occured while installing libxml-ruby (2.2.2), and Bundler cannot continue.
Make sure that `gem install libxml-ruby -v '2.2.2'` succeeds before bundling.

Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/ffi-1.0.11 for inspection.
Results logged to /Library/Ruby/Gems/1.8/gems/ffi-1.0.11/ext/ffi_c/gem_make.out

gem_make.out doesn't give further information, it's exatly the same message as on the console.