gem does not install on my mac - ruby 1.9

sudo gem install heroku
Password:
Building native extensions.  This could take a while...
ERROR:  Error installing heroku:
        ERROR: Failed to build gem native extension.

/usr/local/bin/ruby extconf.rb
creating Makefile

make
gcc -Wall -I. -I/usr/local/include/ruby-1.9.1/i386-darwin10.2.0 -I/usr/
local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1
-I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -fno-common -D_XOPEN_SOURCE=1
-O2 -g -Wall -Wno-parentheses  -fno-common -pipe -fno-common  -o
parser.o -c parser.c
In file included from parser.rl:5:
/usr/local/include/ruby-1.9.1/ruby/backward/st.h:2:2: warning:
#warning use "ruby/st.h" instead of bare "st.h"
parser.rl: In function ‘cParser_initialize’:
parser.rl:460: error: ‘struct RHash’ has no member named ‘tbl’
make: *** [parser.o] Error 1


Gem files will remain installed in /usr/local/lib/ruby/gems/1.9.1/gems/
json-1.1.0 for inspection.
Results logged to /usr/local/lib/ruby/gems/1.9.1/gems/json-1.1.0/ext/
json/ext/parser/gem_make.out

++++++++++++++++

my env

ruby 1.9.1p376 (2009-12-07 revision 26041) [i386-darwin10.2.0]
Rails 2.3.5
mac os x 10.6.2

*** LOCAL GEMS ***

actionmailer (2.3.5)
actionpack (2.3.5)
activerecord (2.3.5)
activeresource (2.3.5)
activesupport (2.3.5)
factory_girl (1.2.3)
gemcutter (0.2.1)
json (1.2.0)
json_pure (1.2.0)
launchy (0.3.2)
rack (1.0.1)
rails (2.3.5)
rake (0.8.7)
rest-client (1.0.3)
ruby-aaws (0.7.0)
rubygems-update (1.3.5)
sqlite3-ruby (1.2.5)


-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.


Reply via email to