DiUS / pact_broker-docker

'Dockerised' pact broker
http://pact.io
MIT License
76 stars 102 forks source link

Can't run the example with the provider docker-compose #46

Closed ghost closed 7 years ago

ghost commented 7 years ago

This is the error:

Message from application: uninitialized constant PactBroker::Api::Resources::BaseResource (NameError)
ghost commented 7 years ago

I downgraded the image to the 2.4.0-2 and is working as expected.

bethesque commented 7 years ago

Ah, sorry. I fixed that ruby error in the gem, but need to push the latest docker image.

ghost commented 7 years ago

thanks, @bethesque, I'll close this, then.

bethesque commented 7 years ago

Hm. I'm a bit confused. 2.4.0-2 should BE the latest. It's after 2.4.0-1. Not sure what's going on with the tags.

bethesque commented 7 years ago

Oh, right. 2.4.2, not 2.4.0.

bethesque commented 7 years ago

I am able to run docker-compose up with the latest. Not sure why there is a difference, because the fix for that require was made before I released 2.4.2.

ghost commented 7 years ago

super weird, @bethesque, in my local machine is running correctly but running it on a Digital Ocean droplet (with Docker engine pre-installed + docker-compose as a container) is throwing the error. Is running with the latest version, indeed.

bethesque commented 7 years ago

We've found some orchestrated environments, they don't refresh the "latest" if they already think they have the "latest", even if it's changed. Try pulling it in by the named tag 2.4.2-2.