middleman
N.J.Terry
newton.ja.terry at gmail.com
Sun Nov 15 11:03:37 UTC 2020
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?
More information about the freebsd-questions
mailing list