For example, I have a ruby src block like this:

```
#+BEGIN_SRC ruby
  module A
    CREF = "*** CREF in module A"
  end 

  module A
    module B
      puts CREF
    end
  end
#+END_SRC
```

And press `[C-c C-c]` to execute, get this error:
```
#+BEGIN_EXAMPLE
-:3: module definition in method body
-:4: dynamic constant assignment
  CREF = "*** CREF in module A"
        ^
-:7: module definition in method body
-:8: module definition in method body
#+END_EXAMPLE
```

My emacs version: 24.5.1
My org-mode version: 8.3.4 (installed from MELPA)

[stardiviner]           <Hack this world!>      GPG key ID: 47C32433
IRC(freeenode): stardiviner                     Twitter:  @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36  CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/