Giter Site home page Giter Site logo

probleme installation about pia-back HOT 8 CLOSED

lincnil avatar lincnil commented on July 17, 2024
probleme installation

from pia-back.

Comments (8)

brunto avatar brunto commented on July 17, 2024 1

Essayez :

gem install bundler
bundle install
bundle exec rake db:create

from pia-back.

brunto avatar brunto commented on July 17, 2024

Bonjour,
Avez-vous remplit le fichier config/database.yml ?

from pia-back.

jagogordonne avatar jagogordonne commented on July 17, 2024

Bonjour @brunto ,

Le fichier config/database.yml est bien renseigné.
J' obtiens le même message d'erreur que @dufour59700

Distributor ID: Debian Description: Debian GNU/Linux 9.3 (stretch) Release: 9.3 Codename: stretch

Ruby : ruby 2.3.3p222 (2016-11-21) [x86_64-linux-gnu]

Rails : Rails 5.0.6

gem pristine --all => OK
bundle install => OK

Merci

from pia-back.

brunto avatar brunto commented on July 17, 2024

Il faudrait vérifier si vous arrivez à vous connecter à la base de données en console.

from pia-back.

jagogordonne avatar jagogordonne commented on July 17, 2024

Bonjour,

La connexion se fait sans problème :
`root@**:/var/www/html/pia.*****.com/pia-back# psql -h 192.168.. test-PIA postgres
Mot de passe pour l'utilisateur postgres :
psql (9.6.6)
Connexion SSL (protocole : TLSv1.2, chiffrement : ECDHE-RSA-AES256-GCM-SHA384, bits : 256, compression : désactivé)
Saisissez « help » pour l'aide.

test-PIA=#`

Résultat :
root@**:/var/www/html/pia.**.com/pia-back# bundle exec bin/rake db:create root@**:/var/www/html/pia.**.com/pia-back# /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:40:in block in setup': You have already activated bundler 1.16.1, but your Gemfile requires bundler 1.13.6. Prepending bundle exec to your command may solve this. (Gem::LoadError)
from /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:25:in map' from /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:25:in setup'
from /usr/lib/ruby/vendor_ruby/bundler.rb:99:in setup' from /usr/lib/ruby/vendor_ruby/bundler/setup.rb:10:in <top (required)>'
from /usr/local/lib/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:59:in require' from /usr/local/lib/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:59:in require'
from /usr/lib/ruby/vendor_ruby/spring/commands.rb:33:in <module:Spring>' from /usr/lib/ruby/vendor_ruby/spring/commands.rb:4:in <top (required)>'
from /usr/local/lib/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:59:in require' from /usr/local/lib/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:59:in require'
from /usr/lib/ruby/vendor_ruby/spring/application.rb:77:in preload' from /usr/lib/ruby/vendor_ruby/spring/application.rb:143:in serve'
from /usr/lib/ruby/vendor_ruby/spring/application.rb:131:in block in run' from /usr/lib/ruby/vendor_ruby/spring/application.rb:125:in loop'
from /usr/lib/ruby/vendor_ruby/spring/application.rb:125:in run' from /usr/lib/ruby/vendor_ruby/spring/application/boot.rb:18:in <top (required)>'
from /usr/local/lib/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:59:in require' from /usr/local/lib/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:59:in require'
from -e:1:in <main>'

Peut-être la version du bundler ?

Autre action essayé : bundle update rake

Merci pour l'aide.
Cordialement

from pia-back.

jagogordonne avatar jagogordonne commented on July 17, 2024

OK super les bases et les tables sont créés.

from pia-back.

dufour59700 avatar dufour59700 commented on July 17, 2024

from pia-back.

brunto avatar brunto commented on July 17, 2024

Content d'apprendre que tout fonctionne.

from pia-back.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.