Hi Jörg, Thanks for the catch, I've added "require 'date'" to the initial ruby example. -- Eric
Jörg Hagmann <joerg.hagm...@unibas.ch> writes: > Sorry for the question below. I needed "require 'date'"; maybe a first > example not needing to load anything would avoid this kind of noise. > > In any case, thanks a lot for this tool! > > Cheers, Jörg > > Jörg Hagmann wrote: >> Thank you, David and Carsten. >> >> Now it works with shell scripts. >> >> With Ruby, I get: >> Source block produced no output (Using the first example from the manual) >> >> Ruby versions 1.8.6 on the Mac, 1.8.7 on ubuntu. >> >> ? >> >> Thanks, Jörg >> >> Carsten Dominik wrote: >>> Hi Jörg, >>> >>> you need to have the contrib/lisp directory of Org on your load path. >>> >>> - Carsten >>> >>> On Sep 15, 2009, at 9:58 AM, Jörg Hagmann wrote: >>> >>>> org-babel doesn't work here. First question: do I have the current >>>> org-version? I updated today and have 6.30trans (On 2 computers, >>>> Mac Leopard and ubuntu). >>>> >>>> If that's ok, next: >>>> I have >>>> >>>> (require 'org-babel-init) >>>> (require 'org-babel-ruby) ;; requires ruby, irb, ruby-mode, >>>> and inf-ruby >>>> (org-babel-load-library-of-babel) >>>> >>>> in .emacs >>>> >>>> Starting emacs gives the Message: >>>> >>>> An error has occurred while loading `/Users/bonasia/.emacs': >>>> File error: Cannot open load file, org-babel-init >>>> >>>> I either don't have the current version or misunderstood something. >>>> >>>> Thanks, Jörg >>>> >>>> >>>> _______________________________________________ >>>> Emacs-orgmode mailing list >>>> Remember: use `Reply All' to send replies to the list. >>>> Emacs-orgmode@gnu.org >>>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode >>> >> _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode