1
所以我以为我已经修复了发布在this question的问题,并且我用sudo gem uninstall rails -v 3.0.0
卸载了Rails 3.0.0,但后来我遇到了其他问题。我将rogerdpack的建议转到了不同的级别,并卸载了我所有的ruby gem和mysql,然后重新安装了它们。现在我得到以下:卸载Rails 3.0.0后Rake查找MySQL问题
Icarus:temporary atg$ rails shopping -d mysql
create ........
Icarus:temporary atg$ cd shopping/
Icarus:shopping atg$ rake db:create
(in /Users/atg/temporary/shopping)
Couldn't create database for {"reconnect"=>false, "encoding"=>"utf8", "username"=>"root", "adapter"=>"mysql", "database"=>"shopping_development", "pool"=>5, "password"=>nil, "socket"=>"/tmp/mysql.sock"}, charset: utf8, collation: utf8_unicode_ci (if you set the charset manually, make sure you have a matching collation)
这是什么意思,我该如何解决它?
所有帮助表示感谢,并提前致谢!
可能重新安装导轨? – rogerdpack 2010-09-07 16:57:35
因此运行'sudo gem uninstall rails; sudo gem install rails -v 2.3.8'是你的建议吗? – 2010-09-07 17:08:27