rubygems - Ruby OSA gem install problem -


trying install rubyosa on imac

sudo gem install rubyosa 

i following error:

error:  error installing rubyosa:     error: failed build gem native extension.  /system/library/frameworks/ruby.framework/versions/1.8/usr/bin/ruby extconf.rb mkmf.rb can't find header files ruby @ /system/library/frameworks/ruby.framework/versions/1.8/usr/lib/ruby/ruby.h   gem files remain installed in /library/ruby/gems/1.8/gems/rubyosa-0.4.0 inspection. results logged /library/ruby/gems/1.8/gems/rubyosa-0.4.0/gem_make.out 

i've had error show lot of times while installing gems. found out later needed development package included needed headers compilation. on debian machine in ruby-dev package.

i reading on internet os x ships headers xcode, might need them there.

i found link might of you: http://www.fngtps.com/2009/08/missing-ruby-headers-after-snow-leopard-upgrade [edit: original link broken, here's internet archive of page: https://web.archive.org/web/20100327201647/http://www.fngtps.com/2009/08/missing-ruby-headers-after-snow-leopard-upgrade


Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -