简体   繁体   中英

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.

你重启了rails服务器吗?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM