Forum: Ruby on Rails Install RMagick2.9.0 Rails 2.1.2, Ruby 1.8.6 ,filecolumn-0.3

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Manikandan .. (Guest)
on 2009-02-07 10:34
Install ImageMagick and RMagick for Rails 2.1.2, Ruby 1.8.6, File Column
0.3 in Windows XP SP2

1. Download ImageMagick and RMagick from rubyforge.org

   http://rubyforge.org/frs/download.php/50370/RMagic...

2. Extract it and change to the location.

   cd RMagick-2.9.0-ImageMagick-6.4.8-6-Q8

3. Install ImageMagick-6.4.8-6

   ImageMagick-6.4.8-6-Q8-windows-dll.exe

4. Install RMagick-2.9.0

   Open Command Prompt window and change directory to the extracted
files location

   cd RMagick-2.9.0-ImageMagick-6.4.8-6-Q8

   gem update --system

   gem install rmagick --local

    Console output:
    Successfully installed rmagick-2.9.0-x86-mswin32
    1 gem installed

5. Verify RMagick Installation

   Open new command prompt window

   irb

   irb(main):001:0> require 'rubygems'

   true

   irb(main):001:0> require 'RMagick'

   true

6. Download and install Microsoft Visual C++ 2008 Redistributable
Package (x86)

   http://download.microsoft.com/download/1/1/1/1116b...

7. Changes in File Column Plugin  (file-column-0.3)

   Go to vendor/plugins/file-column-0.3 in your Rails Application.

   In "lib/magick_file_column.rb" file, replace the line

   require_gem 'rmagick'
        with
   require 'RMagick'

   and save it.

That's all and enjoy using RMagick and File Column.
This topic is locked and can not be replied to.