Running ImageMagick on Windows and Linux under Rails

3 views
Skip to first unread message

Ralph Shnelvar

unread,
Dec 12, 2010, 5:39:28 PM12/12/10
to rubyonra...@googlegroups.com
I am developing on a Windows machine and running in a Linux (i686-linux)
environment.

I am successfully running ImageMagick in Windows using the %x Ruby
command.

I asked my ISP if he had ImageMagick available to me and he wrote:
- - - -
Hello Ralph,

It is just a perl module, so you would use the path /usr/bin/convert in
the config file for the setting
- - - -

I really don't understand my ISP's answer.

When I run
puts %x[/usr/bin/convert]
The output in Mongrel reads
sh: /usr/bin/convert: No such file or directory

I really don't know much about Linux in the segregated cPanel
environment
I am running ... so I ask the collected wisdom here: How do I run
/usr/bin/convert in my environment?

Ralph Shnelvar

--
Posted via http://www.ruby-forum.com/.

Ralph Shnelvar

unread,
Dec 13, 2010, 11:13:35 AM12/13/10
to rubyonra...@googlegroups.com
Well ... issue resolved.

My ISP did not have ImageMagick installed correctly on his server.
Amazingly, I was doing everything correctly.

Reply all
Reply to author
Forward
0 new messages