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

你可能感兴趣的:(rubygems)