・Ruby初学者のRuby On Rails 環境構築【Mac】
https://qiita.com/TAByasu/items/47c6cfbeeafad39eda07
↑参考にしています。
$ bundle exec rails new blog
入力すると、、
exist identical README.md identical Rakefile identical .ruby-version identical config.ru conflict .gitignore Overwrite /Users/apple/blog/.gitignore? (enter "h" for help) [Ynaqdhm]
が出てきてYesにしてもNoにしても前に進みません。。←訂正。正確にはその後のエラーから進みません。
An error occurred while installing ffi (1.11.1), and Bundler cannot continue. Make sure that `gem install ffi -v '1.11.1' --source 'https://rubygems.org/'` succeeds before bundling. In Gemfile: spring-watcher-listen was resolved to 2.0.1, which depends on listen was resolved to 3.1.5, which depends on rb-inotify was resolved to 0.10.0, which depends on ffi run bundle exec spring binstub --all bundler: command not found: spring Install missing gem executables with `bundle install`
【追記】
gem install ffi -v 1.11.1 --source https://rubygems.org/
ERROR: Error installing ffi: ERROR: Failed to build gem native extension. current directory: /Users/ゆーざー名/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/ffi-1.11.1/ext/ffi_c /Users/ゆーざー名/.rbenv/versions/2.6.3/bin/ruby -I /Users/ゆーざー名/.rbenv/versions/2.6.3/lib/ruby/site_ruby/2.6.0 -r ./siteconf20190719-48972-1ym6vkr.rb extconf.rb 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 shlwapi.h... no checking for rb_thread_call_without_gvl()... yes checking for ruby_native_thread_p()... yes checking for ruby_thread_has_gvl_p()... yes creating extconf.h creating Makefile
【追記3】
gem list ffi
ffiリストが表示されません。。
Ruby on Rails全然わからないので検討もつかないです。。
ver違いなどが原因でしょうか。。(一番上のQiitaの記事でひとまず全部installは完了しています。。)
どなたか同じ症状の方いらっしゃいますでしょうか。。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
退会済みユーザー
2019/07/19 09:26
退会済みユーザー
2019/07/19 09:26
2019/07/19 09:42
退会済みユーザー
2019/07/19 09:47
2019/07/29 02:20