I try to configure Org-mode to open ruby source code block with `enh-ruby-mode`.
configuration as following:
#+BEGIN_SRC emacs-lisp
(with-eval-after-load 'enh-ruby-mode
(add-to-list 'org-src-lang-modes '("ruby" . enh-ruby)))
#+END_SRC
This will open code block in `enh-ruby-mode` when you edit with [C-c '].
You can see the syntax highlighting failed result screenshot at here:
http://emacs.stackexchange.com/questions/17042/org-mode-babel-failed-syntax-highlight-after-change-org-src-lang-modes
I hope to keep the syntax highlight, (If can use enh-ruby-mode syntax highlight
will be better).