Manikandan .k
2009-Feb-07 08:34 UTC
Install RMagick2.9.0 Rails 2.1.2, Ruby 1.8.6 ,filecolumn-0.3
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/RMagick-2.9.0-ImageMagick-6.4.8-6-Q8.zip 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/1116b75a-9ec3-481a-a3c8-1777b5381140/vcredist_x86.exe 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. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---