rbenv uninstall 2.5.1
rbenv install 2.5.1 //結果 Downloading ruby-2.5.1.tar.bz2... -> https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.1.tar.bz2 Installing ruby-2.5.1... ruby-build: using readline from homebrew Installed ruby-2.5.1 to /Users/user/.rbenv/versions/2.5.1
その後bundle installしようとしたところエラーが発生
Installing nokogiri 1.10.9 with native extensions Errno::EACCES: Permission denied @ dir_s_mkdir - /Users/katoukento/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/extensions/x86_64-darwin-18/2.5.0/nokogiri-1.10.9 An error occurred while installing nokogiri (1.10.9), and Bundler cannot continue. Make sure that `gem install nokogiri -v '1.10.9' --source 'https://rubygems.org/'` succeeds before bundling.
gem install nokogiri -v '1.10.9' --source 'https://rubygems.org/'を実行してみるとエラー
Building native extensions. This could take a while... ERROR: While executing gem ... (Errno::EACCES) Permission denied @ dir_s_mkdir - /Users/katoukento/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/extensions/x86_64-darwin-18/2.5.0/nokogiri-1.10.9
回答1件
あなたの回答
tips
プレビュー