s3_file
s3_file copied to clipboard
chef_gem[rest-client] Bundler::GemfileNotFound: Could not locate Gemfile
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?