zhyiwww
用平实的笔,记录编程路上的点点滴滴………
posts - 536,comments - 394,trackbacks - 0

[1]gem install mysql

[2]rake db:create

[3]rake db:migrate

一个错误的解决
D:\temp\blog>rake db:create
(in D:/temp/blog)
!!! The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and tr
y again: gem install mysql.
rake aborted!
127: 找不到指定的程序。   - d:/ruby/lib/ruby/gems/1.8/gems/mysql-2.7.3-x86-mswin32/ext/mysql.so

(See full trace by running task with --trace)


解决方法:
把$mysql/bin/libmySQL.dll复制到$ruby/bin/就可以了。



|----------------------------------------------------------------------------------------|
                           版权声明  版权所有 @zhyiwww
            引用请注明来源 http://www.blogjava.net/zhyiwww   
|----------------------------------------------------------------------------------------|
posted on 2009-03-15 14:25 zhyiwww 阅读(1490) 评论(0)  编辑  收藏 所属分类: ruby on rails

只有注册用户登录后才能发表评论。


网站导航: