No worries at all, thanks for using MacRuby.
- Matt
On Thu, Mar 8, 2012 at 8:08 PM, Braxton Sherouse <
shero...@email.virginia.edu> wrote:
> Thanks; that's totally it.
>
> That specific spec change is painfully clear in
> https://github.com/rubyspec/rubyspec/blob/master/core/kernel/eval_spec.rb
Thanks; that's totally it.
That specific spec change is painfully clear in
https://github.com/rubyspec/rubyspec/blob/master/core/kernel/eval_spec.rb
(but, of course, I didn't think to look there!)
Best,
Braxton
On Thu, Mar 8, 2012 at 8:47 PM, Matt Aimonetti wrote:
> It's actually a difference b
It's actually a difference between Ruby 1.8 and 1.9, see the same code with
1.9.3:
$ irb
1.9.3p125 :001 > eval "f=12"
=> 12
1.9.3p125 :002 > f
NameError: undefined local variable or method `f' for main:Object
from (irb):2
from /Users/mattetti/.rvm/rubies/ruby-1.9.3-p125/bin/irb:16:in `'
- Matt