android - parse-ruby-client - How to send push notification from Rails website with this? -


i create ruby on rails website uses parse https://github.com/adelevie/parse-ruby-client found @ https://parse.com/docs/api_libraries . website , android phone able communicate. push notifications main priority.

here problem: cannot parse-ruby-client work @ all. still new rails. when try install parse-ruby-client following error:

temporarily enhancing path include devkit... building native extensions.  take while... error:  error installing parse-ruby-client:     error: failed build gem native extension.      c:/railsinstaller/ruby1.9.3/bin/ruby.exe extconf.rb checking curl-config... no checking main() in -lcurl... no *** extconf.rb failed *** not create makefile due reason, lack of necessary libraries and/or headers.  check mkmf.log file more details.  may need configuration options.  provided configuration options:     --with-opt-dir     --without-opt-dir     --with-opt-include     --without-opt-include=${opt-dir}/include     --with-opt-lib     --without-opt-lib=${opt-dir}/lib     --with-make-prog     --without-make-prog     --srcdir=.     --curdir     --ruby=c:/railsinstaller/ruby1.9.3/bin/ruby     --with-curl-dir     --without-curl-dir     --with-curl-include     --without-curl-include=${curl-dir}/include     --with-curl-lib     --without-curl-lib=${curl-dir}/lib     --with-curllib     --without-curllib extconf.rb:39:in `<main>':   can't find libcurl or curl/curl.h (runtimeerror)  try passing --with-curl-dir or --with-curl-lib , --with-curl-include options extconf.   gem files remain installed in c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9 .1/gems/patron-0.4.18 inspection. results logged c:/railsinstaller/ruby1.9.3/lib/ruby/gems/1.9.1/gems/patron-0. 4.18/ext/patron/gem_make.out 

i'm using rails 3.2.3 on heroku i'll use version. want work. thought perhaps latest build had problem downloaded release i'm not sure how use in project since not gem. answer leads me believe possible: https://parse.com/questions/parse-ruby-client-gem . did try use parse rails bootstrap not work either. to.

any kind of appreciated. have been stuck on while. there easier or better ways this? want use rails.

you not seem have libcurl libraries installed.

error:  error installing parse-ruby-client:     error: failed build gem native extension.      c:/railsinstaller/ruby1.9.3/bin/ruby.exe extconf.rb checking curl-config... no checking main() in -lcurl... no *** extconf.rb failed *** not create makefile due reason, lack of necessary libraries and/or headers.  check mkmf.log file more details.  may need configuration options. 

try installing them os repos. ubuntu:

sudo apt-get install libcurl4-openssl-dev 

Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -