[sup-talk] gem i sup; cannot load such file -- curses

105 views
Skip to first unread message

Daniel

unread,
Jan 30, 2014, 7:16:12 PM1/30/14
to sup-...@rubyforge.org
I did a gem install sup on my system, but cannot start sup:

/usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require':
cannot load such file -- curses (LoadError)
from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in
`require'
from /home/quite/.gem/ruby/2.1.0/gems/sup-0.15.3/lib/sup.rb:10:in
`<top (required)>'
from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in
`require'
from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in
`require'
from /home/quite/.gem/ruby/2.1.0/gems/sup-0.15.3/bin/sup:20:in `<top
(required)>'
from .gem/ruby/2.1.0/bin/sup:23:in `load'
from .gem/ruby/2.1.0/bin/sup:23:in `<main>'

This is an up-to-date Arch Linux, ruby 2.1.0p0, gem 2.2.0


_______________________________________________
sup-talk mailing list
sup-...@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk

Gaute Hope

unread,
Jan 31, 2014, 2:40:20 AM1/31/14
to sup-talk
Excerpts from Daniel's message of 2014-01-31 01:16:12 +0100:
> I did a gem install sup on my system, but cannot start sup:
>
> /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require':
> cannot load such file -- curses (LoadError)
> from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in
> `require'
> from /home/quite/.gem/ruby/2.1.0/gems/sup-0.15.3/lib/sup.rb:10:in
> `<top (required)>'
> from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in
> `require'
> from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in
> `require'
> from /home/quite/.gem/ruby/2.1.0/gems/sup-0.15.3/bin/sup:20:in `<top
> (required)>'
> from .gem/ruby/2.1.0/bin/sup:23:in `load'
> from .gem/ruby/2.1.0/bin/sup:23:in `<main>'
>
> This is an up-to-date Arch Linux, ruby 2.1.0p0, gem 2.2.0
>

Hi Daniel,

try these patches: https://github.com/sup-heliotrope/sup/pull/216

note that tests still fail on ruby 2.1.0.


Cheers, Gaute

signature.asc

Daniel

unread,
Jan 31, 2014, 5:06:18 AM1/31/14
to sup-...@rubyforge.org
Thanks, I got it running!

I came across sup a couple of years back, when wmorgan was developing it.
Having accidently found that development has been resumed, I got curious
to try it out.

A C.R. Oldham asked on this list (but it's only visible in the web interface,
thanks a lot g****e...) on how to use sup with many maildir folders. I have
the same question. Would I have to set up a source for each and every one.

I saw the thread "A maildir root source" on the devel list, would you say
that is the way to go?

Gaute Hope

unread,
Jan 31, 2014, 9:34:15 AM1/31/14
to sup-talk
Excerpts from Daniel's message of 2014-01-31 11:06:18 +0100:
> Thanks, I got it running!
>
> I came across sup a couple of years back, when wmorgan was developing it.
> Having accidently found that development has been resumed, I got curious
> to try it out.
>
> A C.R. Oldham asked on this list (but it's only visible in the web interface,
> thanks a lot g****e...) on how to use sup with many maildir folders. I have
> the same question. Would I have to set up a source for each and every one.
>
> I saw the thread "A maildir root source" on the devel list, would you say
> that is the way to go?

That is what I am doing, works ok for me - but as you probably read from
the thread you need to use this branch:

https://github.com/gauteh/sup/tree/maildir-root

I have been using it for more than half a year now - note that this one
syncs labels with maildirs both ways. So if you don't want that it
probably won't work correctly. I don't know if any of the others have
continued to use the maildir-root source?


If you just want to add all your maildirs as sources you have to add
each of them. You can set up a script to add them automatically, perhaps
you can get some inspiration here:

https://github.com/sup-heliotrope/sup/wiki/Thunderbird-Import

Cheers, Gaute
signature.asc

C. R. Oldham

unread,
Jan 31, 2014, 12:18:36 PM1/31/14
to sup-talk
Excerpts from Daniel's message of 2014-01-31 03:06:18 -0700:
> A C.R. Oldham asked on this list (but it's only visible in the web interface,
> thanks a lot g****e...) on how to use sup with many maildir folders. I have
> the same question. Would I have to set up a source for each and every one.

Hey Daniel,

I patched Sup to support offlineimap's X-Labels support. I have not submitted
a PR yet because it needs to be gated with a configuration option. If you want
to try it out you can check it out from my fork at https://github.com/cro/sup

This enables you to setup offlineimap to sync only 'All Mail' from your Google
account and keep all your labels.

This might not actually be what you are asking for, if you populate your
Maildirs from somewhere else.

--cro
Reply all
Reply to author
Forward
0 new messages