Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Undefined method has_attached_file after Paperclip installation?

Not sure if I've done everything right here. I added the Paperclip gem to my Gemfile and did bundle install. I followed along with the readme instructions on Paperclips Github page.

I wasn't sure if I needed to install ImageMagick. But, I found a script on Github for installation on Snow Leopard, so I ran:

rails plugin install http://github.com/masterkain/ImageMagick-sl.git

But, now I'm getting Undefined method has_attached_file

I'm completely new to Rails and programming. Most of this is pretty advanced for me, but so far I've managed to figure stuff out.

like image 348
teecraft Avatar asked Dec 16 '25 22:12

teecraft


1 Answers

Have you restarted your rails server?

like image 61
Peter Brown Avatar answered Dec 19 '25 15:12

Peter Brown