From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.204.70.74 with SMTP id c10cs11553bkj; Fri, 22 Oct 2010 02:50:40 -0700 (PDT) Received: by 10.101.20.10 with SMTP id x10mr1955231ani.181.1287741039880; Fri, 22 Oct 2010 02:50:39 -0700 (PDT) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id d23si6532343and.11.2010.10.22.02.50.39; Fri, 22 Oct 2010 02:50:39 -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; dkim=neutral (body hash did not verify) header.i=@gmail.com Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 220E219783FB; Fri, 22 Oct 2010 05:50:39 -0400 (EDT) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by rubyforge.org (Postfix) with ESMTP id 67812185835A for ; Fri, 22 Oct 2010 04:34:12 -0400 (EDT) Received: by wwb28 with SMTP id 28so855376wwb.23 for ; Fri, 22 Oct 2010 01:34:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:date :message-id:user-agent:content-transfer-encoding:content-type :mime-version; bh=/CowKLyPBmWcvS3v5JjbuWAXdPLkeoBwe9ZaZa4Pt8w=; b=jztLQjzY6DYcA06KDMYW0uMmY8xLbkAns/TvmvVuUv3fiInzdDKiXJy3agvULedaew 6QPPM+J8KuA9qEkB6OaTgK0QkiO1pB+IvAjHctPQS8ntSx/f7dx6wImHStER1MuoZHvc 40VUj1vXD/xYIZ1yKnYtN8YQ5iI3ZhCrVRYFk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:date:message-id:user-agent :content-transfer-encoding:content-type:mime-version; b=nr3/HRXndKceNjliDIrRwNYDylJiCL4+IduCwPzgL5M9IM+pFu0GBXIA2PLsVkCWNm CtAkLEoGlN8DP2mDrsCHw9+vTPJ2yvf/eFIaqw8jKSz2w53a3EXvjhdb670+NjCybJAW 8/3G3YWg8tw4+kqVWvuNL3s1hGM1rvv4SyeUg= Received: by 10.227.127.65 with SMTP id f1mr1992726wbs.118.1287736451638; Fri, 22 Oct 2010 01:34:11 -0700 (PDT) Received: from localhost ([78.148.225.192]) by mx.google.com with ESMTPS id b10sm1699821wer.17.2010.10.22.01.34.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 22 Oct 2010 01:34:10 -0700 (PDT) From: Shadowfirebird To: sup-talk Date: Fri, 22 Oct 2010 09:34:04 +0100 Message-Id: <1287736097-sup-8064@blake> User-Agent: Sup/0.11 MIME-Version: 1.0 Subject: [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: , Content-Type: multipart/mixed; boundary="===============0244764900==" Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org --===============0244764900== Content-Transfer-Encoding: 8bit Content-Type: multipart/signed; micalg="pgp-sha1"; boundary="=-1287736449-437671-9505-7614-1-="; protocol="application/pgp-signature" --=-1287736449-437671-9505-7614-1-= Content-Type: text/plain; charset=UTF-8 Hi, I'm having trouble setting up the mime-view.rb hook. According to the wiki, there should be a "variable" content_type. But, here's my program: begin log content_type filename rescue log "Error: #{$!}" end And here's what the log file says: hook[mime-view]: Error: undefined method `content_type' for # Anyone got any ideas? -- Bones: "The man's DEAD, Jim!" --=-1287736449-437671-9505-7614-1-= Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkzBTHwACgkQvzdJkCEGAstXCgCfWtR/BZN9jR+PExBY9CVnWDiP +TkAn35iLtuFhGcNzfjrcoFb0+R4Snil =Npgd -----END PGP SIGNATURE----- --=-1287736449-437671-9505-7614-1-=-- --===============0244764900== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk --===============0244764900==--