Hi,
I am trying to install Middleman on my Mac, v. 10.13.5. I have tried to find a similar thread with the same problem but was unable to, so I hope someone can help me with the installation here.
when running sudo gem install middleman
I am getting this in the terminal;
Building native extensions. This could take a while...
ERROR: Error installing middleman:
ERROR: Failed to build gem native extension.
current directory: /Users/todd/.rvm/rubies/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/fast_blank-1.0.0/ext/fast_blank
/Users/todd/.rvm/rubies/ruby-2.3.3/bin/ruby -r ./siteconf20180717-37617-1wxx7x9.rb extconf.rb
creating Makefile
current directory: /Users/todd/.rvm/rubies/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/fast_blank-1.0.0/ext/fast_blank
make "DESTDIR=" clean
current directory: /Users/todd/.rvm/rubies/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/fast_blank-1.0.0/ext/fast_blank
make "DESTDIR="
compiling fast_blank.c
linking shared-object fast_blank.bundle
ld: warning: directory not found for option '-L/usr/local/opt/libksba/lib'
ld: warning: directory not found for option '-L/usr/local/opt/libksba/lib'
ld: warning: directory not found for option '-L/usr/local/opt/libksba/lib'
current directory: /Users/todd/.rvm/rubies/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/fast_blank-1.0.0/ext/fast_blank
make "DESTDIR=" install
make: /usr/local/opt/coreutils/bin/gmkdir: No such file or directory
make: *** [.RUBYARCHDIR.time] Error 1
make install failed, exit code 2
Gem files will remain installed in /Users/todd/.rvm/rubies/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/fast_blank-1.0.0 for inspection.
Results logged to /Users/todd/.rvm/rubies/ruby-2.3.3/lib/ruby/gems/2.3.0/extensions/x86_64-darwin-16/2.3.0/fast_blank-1.0.0/gem_make.out
I have searched around for a couple hours now for a solution but have been unable to find one.
Any help would be greatly appreciated. Thanks.