From: peteV Date: 2012-12-08T08:28:28+09:00 Subject: Re: strange syntax error on rename On 12/07/2012 05:17 PM, peteV wrote: > > > File.rename ( "#{file}","#{tag.title}-#{tag.artist}.mp3") > > end # File is automatically closed at block end > > ------------------------------------------------------------------------------ > > here is the error dump > ./taglibex.rb:15: syntax error, unexpected ',', expecting ')' > File.rename ( "#{file}","#{tag.title}-#{tag.artist}.mp3") > ^ > ./taglibex.rb:15: syntax error, unexpected ')', expecting keyword_end > > > of course the error dump needed to contain the "#{tag.title}" :-[ I had copied a previous error dump by mistake from the cmd line