Hi Thomas, Thomas Maas wrote: > I'm not a ruby programmer, but I think: > > lib/json/editor.rb line 977: > @treeview.signal_connect(:'cursor-changed') do > > should be: > @treeview.signal_connect('cursor-changed') do This would stop the warning of course, but it is actually valid Ruby code. > Because right now running sudo gem install json gives me: > lib/json/editor.rb:977:50: ':' not followed by identified or operator The warning is caused during creation of the documentation by the rdoc parser. I think the parser has a bug, because :'foo' should be the same as :foo, which returns the Symbol foo. You can use quotes to create symbols with characters in it, that would otherwise cause the ruby parser to misinterpret parts of the symbol as an operator, method call, token delimiter, etc, in this case the '-'. Unfortunately the rdoc parser doesn't seem to know about that. I cc'd this mail to the ruby-core mailing list. Perhaps they can implement a solution for this? Kind regards, Florian