An error occurred while installing mysql2 (0.4.10)
$ rails _5.0.1_ new hogehoge -d mysql
実行時
An error occurred while installing mysql2 (0.4.10)
ここでエラーが出るのは2度めなので書いておく
$ gem install mysql2 -v '0.4.10' --source 'https://rubygems.org/' -- --with-cppflags=-I/usr/local/opt/openssl/include --with-ldflags=-L/usr/local/opt/openssl/lib
$ cd hogehoge
$ bundle install
結論としてはCloud9使いたい
Author And Source
この問題について(An error occurred while installing mysql2 (0.4.10)), 我々は、より多くの情報をここで見つけました https://qiita.com/onagaway/items/b0dcf36b99fc45a78c6f著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .