emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eric Schulte" <schulte.eric@gmail.com>
To: "Jörg Hagmann" <joerg.hagmann@unibas.ch>
Cc: Emacs-orgmode@gnu.org, Carsten Dominik <carsten.dominik@gmail.com>
Subject: Re: org-babel
Date: Tue, 15 Sep 2009 08:43:42 -0600	[thread overview]
Message-ID: <m2y6ogmfoh.fsf@gmail.com> (raw)
In-Reply-To: <4AAFA267.6030105@unibas.ch> ("Jörg Hagmann"'s message of "Tue, 15 Sep 2009 16:19:19 +0200")

Hi Jörg,

Thanks for the catch, I've added "require 'date'" to the initial ruby
example. -- Eric

Jörg Hagmann <joerg.hagmann@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
>>>
>>

  reply	other threads:[~2009-09-15 14:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-15  8:58 org-babel Jörg Hagmann
2009-09-15  9:15 ` org-babel David Maus
2009-09-15  9:30 ` org-babel Carsten Dominik
2009-09-15 13:03   ` org-babel Jörg Hagmann
2009-09-15 14:19     ` org-babel Jörg Hagmann
2009-09-15 14:43       ` Eric Schulte [this message]
2009-09-15 15:09         ` org-babel Stephan Schmitt
2009-09-15 15:54           ` org-babel Eric Schulte
  -- strict thread matches above, loose matches on Subject: below --
2010-01-22  5:40 org-babel Richard Riley
2014-07-10 15:10 org-babel Federico Beffa
2014-07-27 14:24 ` org-babel Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2y6ogmfoh.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=Emacs-orgmode@gnu.org \
    --cc=carsten.dominik@gmail.com \
    --cc=joerg.hagmann@unibas.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).