Rails 4.2.4 安裝 gem mysql2相依性

Yeng Tsan
1 min readJul 4, 2016

--

Rails 4.2.4以前的版本安裝 ‘mysql2’,會產生相依性的問題

Specified 'mysql2' for database adapter, but the gem is not loaded

gem要安裝

gem 'mysql2', '~> 0.3.18'

花了1hr找這個bug LOL,期許自己debug的速度越來越快

Let’s Go RiverSki!

--

--

Yeng Tsan
Yeng Tsan

Written by Yeng Tsan

Software developer, Career consultant, Product manager.開啟你的海外職涯,從日本開始 https://engineer.taiwan-career.com/

No responses yet