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

Error: Could not autoload puppet/parser/functions/scope_defaults: #136

Closed
Dharmender-Singh opened this issue Apr 7, 2016 · 4 comments
Closed

Comments

@Dharmender-Singh
Copy link

Hi,

I am facing an issue while using this module. Following is the Error :

Error: Could not autoload puppet/parser/functions/scope_defaults: /tmp/ki
tchen/modules/staging/lib/puppet/parser/functions/scope_defaults.rb:2: syntax er
ror, unexpected ':', expecting ')'
newfunction(:scope_defaults, type: :rvalue, doc: <<-EOS
^
/tmp/kitchen/modules/staging/lib/puppet/parser/functions/scope_defaults.r
b:6: syntax error, unexpected ')', expecting kEND
) do |arguments|

Could you please help me to solve this error.

Thanks & Regards
Dharmender

@jyaworski
Copy link
Member

Are you using Ruby 1.8.7?

@Dharmender-Singh
Copy link
Author

Yes, That's right.

@jyaworski
Copy link
Member

We dropped support for ruby 1.8.7. That error you're seeing is related to the new hash syntax present in 1.9 and beyond.

@Dharmender-Singh
Copy link
Author

Ok..Thanks

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

2 participants