all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Ruby babel src block does not run some code
@ 2016-04-11  2:34 numbchild
  0 siblings, 0 replies; only message in thread
From: numbchild @ 2016-04-11  2:34 UTC (permalink / raw)
  To: Org-mode

[-- Attachment #1: Type: text/plain, Size: 788 bytes --]

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/

[-- Attachment #2: Type: text/html, Size: 3647 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-04-11  2:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-11  2:34 Ruby babel src block does not run some code numbchild

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.