WINDOWS RUBYGEMS: MYSQL2 RMAGICK

MYSQL2 :

1、mysql-connector-c-noinstall-6.0.2-win32.zip

2、copy libmysql.dll to D:\ruby\ruby\bin\libmysql.dll

DB OUT

mysqldump -uroot -p zuche_development > zuche.sql

DB IN

mysql -uroot -p zuche_development < zuche.sql

 

RMAGICK:

1、http://www.imagemagick.org/download/binaries/ImageMagick-6.7.7-0-Q16-windows-dll.exe

2、gem install rmagick --platform=ruby -- --with-opt-lib=d:\ruby\ImageMagick-6.7.7-Q16\lib --with-opt-include=d:\ruby\ImageMagick-6.7.7-Q16\include

posted @ 2012-05-19 16:09  喻头快跑  阅读(196)  评论(0编辑  收藏  举报