aws / opsworks-cookbooks

Chef Cookbooks for the AWS OpsWorks Service
Other
1.05k stars 1.23k forks source link

bundle install error #439

Open railsfactory-dhanesh opened 3 years ago

railsfactory-dhanesh commented 3 years ago

Error

Deployments fail, because of bundle install error, manually deployment works fine.

Fetching gem metadata from https://rubygems.org/..Retrying dependency api due to error (2/3): Bundler::HTTPError Net::HTTPUnprocessableEntity: Too many gems! (use --full-index instead)
Retrying dependency api due to error (3/3): Bundler::HTTPError Net::HTTPUnprocessableEntity: Too many gems! (use --full-index instead)

If I use --full-index then the bundle install run successfully, manually tested this.

While deploying the application, the OpsWorks agent, and chef-client applying the latest changes in the cache directory /var/lib/aws/opsworks/ so I can't fix this.

Please provide any idea or how to avoid the cache.

railsfactory-dhanesh commented 3 years ago

I have given a pull request for this issue, pls help resolve this.

[https://github.com/aws/opsworks-cookbooks/pull/440]