Skip to content

Instantly share code, notes, and snippets.

@zapatoche
Created September 12, 2011 16:42
Show Gist options
  • Select an option

  • Save zapatoche/1211726 to your computer and use it in GitHub Desktop.

Select an option

Save zapatoche/1211726 to your computer and use it in GitHub Desktop.
- require 'yaml'
- blah = YAML.load_file('data/test.yml')
@zapatoche

Copy link
Copy Markdown
Author

returns no such file data/test.yml from a template (slim in this case)
but work if i load the file in a plain ruby program

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