Re: Rails does not see installed gem in production.

Michael Chow
2008-10-11T00:23:50Z

> Rmagick has native extensions right?  Maybe you need...
>
> rake gems:build                # Build any native extensions for
> unpacked gems
>
> ?
>
> -philip

I didn''t even consider that. I know there are separate windows and
linux
versions and I did vendorize the right one.

When I run "rake gems:build", it exits without a whisper. No errors
but
maybe not much else either. It didn''t help though.

When I try gem install rmagick --install-dir=/home/<user>/gems it throws
"Failed to build gem native extension".

Below that there''s also

"Can''t find Magick-config in
/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games"

I have absolutely no idea what it''s trying to do and why in that
directory

Messy, but I don''t think even this is the source of my problem.
Presumably dreamhost''s own rmagick install is functioning correctly,
but
when I clear it from vendor it still doesn''t manage to find the native
install.