无法安装sassc 2.4.0

时间:2020-10-16 17:05:35

标签: ruby-on-rails ruby

我想安装boostrap gem时遇到问题,当我从Gemfile中删除boostrap gem时,一切正常,但是我需要使用bootstrap。

我的宝石

gem 'rails'
gem 'sqlite3', '< 1.4'
gem 'puma', '~> 3.7'
gem 'jquery-rails'
gem 'coffee-rails', '~> 4.2'
gem 'turbolinks', '~> 5'
gem 'jbuilder', '~> 2.5'
gem 'bootstrap', '~> 4.5', '>= 4.5.2'
gem 'bootstrap-sass', '~> 3.4', '>= 3.4.1'

当我更新捆绑包时,我得到了

Gem files will remain installed in
C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/sassc-2.4.0 for inspection.
Results logged to
C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/extensions/x86-mingw32/2.3.0/sassc-2.4.0/gem_make.out

An error occurred while installing sassc (2.4.0), and Bundler cannot continue.
Make sure that `gem install sassc -v '2.4.0' --source 'https://rubygems.org/'`
succeeds before bundling.

In Gemfile:
  bootstrap was resolved to 4.5.2, which depends on
    sassc-rails was resolved to 2.1.2, which depends on
      sassc

红宝石2.3.3p222 Rails 5.2.4.4

0 个答案:

没有答案