Hi Devs, I tried the following code snippet with two versions of JRuby:
<code>
ScriptEngineManager manager = new ScriptEngineManager();
ScriptEngine engine = manager.getEngineByName("jruby");
engine.put("who", "Asiri");
engine.eval("puts \"Hello #{$who}!\"");
</code>
With 1.2.0 above code snippet works fine and prints "Hello Asiri!". But with
1.3.0RC2 the output is "Hello !"
Am I doing something wrong? or is it a bug?
Thanks.
- Asiri
