From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.216.66.137 with SMTP id h9cs78822wed; Sat, 23 Oct 2010 16:05:00 -0700 (PDT) Received: by 10.229.92.20 with SMTP id p20mr4199722qcm.280.1287875100195; Sat, 23 Oct 2010 16:05:00 -0700 (PDT) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id y15si9803751qci.201.2010.10.23.16.04.59; Sat, 23 Oct 2010 16:05:00 -0700 (PDT) Received-SPF: pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-talk-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id B76BB197848C; Sat, 23 Oct 2010 19:04:59 -0400 (EDT) Received: from li65-10.thecyberplains.com (li65-10.members.linode.com [97.107.135.10]) by rubyforge.org (Postfix) with ESMTP id D052919783EC for ; Sat, 23 Oct 2010 17:46:09 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by li65-10.thecyberplains.com (Postfix) with ESMTP id 542CF2215F for ; Sun, 24 Oct 2010 10:46:09 +1300 (NZDT) Received: from li65-10.thecyberplains.com ([127.0.0.1]) by localhost (li65-10.thecyberplains.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZUwOhUgZq5Pg for ; Sun, 24 Oct 2010 10:46:09 +1300 (NZDT) Received: from localhost (122-61-5-87.jetstream.xtra.co.nz [122.61.5.87]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: matt@thecyberplains.com) by li65-10.thecyberplains.com (Postfix) with ESMTPSA id 331C52214C for ; Sun, 24 Oct 2010 10:46:07 +1300 (NZDT) From: Matthew Goodall To: sup-talk In-reply-to: <1287826034-sup-7074@blake> References: <1287736097-sup-8064@blake> <1287743238-sup-1964@eris> <1287826034-sup-7074@blake> Date: Sun, 24 Oct 2010 10:46:00 +1300 Message-Id: <1287868822-sup-9296@ethicsgradient.lan> User-Agent: Sup/0.11 Subject: Re: [sup-talk] mime-view.rb: content_type not found X-BeenThere: sup-talk@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: User & developer discussion of Sup List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org 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