Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: Matthew Goodall <dogsaw@thecyberplains.com>
To: sup-talk <sup-talk@rubyforge.org>
Subject: Re: [sup-talk] mime-view.rb: content_type not found
Date: Sun, 24 Oct 2010 10:46:00 +1300	[thread overview]
Message-ID: <1287868822-sup-9296@ethicsgradient.lan> (raw)
In-Reply-To: <1287826034-sup-7074@blake>

Excerpts from Shadowfirebird's message of Sat Oct 23 22:28:29 +1300 2010:
> > I might be wrong, but I seem to remember that the mime type checking
> > depends on some funky debian/ubuntu script. I ran into this when I tried
> > to get this to work:
> > http://sup.rubyforge.org/wiki/wiki.pl?ViewingAttachments
> 
> Has *anyone* got mime-view.rb working?  If so, what OS?
> 

I guess I have it going, I use a standard OSX configuration.

mime-view.rb:

    system "open '#{filename}'"

From the open man page "The open command opens a file (or a directory
or URL), just as if you had double-clicked the file's icon."

If you are on linux you may want to try xdg-open and iirc you can use 
'cmd /c start' on windows.
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


  reply	other threads:[~2010-10-23 23:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-22  8:34 Shadowfirebird
2010-10-22 10:31 ` Philipp Überbacher
2010-10-23  9:28   ` Shadowfirebird
2010-10-23 21:46     ` Matthew Goodall [this message]
2010-10-23 12:00 ` Sascha Silbe
2010-10-23 21:42   ` Shadowfirebird

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=1287868822-sup-9296@ethicsgradient.lan \
    --to=dogsaw@thecyberplains.com \
    --cc=sup-talk@rubyforge.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox