They also contain anti-inflammatory and antioxidant compounds and may help reduce heart disease risk. Avocados are a source of key nutrients, including healthy fats and fiber. Marcs-MacBook-Pro:smartforce marcboehle$ sudo install libpq-dev Marcs-MacBook-Pro:smartforce marcboehle$ sudo apt-get install libpq-dev Marcs-MacBook-Pro:smartforce marcboehle$ gem install pg -with-pg-config= '/usr/bin/pg_config'ĮRROR: While executing gem. Puis j'ai donné la suite d'un essai: Marcs-MacBook-Pro:smartforce marcboehle$ which pg_config Gem files will remain installed in /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/gems/2.0.0/gems/pg-0.16.0 for inspection. This could take a while.ĮRROR: Failed to build gem native extension. Suivant j'ai essayé: Marcs-MacBook-Pro:smartforce marcboehle$ sudo gem install pgīuilding native extensions. Make sure that `gem install pg -v '0.16.0'` succeeds before bundling. Results logged to /Users/marcboehle/.bundler/tmp/25873/gems/pg-0.16.0/ext/gem_make.outĪn error occurred while installing pg (0.16.0), and Bundler cannot continue. Gem files will remain installed in /Users/marcboehle/.bundler/tmp/25873/gems/pg-0.16.0 for inspection. Rb_define_const(rb_mPGconstants, "PQPING_NO_ATTEMPT", INT2FIX(PQPING_NO_ATTEMPT)) Pg.c:381:56: error: use of undeclared identifier 'PQPING_NO_ATTEMPT' Rb_define_const(rb_mPGconstants, "PQPING_NO_RESPONSE", INT2FIX(PQPING_NO_RESPONSE)) Pg.c:379:57: error: use of undeclared identifier 'PQPING_NO_RESPONSE' Rb_define_const(rb_mPGconstants, "PQPING_REJECT", INT2FIX(PQPING_REJECT)) Pg.c:377:52: error: use of undeclared identifier 'PQPING_REJECT' Rb_define_const(rb_mPGconstants, "PQPING_OK", INT2FIX(PQPING_OK)) Pg.c:375:48: error: use of undeclared identifier 'PQPING_OK' Pg.c:272:9: warning: implicit declaration of function 'PQlibVersion' is invalid in C99 noĬhecking for struct pgNotify.extra in libpq-fe.h. noĬhecking for PG_DIAG_TABLE_NAME in libpq-fe.h. noĬhecking for PGRES_SINGLE_TUPLE in libpq-fe.h. noĬhecking for PGRES_COPY_BOTH in libpq-fe.h. yesĬhecking for rb_thread_call_with_gvl(). yesĬhecking for rb_thread_call_without_gvl(). yesĬhecking for PQconnectionUsedPassword(). Using config values from /usr/bin/pg_configĬhecking for PQconnectdb() in -lpq. usr/local/rvm/rubies/ruby-2.0.0-p247/bin/ruby extconf.rb Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. Using activerecord-deprecated_finders (1.0.3) J'ai déjà essayé: Marcs-MacBook-Pro:smartforce marcboehle$ bundle installĮnter your password to install the bundled RubyGems to your system: pg gem pas possible d'installer avec bundle installer ou du tout grâce à l'aide lion de montagne mac rubis 2.0.0p247 ( révision 41674) et utilisé pour utiliser des rails 4,0 Marcs-MacBook-Pro: SmartForce marcboehle rails $ -v Impossible find pg-0.16.0 dans l'une des sources Exécutez bundle install pour installer les gemmes manquantes. J'essaye de comprendre cette erreur depuis hier et ai déjà regardé beaucoup d'endroits pour une solution. Je suis un débutant total à ruby sur rails et à programmer du tout.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |