Created
August 14, 2014 12:21
-
-
Save mattheworiordan/72db0dfc933f743622eb to your computer and use it in GitHub Desktop.
json-minify-rb gem issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JSON.minify('{ "PolicyName": { "Fn::Join" : [ "", [ "AblySnsPublish-", { "Ref" : "AWS::Region" }, "-", { "Ref" : "DataCenterID" } ] ] } }') | |
SyntaxError: Unable to pre-scan string: AblySnsPublish-", { "Ref" : "AWS::Region" }, "-", { "Ref" : "DataCenterID" } ] ] } } | |
from /Users/matthew/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/json-minify-0.0.1/lib/json/minify.rb:43:in `minify' | |
from (irb):2 | |
from /Users/matthew/Projects/Ably/infrastructure/lib/ably_env/cli.rb:70:in `console' | |
from /Users/matthew/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run' | |
from /Users/matthew/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command' | |
from /Users/matthew/Projects/Ably/infrastructure/lib/ably_env/cli.rb:105:in `block in invoke_command' | |
from /Users/matthew/Projects/Ably/infrastructure/lib/ably_env/exception_reporting.rb:28:in `catch_and_report' | |
from /Users/matthew/Projects/Ably/infrastructure/lib/ably_env/cli.rb:104:in `invoke_command' | |
from /Users/matthew/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch' | |
from /Users/matthew/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start' | |
from ./bin/ably-env:10:in `<main>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment