そもそも bundle install
ができなかったのですが(gemのmysql2が引っかかってた)
以下のサイトを参考にpathを変更していました
https://qiita.com/fukuda_fu/items/463a39406ce713396403
その後にいろいろあってRubyのバージョンを変更しようと思い、2.3.3をインストールしたら
以下のエラーメッセージがでました
username@app % rbenv install 2.3.3 ruby-build: using openssl from homebrew Downloading ruby-2.3.3.tar.bz2... -> https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.3.tar.bz2 Installing ruby-2.3.3... ruby-build: using readline from homebrew BUILD FAILED (OS X 10.15.3 using ruby-build 20191004) Inspect or clean up the working tree at /var/folders/ym/6n780lp945q712ywlz0j2m8h0000gn/T/ruby-build.20200402181104.6834 Results logged to /var/folders/ym/6n780lp945q712ywlz0j2m8h0000gn/T/ruby-build.20200402181104.6834.log Last 10 log lines: installing capi-docs: /Users/username/.rbenv/versions/2.3.3/share/doc/ruby The Ruby openssl extension was not compiled. ERROR: Ruby install aborted due to missing extensions Configure options used: --prefix=/Users/username/.rbenv/versions/2.3.3 --with-openssl-dir=/usr/local/opt/openssl@1.1 --with-readline-dir=/usr/local/opt/readline CC=clang LDFLAGS=-L/Users/username/.rbenv/versions/2.3.3/lib CPPFLAGS=-I/Users/username/.rbenv/versions/2.3.3/include
自分の力ではどの部分が要因なのか理解できなかったので質問させてもらいました
もし、解消法をご存知な方がいらっしゃれば幸いです
回答1件
あなたの回答
tips
プレビュー