From: Brian Scott on 31 Dec 2009 03:21 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/.
From: Zhao Lu on 31 Dec 2009 03:43 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/. >
From: Brian Scott on 31 Dec 2009 03:53 Zhao Lu wrote: > did you install xcode? Yes I did I used this article but for Ruby 1.9.1 http://hivelogic.com/articles/compiling-ruby-rubygems-and-rails-on-snow-leopard/ I went back and re installed Ruby 1.8.7 over 1.9.1 and it seemed to fix my problem but I wonder why I cant compile Heroku gem with 1.9.1? -- Posted via http://www.ruby-forum.com/.
From: Phillip Gawlowski on 31 Dec 2009 04:05 On 31.12.2009 09:53, Brian Scott wrote: > Zhao Lu wrote: >> did you install xcode? > > Yes I did > > I used this article but for Ruby 1.9.1 > http://hivelogic.com/articles/compiling-ruby-rubygems-and-rails-on-snow-leopard/ > > > I went back and re installed Ruby 1.8.7 over 1.9.1 and it seemed to fix > my problem but I wonder why I cant compile Heroku gem with 1.9.1? Searching the Heroku docs, or the heroku blog didn't unearth anything about the required Ruby version. The only thing I could find was this: http://support.heroku.com/forums/42310/entries/54329 which asks for Ruby 1.9 support, but no reply from Heroku themselves. So, seems like you are stuck with 1.8.x for the moment. -- Phillip Gawlowski
From: Marnen Laibow-Koser on 31 Dec 2009 12:29 Brian Scott wrote: > Zhao Lu wrote: >> did you install xcode? > > Yes I did > > I used this article but for Ruby 1.9.1 > http://hivelogic.com/articles/compiling-ruby-rubygems-and-rails-on-snow-leopard/ > > > I went back and re installed Ruby 1.8.7 over 1.9.1 and it seemed to fix > my problem but I wonder why I cant compile Heroku gem with 1.9.1? You should not have had to reinstall 1.8.7. Hivelogic's tutorial doesn't touch Apple's Ruby -- which is already 1.8.7. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen(a)marnen.org -- Posted via http://www.ruby-forum.com/.
|
Pages: 1 Prev: Uninstalling/upgrading Ruby 1.8.7 Next: Hornetseye users? |