Date: Sun, 15 Nov 2020 14:03:37 +0300 From: "N.J.Terry" <newton.ja.terry@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: middleman Message-ID: <33b45304-30de-6f20-c0a0-3575154fab98@gmail.com> In-Reply-To: <5ee5097d-2fce-51ad-2700-5efd0f9c6508@dreamchaser.org> References: <5ee5097d-2fce-51ad-2700-5efd0f9c6508@dreamchaser.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 `<main>' > Â Â Â Â Â Â Â 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 > `<top (required)>' > ... > /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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33b45304-30de-6f20-c0a0-3575154fab98>