[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-talk] sent mail



Excerpts from Neil Stewart's message of 2010-04-08 20:08:31 +1000:
> Hi Michael,
> 
> > Are you sure about that? mbox files can easily get very large and it's a
> > pain to parse/handle them. I would really recommend maildir, you can use
> > mb2md to convert an existing mbox file to a maildir folder.
> 
> I shall give this a serious look. Thanks for the tip.
> 
> > In sup 0.11, sent mail does not get the inbox label anymore (AFAIK). Are you
> > using 0.11?
> 
> I'm using 0.10.2-1 from Debian testing. I've had a go at getting 0.11, but
> it's not available in Debian. I've failed to compile it several times using
> "gems install sup". I finally got it to work using ruby1.9, but can't work
> out how to run sup. I tried

"gem install sup" will put a script in /usr/bin so you should be able to
simply type sup. If you have multiple versions of ruby you might have
problems but if you invoke it thus: /path/to/ruby /usr/bin/sup you
should be right.

> # /var/lib/gems/1.9.0/bin/sup
> /var/lib/gems/1.9.0/gems/sup-0.11/lib/sup/util.rb:2:in `require': /var/lib/gems/1.9.0/gems/lockfile-1.4.3/lib/lockfile.rb:454: syntax error, unexpected ']' (SyntaxError)
> /var/lib/gems/1.9.0/gems/lockfile-1.4.3/lib/lockfile.rb:564: syntax error, unexpected $end, expecting keyword_end
>          from /var/lib/gems/1.9.0/gems/sup-0.11/lib/sup/util.rb:2:in `<top (required)>'
>          from /var/lib/gems/1.9.0/gems/sup-0.11/lib/sup.rb:277:in `require'
>          from /var/lib/gems/1.9.0/gems/sup-0.11/lib/sup.rb:277:in `<top (required)>'
>          from /var/lib/gems/1.9.0/gems/sup-0.11/bin/sup:15:in `require'
>          from /var/lib/gems/1.9.0/gems/sup-0.11/bin/sup:15:in `<top (required)>'
>          from /var/lib/gems/1.9.0/bin/sup:19:in `load'
>          from /var/lib/gems/1.9.0/bin/sup:19:in `<main>'
> 
> which fails and
> 
> # /var/lib/gems/1.9.0/gems/sup-0.11/bin/sup
> /usr/bin/env: ruby: No such file or directory
> 
> which fails.
> 
> I was going to try rubyforge, but it only lists 0.10.2 and earlier.
> 
> Being new to ruby is not helping! I'll have a go at compiling the
> development version from the git repository.
> 
> Thank you for your help.
> 
> Best,
> Neil.

Not sure if this helps but you really don't want to be using ruby 1.9.0
the latest is ruby-1.9.1-p376. If you want to install using Debian
packages they are in testing.

    apt-get install rubygems1.9.1 ruby1.9.1-dev rdoc1.9.1 irb1.9.1

should see you right.

rgh
-- 
Richard Heycock

http://topikality.com

+61 (0) 410 646 369
[e]:  rgh@topikality.com
[im]: rgh@topikality.com
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk