It looks like json isn't necessarily 1.9 on every platform. We might have to detect when using 1.9 and use the fake json gemspec talked about here: http://isitruby19.com/json
Have you tried 1.8.6? Heroku currently runs 1.8.6 so it would make sense to dev on ruby 1.8.6 instead of 1.9.1 since they aren't necessarily compatible. If need a platform w/ ruby 1.9 then I'd look elsewhere. Cheers, Terence On Tue, 2010-01-05 at 21:49 -0800, dan wrote: > 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) > >
signature.asc
Description: This is a digitally signed message part
