MacBook:j_p_0902 user$ bundle install
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java
.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Using rake 12.3.1
Using concurrent-ruby 1.0.5
Using i18n 1.1.0
Using minitest 5.11.3
Using thread_safe 0.3.6
Using tzinfo 1.2.5
Using activesupport 5.2.1
Using builder 3.2.3
Using erubi 1.7.1
Using mini_portile2 2.3.0
Fetching nokogiri 1.8.4
Installing nokogiri 1.8.4 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory:
/Users/itou_ooji/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/nokogiri-1.8.4/ext/nokogiri
/Users/itou_ooji/.rbenv/versions/2.3.1/bin/ruby -r ./siteconf20180924-28567-2apuwd.rb
extconf.rb --use-system-libraries
checking if the C compiler accepts ... *** 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
--without-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/itou_ooji/.rbenv/versions/2.3.1/bin/$(RUBY_BASE_NAME)
--help
--clean
/Users/itou_ooji/.rbenv/versions/2.3.1/lib/ruby/2.3.0/mkmf.rb:456:in try_do': The compiler failed to generate an executable file. (RuntimeError) You have to install development tools first. from /Users/itou_ooji/.rbenv/versions/2.3.1/lib/ruby/2.3.0/mkmf.rb:571:in
block in
try_compile'
from /Users/itou_ooji/.rbenv/versions/2.3.1/lib/ruby/2.3.0/mkmf.rb:522:in
with_werror' from /Users/itou_ooji/.rbenv/versions/2.3.1/lib/ruby/2.3.0/mkmf.rb:571:in
try_compile'
from extconf.rb:138:in nokogiri_try_compile' from extconf.rb:162:in
block in add_cflags'
from /Users/itou_ooji/.rbenv/versions/2.3.1/lib/ruby/2.3.0/mkmf.rb:629:in
with_cflags' from extconf.rb:161:in
add_cflags'
from extconf.rb:410:in `<main>'
To see why this extension failed to compile, please check the mkmf.log which can be
found here:
/Users/itou_ooji/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/extensions/x86_64-darwin-16/2.3.0-static/nokogiri-1.8.4/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in
/Users/itou_ooji/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/nokogiri-1.8.4 for
inspection.
Results logged to
/Users/itou_ooji/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/extensions/x86_64-darwin-16/2.3.0-static/nokogiri-1.8.4/gem_make.out
An error occurred while installing nokogiri (1.8.4), and Bundler cannot
continue.
Make sure that gem install nokogiri -v '1.8.4' --source 'https://rubygems.org/'
succeeds before bundling.
In Gemfile:
rails was resolved to 5.2.1, which depends on
actioncable was resolved to 5.2.1, which depends on
actionpack was resolved to 5.2.1, which depends on
actionview was resolved to 5.2.1, which depends on
rails-dom-testing was resolved to 2.0.3, which depends on
nokogiri
bandleインストールが急に通らなくなりました。
助けてください。。。
ネットで落ちている方法は試したのですが一向に治りません。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/09/26 03:40
2018/09/26 03:50
2018/09/26 04:03
2018/09/26 04:07
2018/09/26 05:19
2018/09/26 05:23
2018/09/26 05:26