Skip to content

Commit f08fac2

Browse files
committed
I don't even want to know why psych is failing with errors like this one:
``` `@vendor/rails' is not allowed as an instance variable name (NameError) ```
1 parent 0c16755 commit f08fac2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/braid/config.rb

+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
require 'yaml'
2+
3+
# psych throws such wonderful errors as:
4+
# `@vendor/rails' is not allowed as an instance variable name (NameError)
5+
YAML::ENGINE.yamler = 'syck' if RUBY_VERSION >= '1.9.1'
6+
27
require 'yaml/store'
38

49
module Braid

0 commit comments

Comments
 (0)