Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.I am really a newbie in Rails.

like image 804
newbie Avatar asked Nov 28 '25 22:11

newbie


1 Answers

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.

like image 125
Joris Ooms Avatar answered Dec 01 '25 12:12

Joris Ooms



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!