From owner-freebsd-questions@freebsd.org Sun Nov 15 05:36:52 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 904572D3C8B for ; Sun, 15 Nov 2020 05:36:52 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dreamchaser.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CYgtq55Qcz4tSd for ; Sun, 15 Nov 2020 05:36:51 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id 0AF5aocs096933 for ; Sat, 14 Nov 2020 22:36:50 -0700 (MST) (envelope-from freebsd@dreamchaser.org) Reply-To: freebsd@dreamchaser.org From: Gary Aitken Subject: middleman To: FreeBSD Mailing List Message-ID: <5ee5097d-2fce-51ad-2700-5efd0f9c6508@dreamchaser.org> Date: Sat, 14 Nov 2020 22:32:34 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Sat, 14 Nov 2020 22:36:50 -0700 (MST) X-Rspamd-Queue-Id: 4CYgtq55Qcz4tSd X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@dreamchaser.org designates 66.109.141.57 as permitted sender) smtp.mailfrom=freebsd@dreamchaser.org X-Spamd-Result: default: False [-3.30 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[66.109.141.57:from]; R_SPF_ALLOW(-0.20)[+mx:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[66.109.141.57:from:127.0.2.255]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_NA(0.00)[dreamchaser.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] 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 05:36:52 -0000 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 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) Shouldn't the gems and runtimes have been installed with the pkg? Can anyone explain to me what's going on? Thanks, Gary