我使用Rails 4個工作,我使用這個庫爲我的分頁,但我有一個問題,當我部署到生產,我看到這個錯誤:軌道4和寶石(will_paginate)未部署正確
/home/deployer/apps/app/shared/bundle/ruby/1.9.1/gems/activesupport-4.0.0.rc1/lib/active_support/dependencies.rb:228:in require'/home/deployer/apps/app/shared/bundle/ruby/1.9.1/gems/activesupport-4.0.0.rc1/lib/active_support/dependencies.rb:228:inrequire': No such file to load -- will_paginate/array (LoadError)
在開發中,這個庫正在工作,但在生產中,我有這個錯誤,我在谷歌搜索這個錯誤,但我找不到解決方案。
你有什麼想法可能是錯的?請讓我知道,當你找到請。
感謝您的幫助。
嗨,在我的Gemfile中,它沒有組。 – bedomax