L
L
lavezzi12015-02-24 09:36:44
Ruby on Rails
lavezzi1, 2015-02-24 09:36:44

How to install gem Spree on fresh ruby ​​on rails?

In general, I tried to install the gem, according to the instructions, everything is as it should be.
Install gem

gem install rails -v 4.2.0
gem install spree
rails new my_store
spree install my_store

All OK
[email protected]:~$ spree install my_store
Would you like to install the default gateways? (Recommended) (yes/no) [yes]
Would you like to install the default authentication system? (yes/no) [yes]
Would you like to run the migrations? (yes/no) [yes]
Would you like to load the seed data? (yes/no) [yes]
Would you like to load the sample data? (yes/no) [yes]
gemfile spree
gemfile spree_gateway
gemfile spree_auth_devise
run bundle install from "./my_store"

And mistake
Bundler could not find compatible versions for gem "jquery-rails":
In Gemfile:
spree (~> 2.4.4) ruby ​​depends on
spree_frontend (= 2.4.4) ruby ​​depends on
jquery-rails (~> 3.1.2) ruby
​​jquery -rails (4.0.3)

As I understand. Not suitable for the new version of ruby ​​on rails Spree?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
Evgeny Tkachenko, 2015-02-24
@lavezzi1

Bundler could not find compatible versions for gem...
There is an open issue on Spree, it describes how to deal with this.

N
Neznaikin, 2015-08-13
@Neznaikin

Steamed with Spree for a very long time, everything is very tricky there. Why soared? Could not connect the payment system (unitpay). I advise you to take spree not the latest version (not from the master).

S
Sergey Gornostaev, 2017-11-12
@ivanburdin

The remove() method changes the object on which it is called and returns nothing. Just readlines.remove(first_row)instead of body_readlines = readlines.remove(first_row).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question