emacs-orgmode
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
[O] Ruby babel src block does not run some code
From
:
address@hidden
Subject
:
[O] Ruby babel src block does not run some code
Date
:
Mon, 11 Apr 2016 10:34:20 +0800
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/
reply via email to
[Prev in Thread]
Current Thread
[Next in Thread]
[O] Ruby babel src block does not run some code
,
address@hidden
<=
Prev by Date:
Re: [O] [OT] A new web browser‽
Next by Date:
Re: [O] [OT] A new web browser‽
Previous by thread:
[O] [BUG] Capture template table line specification
Next by thread:
[O] lisp babel
Index(es):
Date
Thread