title: Ruby Syntax Error, unexpected tLABEL
body: <p>EDIT:</p>
  
  <p>I have created <a href="https://github.com/whotooktwarden/rippled-sign-submit" rel="nofollow">a package</a> that is now released on GitHub under a GNU Public License.  Thank you all very much for your help on this issue!</p>
  
  <p>With this portion of script:</p>
  
  <pre><code>line = { TransactionType: "Payment",
  Account: #{xagate},
  Destination: #{destinationAddress},
  Amount: {
  currency: "TST",
  value: "#{destAmount}",
  issuer: "rKYHqy2QWbf5WThp7vdJAxTR3WBHKDh9xv"
  }
  </code></pre>
  
  <p>I receive this error:</p>
  
  <pre><code>syntax error, unexpected tLABEL
  Destination: #{destinationAddress},
              ^
  </code></pre>
  
  <p>What is causing this syntax error?  The accepted answer below explains how to fix this error.  As for the Ripple JSON, I discovered that the err29 for the rippled server software is a result of a missing Fee and Sequence field.  If you are also experiencing this issue, the answer is being investigated in this thread:  <a href="https://forum.ripple.com/viewtopic.php?f=2&amp;t=15599" rel="nofollow">https://forum.ripple.com/viewtopic.php?f=2&amp;t=15599</a></p>