11

RMagick on Ruby 1.9.1 (i386-mingw32) Work !!! :D [UPDATE]

RMagick on Ruby 1.9.1 (i386-mingw32) Work !!! :D Ispirate from : installing rmagick with mingw and ruby 1.9 and http://groups.google.com/group/rubyinstaller/browse_thread/thread/c837c4438d91208b but , on my laptop don’t work…. With Windows 7 work well: Step 1: DOWNLOAD Ruby => http://rubyforge.org/frs/download.php/74298/rubyinstaller-1.9.2-p180.exe DevKit => http://github.com/downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.1-20101214-1400-sfx.exe ImageMagick => http://www.imagemagick.org/download/binaries/ImageMagick-6.6.7-9-Q16-windows-dll.exe RMagick => https://github.com/rmagick/rmagick/zipball/master type-windows.xml => http://www.imagemagick.org/source/type-windows.xml Step 2: Install Ruby => c:Ruby192 DevKit => c:DevKit ImageMagick => c:ImageMagick-6.6.7-Q16 [WITH HEADER !!!!!!!] 3.a) Replace c:ImageMagick-6.6.7-Q16configtype-ghostscript.xml with type-windows.xml RMagick => c:rmagick-rmagick Step 3: Set Enviroment variable...

February 12, 2010 · 2 min · Carlo Bertini [WaYdotNET]
#mingw32 #rmagick #ruby #ruby #ruby 1.9.1 #RubyInstaller #tips #windows
11

Photo Resize from console :D

Qui raccolgo un po di script che mi sono fatto x la vita di tutti i giorni :D Photo resize (photo_resize) piccolo script in ruby che serve per fare delle thumbnails di foto, passando almeno la cartella contenente le foto (strano :D) Require: ruby (test with: ruby 1.9.1p378 (2010-01-10 revision 26273) [x86_64-linux] ||ruby 1.8.7 (2009-12-24 patchlevel 248) [x86_64-linux] || jruby 1.4.0 (ruby 1.8.7 patchlevel 174) (2009-11-02 69fbfa3) (Java HotSpot(TM) 64-Bit Server VM 1....

February 2, 2010 · 2 min · Carlo Bertini [WaYdotNET]
#optiflag #photo #photo resize #resize #rmagick #ruby #Script