LoginSignup
4
3

More than 5 years have passed since last update.

An error occurred while installing mysql2 (0.4.10)

Posted at
$ 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使いたい

4
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
3