aidy
1
Hi,
Can any tell me why I am getting the error: “syntax error, unexpected
‘=’, expecting tASSOC” for the below hash please?
tem_urls = {
:home_page => website_root , :rm_footage =>
“#{website_root}/gallery/home/rightsmanaged.do”,
:rushes => “#{website_root}/gallery/home.do”, :rt_footage
="#{website_root}/gallery/home/royaltyfree.do"
}
Thanks
Aidy
aidy
2
On 14.01.2010 22:20, aidy wrote:
}
:rt_footage ="#{website_root}/gallery/home/royaltyfree.do"
^^^
The last key-value pair is “just” an “=”, and not the expected “=>”.
aidy
3
On 14 Jan, 21:28, Phillip G. [email protected] wrote:
:rushes => “#{website_root}/gallery/home.do”, :rt_footage
=“#{website_root}/gallery/home/royaltyfree.do”
}
:rt_footage =“#{website_root}/gallery/home/royaltyfree.do”
^^^
The last key-value pair is “just” an “=”, and not the expected “=>”.
–
Phillip G.
Apologies for being an idiot
aidy
4
On 14.01.2010 22:36, aidy wrote:
Apologies for being an idiot
Don’t you worry. 
I’ve noticed that all other key/value pairs have a space around the =>,
and the last one didn’t. So, your typo was drowned in the noise, as it
were.