Ruby on rails 新手学习问题集合
问题一截图:
问题一解决方案:
On ubuntu
sudo apt-get install libmysqlclient-dev
On Red Hat/CentOS and other distributions using yum:
sudo yum install mysql-devel
On Mac OS X with Homebrew:
brew install mysql
问题二:
问题二解决方案:
mysql2 与 rails 版本不兼容问题
gem ‘mysql2’, ‘~> 0.3.18’ this gem works with rails version 4.x.x
改成0.3.18后问题解决
|
请发表评论