From: Zhao Lu Date: 2009-12-31T17:43:37+09:00 Subject: Re: Cant install Heroku gem in Snow Leopard did you install xcode? On Dec 31, 2009, at 12:21 AM, Brian Scott wrote: > Hello, > > I cant seem to get Heroku gem installed in Snow Leopard. I am running > Ruby 1.9.1 and RubyGems 1.3.5. Any ideas will help. > > Thank You > > > > 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 -O2 -g -Wall -Wno-parentheses -fno-common -pipe > -fno-common -o parser.o -c parser.c > parser.rl:4:16: error: re.h: No such file or directory > 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 > -- > Posted via http://www.ruby-forum.com/. >