ruby on rails - error installing rinku gem as part of shapado 'rinku_autolink should return a value' -


i'm trying install shapado (www.shapado.com) on max osx 10.8.2. 1 of gems, rinku, brings following error when trying install:

gem::installer::extensionbuilderror: error: failed build gem native extension.      /usr/local/cellar/ruby/1.9.3-p385/bin/ruby extconf.rb  creating makefile  make compiling autolink.c compiling buffer.c compiling rinku.c rinku.c:165:3: error: non-void function 'rinku_autolink' should return value [-wreturn-type]             return;             ^ 1 error generated. make: *** [rinku.o] error 1 

any suggestions on how fix this? thoughts excellent!

i've had similar issue

/users/adamo/.rvm/rubies/ruby-1.9.3-p392/bin/ruby extconf.rb creating makefile  make compiling autolink.c make: /usr/local/bin/gcc-4.2: no such file or directory make: *** [autolink.o] error 1 

i have homebrew , did:

brew update brew tap homebrew/versions brew install apple-gcc42 

and able bundle install no errors. hope solves issue too.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -