How to install RMagick

apps

#1

Hello!
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
failed:

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


#2

Why don’t you try DH’s ImageMagick http://wiki.dreamhost.com/index.php/Image_Magick

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


#3

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


#4

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]


#5

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


#6

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.