按照此处的说明,我尝试运行rake db:create
并收到此错误:
Could not find gem 'mysql2 (~> 0.5)' in rubygems repository https://rubygems.org/ or installed locally.
The source does not contain any versions of 'mysql2'
Run `bundle install` to install missing gems.
然后,运行时bundle install
我得到这个:
Unfortunately, an unexpected error occurred, and Bundler cannot continue.
还尝试安装引发此错误的 mysql2 gem 。
有关如何克服此问题的任何帮助?