Skip to content
This repository was archived by the owner on Sep 25, 2019. It is now read-only.

Not necessarily an issue but question #6

Open
jennyfountain opened this issue Oct 23, 2013 · 1 comment
Open

Not necessarily an issue but question #6

jennyfountain opened this issue Oct 23, 2013 · 1 comment

Comments

@jennyfountain
Copy link

Does this work with ruby 1.9.3 and chef-solo?

I keep getting an error here and it could very well be chef-solo or something on my ec2 instance:

options.merge!({ app_key: @key })
^
/opt/aws/opsworks/releases/20131015111601_209/site-cookbooks/pingdom/libraries/client.rb:32: syntax error, unexpected ':', expecting '}'
options.merge!({ app_key: @key })
^
/opt/aws/opsworks/releases/20131015111601_209/site-cookbooks/pingdom/libraries/client.rb:37: odd number list for Hash
options.merge!({ app_key: @key })
^
/opt/aws/opsworks/releases/20131015111601_209/site-cookbooks/pingdom/libraries/client.rb:37: syntax error, unexpected ':', expecting '}'
options.merge!({ app_key: @key })
^
/opt/aws/opsworks/releases/20131015111601_209/site-cookbooks/pingdom/libraries/client.rb:42: odd number list for Hash
options.merge!({ app_key: @key })
^
/opt/aws/opsworks/releases/20131015111601_209/site-cookbooks/pingdom/libraries/client.rb:42: syntax error, unexpected ':', expecting '}'
options.merge!({ app_key: @key })
^
/opt/aws/opsworks/releases/20131015111601_209/site-cookbooks/pingdom/libraries/client.rb:47: odd number list for Hash
options.merge!({ app_key: @key })
^
/opt/aws/opsworks/releases/20131015111601_209/site-cookbooks/pingdom/libraries/client.rb:47: syntax error, unexpected ':', expecting '}'
options.merge!({ app_key: @key })

@cwjohnston
Copy link
Owner

My guess is that Opsworks is not actually running Chef via ruby 1.9.3, as the error seems to be related to using 1.9.x style hashes. Perhaps you may want to try the latest 0.2.x series release on the 0.2.x branch? It should be compatible with ruby ~> 1.8.7.

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

No branches or pull requests

2 participants