タイトルの通りです...
ググっても出て来ず。おたすけください。
以下ソース。
Gemfile
1. 2. 3 4group :production, :staging do 5 gem 'unicorn' 6end 7 8. 9. 10.
$ bundle install . . . . Installing kgio 2.11.2 with native extensions Gem::Ext::BuildError: ERROR: Failed to build gem native extension. current directory: /Users/xxxxx/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/kgio-2.11.2/ext/kgio /Users/xxxxx/.rbenv/versions/2.5.3/bin/ruby -r ./siteconf20190724-35130-1txhwix.rb extconf.rb checking for CLOCK_MONOTONIC in time.h... yes checking for clockid_t in time.h... yes checking for clock_gettime() in -lrt... no checking for t_open() in -lnsl... no checking for socket() in -lsocket... no checking for poll() in poll.h... yes checking for getaddrinfo() in sys/types.h,sys/socket.h,netdb.h... yes checking for getnameinfo() in sys/types.h,sys/socket.h,netdb.h... yes checking for struct sockaddr_storage in sys/types.h,sys/socket.h... yes checking for accept4() in sys/socket.h... no checking for sys/select.h... yes checking for writev() in sys/uio.h... yes checking for ruby/io.h... yes checking for rb_io_t.fd in ruby.h,ruby/io.h... yes checking for rb_io_t.mode in ruby.h,ruby/io.h... yes checking for rb_io_t.pathv in ruby.h,ruby/io.h... yes checking for struct RFile in ruby.h,ruby/io.h... yes checking size of struct RFile in ruby.h,ruby/io.h... 24 checking for struct RObject... yes checking size of struct RObject... 40 checking size of int... 4 checking for rb_io_ascii8bit_binmode()... yes checking for rb_update_max_fd()... yes checking for rb_fd_fix_cloexec()... yes checking for rb_cloexec_open()... yes checking for ruby/thread.h... yes checking for rb_thread_call_without_gvl() in ruby/thread.h... yes checking for rb_thread_blocking_region()... no checking for rb_thread_io_blocking_region()... yes checking for rb_str_set_len()... yes checking for rb_hash_clear() in ruby.h... yes checking for rb_time_interval()... yes checking for rb_wait_for_single_fd()... yes checking for rb_str_subseq()... yes checking for rb_ary_subseq()... yes creating Makefile current directory: /Users/xxxxx/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/kgio-2.11.2/ext/kgio make "DESTDIR=" clean make: error: unable to find utility "make", not a developer tool or in PATH current directory: /Users/xxxxx/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/kgio-2.11.2/ext/kgio make "DESTDIR=" make: error: unable to find utility "make", not a developer tool or in PATH make failed, exit code 72 Gem files will remain installed in /Users/xxxxx/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/kgio-2.11.2 for inspection. Results logged to /Users/xxxxx/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/extensions/x86_64-darwin-17/2.5.0-static/kgio-2.11.2/gem_make.out An error occurred while installing kgio (2.11.2), and Bundler cannot continue. Make sure that `gem install kgio -v '2.11.2' --source 'https://rubygems.org/'` succeeds before bundling. In Gemfile: unicorn was resolved to 5.5.1, which depends on kgio
ログに書いてある通り
gem install kgio -v '2.11.2' --source 'https://rubygems.org/'
これも試しましたが同じエラーでした。。
よろしくお願いします。
回答3件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。