开发者

spree error message in Rails

I am new to ruby on rails. I installed ruby and gems both on my ubuntu 10.10 system. My rails -v is 3.0.5 and gem -v is 1.3.7. As my requirement I installed bundler and after that when I installed spree by the command gem install spree I got the following error message:

ERROR:  Error installing spree:
    spree_core requires will_paginate (= 3.0.pre2, runtime)

I googled many hours but didn't find any good result. So please help me.开发者_Go百科I am really a newbie in Rails.


Have you tried the following?

gem update --system
gem install will_paginate -v=3.0.pre2 --pre
gem install spree

You tell it manually to install the correct required version of will_paginate. Maybe that helps. Good luck.


This should all work through bundler. Have you added the spree gem to your Gemfile and run bundle install? Are you using RVM? Post the results of bundle list and rvm info(if applicable) if you're still having problems

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜