Errors running `./bin/docker`
After running ./bin/docker
, I see the following errors. Are they expected? If so, it might be worth calling them out:
Alexs-MacBook-Pro-2:ink-api atheg$ docker volume create --name gems
gems
Alexs-MacBook-Pro-2:ink-api atheg$ ./bin/docker
Starting inkapi_redis_1 ...
Starting inkapi_redis_1
Starting inkapi_postgres_1 ...
Starting inkapi_redis_1 ... done
Starting inkapi_slanger_1 ...
Starting inkapi_slanger_1 ... done
+ nc -vz postgres 5432
nc: connect to postgres port 5432 (tcp) failed: Connection refused
+ echo Postgresql is not ready, sleeping...
Postgresql is not ready, sleeping...
+ sleep 1
+ nc -vz postgres 5432
Connection to postgres 5432 port [tcp/postgresql] succeeded!
+ echo Postgresql is ready, starting Rails.
Postgresql is ready, starting Rails.
+ rm /ink-api/tmp/pids/server.pid
rm: cannot remove '/ink-api/tmp/pids/server.pid': No such file or directory
+ bin/rake db:create
/app/Gemfile not found
+ bin/rake db:schema:load
/app/Gemfile not found
+ bin/bundle exec rake setup:create_account_recipe[charles.theg@gmail.com,password,]
/app/Gemfile not found
+ bin/rails s -p 3000 -b 0.0.0.0
/app/Gemfile not found
After this, bundle
runs fine, as does rake db:create
, but rake db:schema:load
fails after that - see issue #2 (closed). (I mention it here in case it's related.)