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

Unhelpful error when running sfn from homedir #163

Open
mconigliaro opened this issue Mar 22, 2016 · 1 comment
Open

Unhelpful error when running sfn from homedir #163

mconigliaro opened this issue Mar 22, 2016 · 1 comment
Assignees

Comments

@mconigliaro
Copy link

This confused me until I realized I was in the wrong directory:

$ sfn create test -f sparkleformation/test.rb
ERROR: NameError: undefined local variable or method `default' for #<#<Class:0x007fd54c04c468>:0x007fd54e9e9320>
@chrisroberts
Copy link
Member

I've mulled over removing cwd from an allowed default search directory for sparkleformation files. That would properly "fix" this error, and prevent crazy loads when in a "root"-ish directory (like within home directory) or even at root.

TODO: Remove . from allowed defaults. Only allow when explicitly defined via config.

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

No branches or pull requests

2 participants