Я использую учебник от Udemy для создания веб-приложения и использую cloud9 IDE. Все работало нормально, пока не добавили шрифт При попытке установить комплект после добавления font-awesome gem я получаю следующие ошибки:
Bundler could not find compatible versions for gem "activemodel":
In Gemfile:
rails (~> 5.2.0) was resolved to 5.2.1.rc1, which depends on
activemodel (= 5.2.1.rc1)
web-console (>= 3.3.0) was resolved to 3.3.0, which depends on
activemodel (>= 4.2)
Bundler could not find compatible versions for gem "activesupport":
In Gemfile:
jbuilder (~> 2.5) was resolved to 2.8.0, which depends on
activesupport (>= 4.2.0)
rails (~> 5.2.0) was resolved to 5.2.1.rc1, which depends on
activesupport (= 5.2.1.rc1)
spring was resolved to 2.0.2, which depends on
activesupport (>= 4.2)
Bundler could not find compatible versions for gem "railties":
In Gemfile:
coffee-rails (~> 4.2) was resolved to 4.2.2, which depends on
railties (>= 4.0.0)
font-awesome-rails (= 4.2.0) was resolved to 4.2.0.0, which depends on
railties (< 5.0, >= 3.2)
jquery-rails was resolved to 4.3.3, which depends on
railties (>= 4.2.0)
rails (~> 5.2.0) was resolved to 5.2.1.rc1, which depends on
railties (= 5.2.1.rc1)
sass-rails (~> 5.0) was resolved to 5.0.7, which depends on
railties (< 6, >= 4.0.0)
web-console (>= 3.3.0) was resolved to 3.3.0, which depends on
railties (>= 4.2)
Вот мои текущие файлы драгоценных камней:
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
ruby '2.4.1'
gem 'rails', '~> 5.2.0'
gem 'sqlite3', group: [:development, :test]
gem 'bootstrap-sass', '~> 3.3.7'
gem "font-awesome-rails", '4.2.0'
gem 'jquery-rails'
group :production do
gem 'pg'
gem 'rails_12factor'
end
gem 'puma', '~> 3.11'
gem 'sass-rails', '~> 5.0'
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.2'
gem 'turbolinks', '~> 5'
gem 'jbuilder', '~> 2.5'
gem 'bootsnap', '>= 1.1.0', require: false
group :development, :test do
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
end
group :development do
gem 'web-console', '>= 3.3.0'
gem 'listen', '>= 3.0.5', '< 3.2'
gem 'spring'
gem 'spring-watcher-listen', '~> 2.0.0'
end
group :test do
gem 'capybara', '>= 2.15', '< 4.0'
gem 'selenium-webdriver'
gem 'chromedriver-helper'
end
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
Итак, после поиска похожих проблем я попытался удалить файл gemlock и запустить обновление комплекта, но это не сработало. Попытка запустить мой сервер просто выдает ошибку, что сначала необходимо установить пакет font-awesome-rails.
Также прошу прощения за форматирование, это мой первый вопрос здесь. Любая помощь приветствуется.