From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: org-babel Date: Tue, 15 Sep 2009 08:43:42 -0600 Message-ID: References: <4AAF5719.30603@unibas.ch> <4AAF908C.2030509@unibas.ch> <4AAFA267.6030105@unibas.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MnZG6-0001aZ-2I for emacs-orgmode@gnu.org; Tue, 15 Sep 2009 10:43:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MnZG1-0001YX-E0 for Emacs-orgmode@gnu.org; Tue, 15 Sep 2009 10:43:53 -0400 Received: from [199.232.76.173] (port=42492 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MnZG1-0001YQ-8i for Emacs-orgmode@gnu.org; Tue, 15 Sep 2009 10:43:49 -0400 Received: from mail-pz0-f183.google.com ([209.85.222.183]:35423) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MnZG0-0003zA-Pn for Emacs-orgmode@gnu.org; Tue, 15 Sep 2009 10:43:49 -0400 Received: by pzk13 with SMTP id 13so3408534pzk.5 for ; Tue, 15 Sep 2009 07:43:47 -0700 (PDT) In-Reply-To: <4AAFA267.6030105@unibas.ch> (=?utf-8?Q?=22J=C3=B6rg?= Hagmann"'s message of "Tue, 15 Sep 2009 16:19:19 +0200") 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: =?utf-8?Q?J=C3=B6rg?= Hagmann Cc: Emacs-orgmode@gnu.org, Carsten Dominik Hi J=C3=B6rg, Thanks for the catch, I've added "require 'date'" to the initial ruby example. -- Eric J=C3=B6rg Hagmann 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=C3=B6rg > > J=C3=B6rg 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=C3=B6rg >> >> Carsten Dominik wrote: >>> Hi J=C3=B6rg, >>> >>> you need to have the contrib/lisp directory of Org on your load path. >>> >>> - Carsten >>> >>> On Sep 15, 2009, at 9:58 AM, J=C3=B6rg 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=C3=B6rg >>>> >>>> >>>> _______________________________________________ >>>> 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 >>> >>