From owner-freebsd-questions@freebsd.org Sun Nov 15 11:03:37 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CAF052E463F for ; Sun, 15 Nov 2020 11:03:37 +0000 (UTC) (envelope-from newton.ja.terry@gmail.com) Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CYq7r6R18z3jwh for ; Sun, 15 Nov 2020 11:03:36 +0000 (UTC) (envelope-from newton.ja.terry@gmail.com) Received: by mail-wm1-x334.google.com with SMTP id h21so234594wmb.2 for ; Sun, 15 Nov 2020 03:03:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=8Uz1xRqpFztY0ZqWi5vr5mUj6yhCpnM0/StnoYaZp5I=; b=qjpW8ESOpT44ZeIbWTnbbgTZLBoDvCSSCq+v3Qvw5Xjy08KBcSj320D+hKMxoay7UN M/BFOE2qugyFd9rP/btmeipMAgK4qRg8hVRzQBfatSP1zEAh6ww00e45lxDEtV7b1InW DaQhA1zMUd0sLuCftI4RT4t/C1QyAWbZJRoVoH4CakNAi1uIukoR33YpxtXugENRr5HE hM9jw9VaXgZmYd3knMscxeiscVV5RvP0WXXc0k+vz2jSzWYSVU3w69PypzL69NggN9+E WHm50IYxoTbUo2y6qFsqA+faXwbgFJSmqG1U6LbqRMpBIfn3jNk7nVtBW3CRVaQJOuJT tscA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=8Uz1xRqpFztY0ZqWi5vr5mUj6yhCpnM0/StnoYaZp5I=; b=V19DfQ9JUgaoPMRCFsnl9xvDJF9H6SBj/J4CEOnPsnavgEQc7h1c4M0rjAXLQtzzdP c48ilauEEFOqz5a+FXgVQ4orPpDozuUR4n7LP0vAZdMKhMcaCCIjpbGuythLr4GzPONy otOnzWdsedQXtFoUlZa2dwtYCSGHXIHqYxh1YXBzHKJeugamYptpPwHUsr94ANdjTBuY t/FBfUMVSvgQpOl4Jhbl0xpd9GNcWb2N9PGrNRFpf1R2YkPIINOhADCbDTiEip9Xei8T jbDdDZ/iVrEPkxs5d1UTWHrOn8qYr2+yjQTKx6w95PxQAiGFlOQR40vhpcQdgA8uPS6G dGXw== X-Gm-Message-State: AOAM530nX6ZK9/cBCG4F5wfYbH7ShiiPybFLoeHn25cfvVcrbu36vI75 lxQ4v8BxmzBe0DMboN3cHhxG+149wBQ= X-Google-Smtp-Source: ABdhPJz78ZMS3SW5fxujMaLEij2XL/4eKl+CzYB2vwEe4zaMp8jIiUpiSgxAFJs24w4Tdiqe6C9AiA== X-Received: by 2002:a1c:1946:: with SMTP id 67mr7316571wmz.15.1605438213479; Sun, 15 Nov 2020 03:03:33 -0800 (PST) Received: from HSPBM.local ([5.47.6.33]) by smtp.gmail.com with ESMTPSA id c17sm15639497wml.14.2020.11.15.03.03.32 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 15 Nov 2020 03:03:32 -0800 (PST) Subject: Re: middleman To: freebsd-questions@freebsd.org References: <5ee5097d-2fce-51ad-2700-5efd0f9c6508@dreamchaser.org> From: "N.J.Terry" Message-ID: <33b45304-30de-6f20-c0a0-3575154fab98@gmail.com> Date: Sun, 15 Nov 2020 14:03:37 +0300 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <5ee5097d-2fce-51ad-2700-5efd0f9c6508@dreamchaser.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4CYq7r6R18z3jwh X-Spamd-Bar: ++++++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=qjpW8ESO; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of newtonjaterry@gmail.com designates 2a00:1450:4864:20::334 as permitted sender) smtp.mailfrom=newtonjaterry@gmail.com X-Spamd-Result: default: False [8.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GREYLIST(0.00)[pass,meta]; R_SPF_ALLOW(0.00)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(0.00)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::334:from]; R_DKIM_ALLOW(0.00)[gmail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[5.47.6.33:received]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[5.47.6.33:received]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::334:from:127.0.2.255]; BAD_REP_POLICIES(0.10)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_SPAM_LONG(1.00)[1.000]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::334:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-Spam: Yes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2020 11:03:37 -0000 On 15.11.20 08:32, Gary Aitken wrote: > I'm trying to get up to speed on a project that was started using > middleman. > I'm a naive ruby user and mostly clueless about middleman, so any help and > pointers would be much appreciated. > > I installed the package, which left a binary named "mman" but no middleman: > > $pkg info -l middleman > middleman-1.9.1_2: >         /usr/local/bin/mman >         /usr/local/etc/mman.xml.sample >         /usr/local/etc/rc.d/mman.sh.sample >         /usr/local/man/man8/mman.8.gz >         /usr/local/share/doc/middleman/README.html >         /usr/local/share/doc/middleman/filter.pl > > However, substituting "mman" for "middleman" in the examples on the > middleman > site >   https://middlemanapp.com/ > lead to other anomalies: > > $ mman init test_proj > config file option missing The www/middleman package you have installed is a filtering proxy server ( http://middle-man.sourceforge.net ), not the Middleman static site generator framework ( https://middlemanapp.com ). The latter isn't available as port/package. > > I then tried > #gem install middleman > > which did install a bunch of gems, but then I get different errors: > $   middleman init test_proj > Traceback (most recent call last): >         16: from /usr/local/bin/middleman:23:in `
' >         15: from /usr/local/bin/middleman:23:in `load' >         14: from > /usr/local/lib/ruby/gems/2.6/gems/middleman-cli-4.3.11/bin/middleman:49:in > `' > ... > /usr/local/lib/ruby/gems/2.6/gems/execjs-2.7.0/lib/execjs/runtimes.rb:58:in > `autodetect': Could not find a JavaScript runtime. See > https://github.com/rails/execjs for a list of available runtimes. > (ExecJS::RuntimeUnavailable) Have you looked at the site https://github.com/rails/execjs for a list of available runtimes? > > Shouldn't the gems and runtimes have been installed with the pkg? > > Can anyone explain to me what's going on?