I am getting this following error when using file_column with RMagick: uninitialized constant Magick /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/ active_support/dependencies.rb:200:in `const_missing'' ./script/../config/../vendor/plugins/rails_file_column/plugins/ file_column/branches/kyle/lib/file_column.rb:621:in `file_column'' #{RAILS_ROOT}/app/models/story_entry.rb:7 ./script/../config/../app/controllers/story_controller.rb:13:in `index'' This error occured while loading the following files: story_entry.rb magick.rb It works fine without the :magick specification: file_column :image, :magick => { :versions => { "medium" => "300x200>" } } I am running OS X Tiger, and I installed RMagick following the instruction here: http://rmagick.rubyforge.org/install-osx.html From command line, rmagick_test works fine. However, it Rmagick seems to not work from file_column. I even tried openning up environment.rb to add require ''RMagick'', but nothing helps. Thank you, Shark Fin Soup
Dear all, I solved this problem by downloading the newest stable release, rather than using the SVN version of file_column. Thank you, Sharkie On Feb 13, 2006, at 9:10 PM, Shark Fin Soup wrote:> I am getting this following error when using file_column with RMagick: > uninitialized constant Magick > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/ > active_support/dependencies.rb:200:in `const_missing'' > ./script/../config/../vendor/plugins/rails_file_column/plugins/ > file_column/branches/kyle/lib/file_column.rb:621:in `file_column'' > #{RAILS_ROOT}/app/models/story_entry.rb:7 > ./script/../config/../app/controllers/story_controller.rb:13:in > `index'' > > This error occured while loading the following files: > story_entry.rb > magick.rb > > It works fine without the :magick specification: > > file_column :image, :magick => { :versions => { "medium" => > "300x200>" } } > > I am running OS X Tiger, and I installed RMagick following the > instruction here: > > http://rmagick.rubyforge.org/install-osx.html > > From command line, rmagick_test works fine. > > However, it Rmagick seems to not work from file_column. I even > tried openning up environment.rb to add require ''RMagick'', but > nothing helps. > > Thank you, > > Shark Fin Soup > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails
Shark Fin Soup wrote:> Dear all, > > I solved this problem by downloading the newest stable release, > rather than using the SVN version of file_column. > > Thank you, > > SharkieThanks for this. It''s amazing how difficult the whole ImageMagick/RMagick thing has been. -- 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 -~----------~----~----~----~------~----~------~--~---
Elliott Blatt wrote:> Shark Fin Soup wrote: >> Dear all, >> >> I solved this problem by downloading the newest stable release, >> rather than using the SVN version of file_column. >> >> Thank you, >> >> Sharkie > > Thanks for this. It''s amazing how difficult the whole > ImageMagick/RMagick thing has been.How could I improve the OS X installation instructions for RMagick? Post here or email me at rmagick AT rubyforge DOT org. Thanks! -- 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 -~----------~----~----~----~------~----~------~--~---