Rails Paperclip gem wrong number of arguments error

前端 未结 1 1600
礼貌的吻别
礼貌的吻别 2021-01-22 07:27

I\'m working on my first RoR project and attempting to use the Paperclip gem, but I\'m running into an error I can\'t seem to figure out:

wrong number of

相关标签:
1条回答
  • 2021-01-22 07:59

    You are using the wrong version of cocaine. Run bundle install then make sure you are using bundle exec rails s to start your rails server.

    The run method in the newer version of cocaine (~> 0.4.0) takes an optional argument (def run(interpolations = {})) that the older version (0.3.2) didn't.

    See comments above.

    0 讨论(0)
提交回复
热议问题