> > In the ruby console, this works : > Loading development environment (Rails 2.3.5) > >> require 'RMagick' > => [] > > However, in my controller file the following command > > require 'RMagick' > produces : > > MissingSourceFile in ImagesController#serve_image >
Weird that one works but the other doesn't... > After googling around, I tried the following: > - Install RMagick as a gem = no change > Did you add the config.gem line for RMagick to your environment.rb file and restart your Apache/server: config.gem "rmagick", :lib => "RMagick2" You then shouldn't need the require line in your code, it should just be available. Cheers, Andy -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

