Comments (8)
Essayez :
gem install bundler
bundle install
bundle exec rake db:create
from pia-back.
Bonjour,
Avez-vous remplit le fichier config/database.yml
?
from pia-back.
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.
Il faudrait vérifier si vous arrivez à vous connecter à la base de données en console.
from pia-back.
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.
OK super les bases et les tables sont créés.
from pia-back.
from pia-back.
Content d'apprendre que tout fonctionne.
from pia-back.
Related Issues (20)
- Struggling to make the app run on Google App Engine HOT 12
- Possibility to use SQL Server? HOT 2
- Need help during installation HOT 4
- new installation runbook HOT 3
- Impossible de connecter le client lourd HOT 2
- Rpoblème installation HOT 4
- SIGN IN, i receive an error with "authentication.errors.sign_in.401 HOT 3
- Activation code HOT 3
- Cannot create admin account HOT 3
- Impossible d'activer l'authentification HOT 3
- Email configuration HOT 5
- Problème lors de l'installation de PIA Front HOT 2
- Impossible d'installer une dépendance HOT 2
- Email configuration HOT 4
- Impossible d'installer l'application PIA HOT 5
- Error whet run "yarn install" HOT 1
- Can't run/install pia-back HOT 9
- Connecter le Backend et le frontend && activer l'authentification HOT 5
- problème lors du téléchargement de dépendances via yarn install et lors de la construction de la version de production via yarn prod
- User.create has no effect on the database, no error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pia-back.