-
Notifications
You must be signed in to change notification settings - Fork 64
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
Does not play well with New Relic yaml config files. ' vs ". #15
Comments
Could you provide a sample config file and also indicate which version of Ruby and safe_yaml you're using? The gem is meant to handle single and double quotes the same, so this must just be a case that is currently overlooked. |
|
Btw after changing ' ' to " " in sandbox env everything worked just fine. |
Sorry for being dense—could you explain exactly what is wrong about the output when you leave the single quotes in there? I think I see the problem you're encountering: basically, the environment's explicit values are not taking precedence over the default settings. Is that right? If so, I see the problem and know how to fix it; but I want to make sure this is the problem you're reporting as opposed to something else. Incidentally, if this is what you're referring to, it is actually not related to single vs. double quotes, but rather to non-deterministic enumeration of hash keys. |
That's what he's been referring to, yes. |
Yes, that's the underlying issue. Sorry - late night bug report :/. |
Thanks for the fix. |
@dtao works, thanks! |
Sweet! OK then, closing |
Add original_path (in gem)
For some reasons values in ' ' do not work properly whereas values in " " are fine. Both ' and " are valid in terms of YAML specs.
The text was updated successfully, but these errors were encountered: