bundle install
でエラーが貼ってしてしまいます。
バージョン
Ruby on Rails 5
ruby 2.2.5
エラー内容
Installing ffi 1.9.23 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension./Users/*************/.rbenv/versions/2.2.5/bin/ruby -r ./siteconf20190511-19792-10sjohh.rb extconf.rb --use-system-libraries
checking for ffi.h... no
checking for ffi.h in /usr/local/include,/usr/include/ffi... yes
checking for ffi_call() in -lffi... yes
checking for ffi_closure_alloc()... no
checking for ffi_raw_call()... no
checking for shlwapi.h... no
checking for rb_thread_blocking_region()... no
checking for rb_thread_call_with_gvl()... yes
checking for rb_thread_call_without_gvl()... yes
creating extconf.h
creating Makefilemake "DESTDIR=" clean
make "DESTDIR="
/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file
make: *** ["/Users/*************/Box] Error 2make failed, exit code 2
Gem files will remain installed in /Users//Box Sync//vendor/bundle/ruby/2.2.0/gems/ffi-1.9.23 for inspection.
Results logged to /Users//Box Sync//vendor/bundle/ruby/2.2.0/extensions/x86_64-darwin-16/2.2.0-static/ffi-1.9.23/gem_make.outAn error occurred while installing ffi (1.9.23), and Bundler cannot continue.
Make sure thatgem install ffi -v '1.9.23'
succeeds before bundling.In Gemfile:
bootstrap-sass was resolved to 3.3.7, which depends on
sass was resolved to 3.5.6, which depends on
sass-listen was resolved to 4.0.0, which depends on
rb-inotify was resolved to 0.9.10, which depends on
ffi
admin:hoge admin$
試したこと
・gem install ffi -v '1.9.23'
→
bundle install
・https://qiita.com/motty93/items/29e22c6bf811f8dd00ab
大変詰まっている状況です。何をすれば解決するのかご教授お願い致します!!
あなたの回答
tips
プレビュー