mit Ruby 1.9.3, string Tasten scheinen nicht mit Hash Doppelpunkt-Notation zu arbeiten:Rubin neue Hash-Doppelpunkt-Notation mit String-Schlüsseln
1.9.3p194 :005 > {abc: 5}
=> {:abc=>5}
1.9.3p194 :004 > {'abc': 5}
SyntaxError: (irb):4: syntax error, unexpected ':', expecting tASSOC
{'abc': 5}
^
Ich glaube, ich bin die richtige Version von Ruby laufe
1.9.3p194 :006 > RUBY_ENGINE
=> "ruby"
1.9.3p194 :007 > RUBY_VERSION
=> "1.9.3"
Es gibt eine Feature-Anfrage offen für diese - http: //bugs.ruby-lang.org/issues/4801 –