[Locomotive-users] Desperate with RMagick LocoBundle! :(

Tozzato Emanuele mek at zopen.it
Sun Sep 24 08:50:20 GMT 2006


So I need ImageMagick.

Downloaded darwinports;

sudo port install jpeg
sudo port install libpng
sudo port install libwmf
sudo port install tiff (see note below)
sudo port install lcms
sudo port install freetype
sudo port install ghostscript

Downloaded ImageMagickSource

tar xvzf ImageMagick.tar.gz
cd ImageMagick-X.Y.Z
./configure
make
make install

tar xvzf RMagick-X.Y.Z.tar.gz
cd RMagick-X.Y.Z
./configure
make
make install

AND Rmagick WORKS! bu just from the console!!

doit.rb

#! /usr/local/bin/ruby -w
require 'RMagick'
include Magick
f = Image.new(100,100) { self.background_color = "red" }
f.write('hello.png')
exit

works good and makes me happy, but when I went back to locomotive...  
RMagick was not found.. so I discovered that there is a version of  
locomotive bundled with RMagick!

download
drag the bundle folder into locomotive folder

woooooohaaa! the new bundle is available for my appz, but when I set  
RailsFootball to run with Rails 1.1.2 +RMagick the application  
freezes when the controller try to require 'RMagick'

the application was created of course before installing the bundle..


any hints?

MEK


--
Emanuele Tozzato
mob +39 329 29 56 995
icq 30 77 52 76
web mekdigital.com






More information about the Locomotive-users mailing list