Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chef_gem[rest-client] Bundler::GemfileNotFound: Could not locate Gemfile #113

Open
aswin020 opened this issue Jul 24, 2018 · 0 comments
Open

Comments

@aswin020
Copy link

aswin020 commented Jul 24, 2018

Hi,

I am using s3_file in my recipe [in opsworks] but it keeps failing. Logs point that its unable to fetch the rest-client gem.

--
ERROR: chef_gem[rest-client] (s3_file::dependencies line 1) had an error: Bundler::GemfileNotFound: Could not locate Gemfile

Truncated debug logs follows:


Compiled Resource:

Declared in /var/lib/aws/opsworks/cache.stage2/cookbooks/s3_file/recipes/dependencies.rb:1:in from_file

chef_gem("rest-client") do
provider Chef::Provider::Package::Rubygems
action [:install]
retries 0
retry_delay 2
package_name "rest-client"
version "1.7.3"
cookbook_name "s3_file"
recipe_name "dependencies"
end

Recipe Compile Error in /var/lib/aws/opsworks/cache.stage2/cookbooks/s3_file/recipes/dependencies.rb

Bundler::GemfileNotFound

chef_gem[rest-client] (s3_file::dependencies line 1) had an error: Bundler::GemfileNotFound: Could not locate Gemfile

--

The /var/lib/aws/opsworks/cache.stage2/chef-stacktrace.out also has the same logs.

Any idea on how to fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant