Answer the question
In order to leave comments, you need to log in
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
[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"
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)
Answer the question
In order to leave comments, you need to log in
Bundler could not find compatible versions for gem...
There is an open issue on Spree, it describes how to deal with this.
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).
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 questionAsk a Question
731 491 924 answers to any question