You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when install on macOS, it occurs an error. the dependency nokogiri can not be installed. shoes dependency an old version. and this version can not be installed on newest macOS.
ruby: 2.5.1
macOS: 10.14
➜ EEScaffold git:(master) ✗ gem install shoes --pre
Building native extensions. This could take a while...
ERROR: Error installing shoes:
ERROR: Failed to build gem native extension.
current directory: /Users/dongzhao/.rvm/gems/ruby-2.5.1/gems/nokogiri-1.6.4.1/ext/nokogiri
/Users/dongzhao/.rvm/rubies/ruby-2.5.1/bin/ruby -r ./siteconf20181017-25664-kuirnv.rb extconf.rb
checking if the C compiler accepts ... yes
checking if the C compiler accepts -Wno-error=unused-command-line-argument-hard-error-in-future... no
Building nokogiri using packaged libraries.
-----
The file "/usr/include/iconv.h" is missing in your build environment,
which means you haven't installed Xcode Command Line Tools properly.
To install Command Line Tools, try running `xcode-select --install` on
terminal and follow the instructions. If it fails, open Xcode.app,
select from the menu "Xcode" - "Open Developer Tool" - "More Developer
Tools" to open the developer site, download the installer for your OS
version and run it.
-----
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/Users/dongzhao/.rvm/rubies/ruby-2.5.1/bin/$(RUBY_BASE_NAME)
--help
--clean
--use-system-libraries
--enable-static
--disable-static
--with-zlib-dir
--without-zlib-dir
--with-zlib-include
--without-zlib-include=${zlib-dir}/include
The text was updated successfully, but these errors were encountered:
First off, Shoes 4 only works on JRuby and you appear to be installing it on CRuby 2.5.1. If you install a recent JRuby (9.2.0.0 recommended), then you should find that the gem install shoes --pre should work.
Second, the error you're seeing is about one of Shoes' dependencies. If you just do gem install nokogiri I'm betting you'll see the same problem. The text in the middle suggests that you haven't run xcode-select --install to set up some of the necessary Mac development tools for compiling native gems like nokogiri.
when install on macOS, it occurs an error. the dependency nokogiri can not be installed. shoes dependency an old version. and this version can not be installed on newest macOS.
ruby: 2.5.1
macOS: 10.14
The text was updated successfully, but these errors were encountered: