gpt4 book ai didi

ruby-on-rails - sass-rails 需要 sprockets 2.0.0 但 rails 4.1.0 需要 sprockets 2.12.1

转载 作者:数据小太阳 更新时间:2023-10-29 07:43:11 29 4
gpt4 key购买 nike

<分区>

我正在尝试将我的应用程序从 rails 3.2.16 升级到 rails 4.1.0,当我尝试调用 bundler :

Bundler could not find compatible versions for gem "sprockets":
In Gemfile:
sass-rails (>= 0) ruby depends on
sprockets (~> 2.0.0) ruby

rails (= 4.1.0) ruby depends on
sprockets-rails (~> 2.0) ruby depends on
sprockets (2.12.1)

Bundler could not find compatible versions for gem "sprockets-rails":
In Gemfile:
sass-rails (>= 0) ruby depends on
sprockets-rails (~> 2.0.0) ruby

rails (= 4.1.0) ruby depends on
sprockets-rails (2.1.3)

Bundler could not find compatible versions for gem "railties":
In Gemfile:
sass-rails (>= 0) ruby depends on
railties (~> 3.1.0) ruby

rails (= 4.1.0) ruby depends on
railties (4.1.0)

和我的 Gemfile 的(部分):

gem 'rails', '4.1.0'
gem 'mysql2'
gem "rake"
gem "less-rails" #Sprockets (what Rails 3.1 uses for its asset pipeline) supports LESS
gem 'sass-rails'

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com