試圖在Ubuntu上安裝Spree,但我是Linux系統的新手。以下是錯誤消息:無法安裝Spree
-desktop ~/mystore $ bundle install
Fetching gem metadata from https://rubygems.org/............
Fetching version metadata from https://rubygems.org/..
Fetching dependency metadata from https://rubygems.org/.
Resolving dependencies...
Bundler could not find compatible versions for gem "spree_core":
In Gemfile:
spree (~> 3.1.1) was resolved to 3.1.1, which depends on
spree_core (= 3.1.1)
spree (~> 3.1.1) was resolved to 3.1.1, which depends on
spree_core (= 3.1.1)
spree (~> 3.1.1) was resolved to 3.1.1, which depends on
spree_core (= 3.1.1)
spree (~> 3.1.1) was resolved to 3.1.1, which depends on
spree_core (= 3.1.1)
spree (~> 3.1.1) was resolved to 3.1.1, which depends on
spree_core (= 3.1.1)
spree_gateway (~> 3.0.0) was resolved to 3.0.0, which depends on
spree_core (~> 3.0.0)
而這一切的寶石安裝,下面是列表:
rails (5.0.0.1, 4.2.7.1, 4.2.6, 4.2.5)
rails-deprecated_sanitizer (1.0.3)
rails-dom-testing (2.0.1, 1.0.7)
rails-html-sanitizer (1.0.3)
railties (5.0.0.1, 4.2.7.1, 4.2.6, 4.2.5)
rake (11.3.0, 10.4.2)
ransack (1.4.1)
rb-fsevent (0.9.8)
rb-inotify (0.9.7)
rdoc (4.3.0, 4.2.1)
responders (2.3.0)
sass (3.4.22)
sass-rails (5.0.6)
sdoc (0.4.2)
select2-rails (3.5.9.1)
sixarm_ruby_unaccent (1.1.1)
spree (3.1.1, 3.0.0)
spree_api (3.1.1, 3.0.0)
spree_auth_devise (3.1.0)
spree_backend (3.1.1, 3.0.0)
spree_cmd (3.1.1, 3.0.0)
spree_core (3.1.1, 3.0.0)
spree_frontend (3.1.1, 3.0.0)
spree_gateway (3.1.0, 3.0.0)
spree_sample (3.1.1, 3.0.0)
我試圖安裝不同版本的軌道,狂歡的,但總是相同的錯誤。 你能幫忙嗎?
根據您的評論AMD仍然有問題,我的Gemfile變化:spree_auth_devise(〜> 3.0.5)拆分到3.0.5,這取決於 spree_core(〜> 3.0.0) spree_gateway(〜> 3.1.0)已解析爲3.1.0,其取決於 spree_core(〜> 3.1.0.beta)spree_gateway(〜> 3.1.0)已解析爲3.1.0,這取決於 spree_core(〜> 3.1.0.beta) –
然後它完全相同的問題,除了spree_auth_devise而不是spree_gateway。您需要所有庫的相同版本。 – sevenseacat