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 doing from project.rb doing Rancher::Api.configure do |config| #16

Open
mogren opened this issue Aug 29, 2016 · 0 comments
Open

Comments

@mogren
Copy link

mogren commented Aug 29, 2016

With the latest version, 0.5.2 I get the following error:

/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in require': /Library/Ruby/Gems/2.0.0/gems/rancher-api-0.5.2/lib/rancher/api/models/project.rb:13: syntax error, unexpected ')' (SyntaxError) /Library/Ruby/Gems/2.0.0/gems/rancher-api-0.5.2/lib/rancher/api/models/project.rb:20: syntax error, unexpected keyword_end, expecting end-of-input from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:inrequire'
from /Library/Ruby/Gems/2.0.0/gems/rancher-api-0.5.2/lib/rancher/api/models.rb:8:in <top (required)>' from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:inrequire'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in require' from /Library/Ruby/Gems/2.0.0/gems/rancher-api-0.5.2/lib/rancher/api.rb:47:inconfigure'

Commenting out the added code from

f656c50#diff-5b52c8c12428ebb0d0f9c237a0e2cb1b

makes it work again.

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