On 19/2/2006, at 21:05, Fred B. wrote:
Still no answer about erb, though. Could someone try it?
I’d hoped Sune would answer this one, as he’s the expert in Ruby run- time behavior :)
The problem is that for some reason erb does not see local variables when started from RubyMate (it does see globals, so change low => $low and high => $high, and it works).
This gives an exception, and RubyMate fails to properly parse that exception (hence the range error).
As to why erb does not see local variables, or why RubyMate doesn’t properly parse the exception which results from this problem, I don’t know.
Sune?