安装 mysql2时出错: 未能构建 gem 原生扩展
I am having some problems when trying to install mysql2
gem for Rails. When I try to install it by running bundle install
or gem install mysql2
it gives me the following error:
Error installing mysql2: ERROR: Failed to build gem native extension.
How can I fix this and successfully install mysql2
?
转载于:https://stackoverflow.com/questions/3608287/error-installing-mysql2-failed-to-build-gem-native-extension
℡Wang Yan
2010/08/31 10:54- ruby-on-rails
- mysql
- rubygems
- ruby
- 点赞
- 收藏
- 回答
满意答案