You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Anytime I ran the sinatra::configure command on opsworks. The chef configuration failed with the following error(I've only pasted part of the stack trace):
ERROR: Error loading cookbook sinatra: wrong number of arguments (1 for 2)
/opt/aws/opsworks/current/merged-cookbooks/sinatra/metadata.rb:9:in `metadata_from'
To fix this I updated the recipe lines in the metadata.rb to read as follows:
recipe"sinatra::configure","one time, makes all the deploy folders"recipe"sinatra::deploy","uses scm to update the codebase, bundle installs, and restarts the server"
Kindly merge these changes into your master branch to avoid this issue.
The text was updated successfully, but these errors were encountered:
muthuridennis
changed the title
SInatra deployment fails with: ERROR: Error loading cookbook sinatra: wrong number of arguments (1 for 2)
Sinatra deployment fails with: ERROR: Error loading cookbook sinatra: wrong number of arguments (1 for 2)
Sep 21, 2014
Anytime I ran the sinatra::configure command on opsworks. The chef configuration failed with the following error(I've only pasted part of the stack trace):
To fix this I updated the recipe lines in the metadata.rb to read as follows:
Kindly merge these changes into your master branch to avoid this issue.
The text was updated successfully, but these errors were encountered: