middleman
Gary Aitken
freebsd at dreamchaser.org
Sun Nov 15 05:36:52 UTC 2020
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 `<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)
Shouldn't the gems and runtimes have been installed with the pkg?
Can anyone explain to me what's going on?
Thanks,
Gary
More information about the freebsd-questions
mailing list