Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: infoarts@gmail.com (infoarts at gmail.com)
Subject: [sup-talk] Can't add a local maildir source
Date: Fri, 4 Sep 2009 09:02:12 +1000	[thread overview]
Message-ID: <2e8d08f0909031602r37472cdcjcf4826f7cd2b48c7@mail.gmail.com> (raw)

Hi there

I'm tracking next via git and am having trouble adding a mail source.

I've removed any existing ~/.sup directory, then run sup-config and
all is OK until sup-config runs sup-add maildir when I get this
message:

"Ok, trying to run "/Users/richard/src/sup/bin/sup-add
maildir:/Users/richard/mail/gmail/INBOX"...
/Users/richard/src/sup/lib/sup/index.rb:177: undefined method `[]' for
false:FalseClass (NoMethodError)
	from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
	from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
	from /Users/richard/src/sup/lib/sup.rb:277
	from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
	from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
	from /Users/richard/src/sup/bin/sup-add:7

So I'm thinking this might have something to do with my environment
setup on OS X.

I'm running sup from ~/src/sup and am mirroring my gmail mail to
~/mail/gmail via offlineimap - this all seems fine.

I've  added: 'export RUBYLIB="~/src/sup/lib" ' to my .bash_profile but
it still fails on the 'require "sup"' line in sup-add

I've checked that I have all the required gem dependencies and that
seems fine too.

And I installed the sup-999 gems.

What could I be missing here?

Any clues appreciated...

-- 
Richard


             reply	other threads:[~2009-09-03 23:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-03 23:02 infoarts at gmail.com [this message]
2009-09-08 20:47 ` William Morgan

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

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

  git send-email \
    --in-reply-to=2e8d08f0909031602r37472cdcjcf4826f7cd2b48c7@mail.gmail.com \
    --to=infoarts@gmail.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox