emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nathan Neff <nathan.neff@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Cannot open load file: inf-ruby
Date: Thu, 2 Sep 2010 07:48:34 -0500	[thread overview]
Message-ID: <AANLkTinR0q3rLbe8fddx7Znhqq9CQJY=Vmj4gAQ1gJpU@mail.gmail.com> (raw)

I'm having trouble getting ruby scripts to run in org-babel.

I'm running Org 7.01 trans.

With this example, I get the message "Cannot load file: inf-ruby" after
I press C-c C-c with the cursor on the #+begin_src line

#+begin_src ruby
puts "hello world"
return 1
#+end_src

I have ruby installed, and can run it from the command line.
I can run the following Python snippet just fine:
#+begin_src python
"boo"
return 3
#+end_src python

I've tried executing this line in my Scratch buffer and in the same buffer
that my ruby-code is in:


 (org-babel-do-load-languages
  'org-babel-load-languages
  '((R . t)
    (ditaa . t)
    (dot . t)
    (emacs-lisp . t)
    (gnuplot . t)
    (haskell . nil)
    (ocaml . nil)
    (python . t)
    (ruby . t)
    (screen . nil)
    (sh . t)
    (sql . nil)
    (sqlite . t)))

Can someone post a bare-bones setup that can run ruby scripts from
org-babel?

             reply	other threads:[~2010-09-02 12:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-02 12:48 Nathan Neff [this message]
2010-09-02 14:59 ` Cannot open load file: inf-ruby Nick Dokos
2010-09-02 15:06 ` Eric Schulte

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='AANLkTinR0q3rLbe8fddx7Znhqq9CQJY=Vmj4gAQ1gJpU@mail.gmail.com' \
    --to=nathan.neff@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).