From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?J=F6rg_Hagmann?= Subject: Re: org-babel Date: Tue, 15 Sep 2009 16:19:19 +0200 Message-ID: <4AAFA267.6030105@unibas.ch> References: <4AAF5719.30603@unibas.ch> <4AAF908C.2030509@unibas.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MnYsS-0005Pa-5P for emacs-orgmode@gnu.org; Tue, 15 Sep 2009 10:19:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MnYsN-0005OS-5D for Emacs-orgmode@gnu.org; Tue, 15 Sep 2009 10:19:27 -0400 Received: from [199.232.76.173] (port=47158 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MnYsM-0005OL-TF for Emacs-orgmode@gnu.org; Tue, 15 Sep 2009 10:19:22 -0400 Received: from smtp1pub.unibas.ch ([131.152.227.80]:45480) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MnYsM-0008Sm-9b for Emacs-orgmode@gnu.org; Tue, 15 Sep 2009 10:19:22 -0400 In-Reply-To: <4AAF908C.2030509@unibas.ch> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: Emacs-orgmode@gnu.org 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 >> > -- Prof. Jörg Hagmann-Zanolari MD University of Basel Department of Biomedicine Institute of Biochemistry and Genetics Mattenstrasse 28 CH-4058 Basel Switzerland Phone +41 (0)61 267 3565