How to install RMagick

I don´t know what is going wrong about installing RMagick on my account.

I´ve following the wiki, but something is wrong on that… it doesn´t work.

Step by step

1: Install ImageMagick

2: Add instructions to .bash_profile :

export PATH=$HOME/local/bin:$PATH export LD_LIBRARY_PATH=$HOME/local/lib 3. mkdir ~/gems

  1. Add to .bash_profile:

export GEM_PATH=$HOME/gems:/usr/lib/ruby/gems/1.85. Install RMagick:

gem install -i ~/gems rmagickError:

[code]mkdir /usr/share/RMagick
hook /home/.gump/mdgustavo/gems/gems/rmagick-1.15.6/./post-install.rb

Permission denied - /usr/share/RMagick
Try ‘ruby setup.rb --help’ for detailed usage.
[/code]What am I doing wrong?
Please, somebody help me!

Why don’t you try DH’s ImageMagick

Save $97 with promo code: [color=#CC0000]97YES Sign Up NOW[/color]

My application is a rails application…

I´m using file_column plugin… and just tried do use DH´s ImageMagick, but it didn´t work.

What I have to do is install my own gem on my account

I’m not familiar with rails. Sorry I can’t help any more.

Hope somebody else can help you out :stuck_out_tongue:

Save $97 with promo code: [color=#CC0000]97YES Sign Up NOW[/color]

I got exactly the same problem. If anybody found a way around it, please post here. Thanks!

I finally made it work. Although the gem installation process encountered an error, turns out the error occured after the gem had been installed, during the documentation setup, which is really not important.

The trick after that was to include the line:
require '/home//gems/gems/rmagick-1.15.6/lib/RMagick’
at the end of the config/environment.rb file. Then you can use RMagick.