所以在部署到服务器时我遇到了cloud66的问题,它指出找不到gem babel-source
我看过rubygems,但还没有将其拉出,它可以在本地安装。但是在cloud66上运行它时出现此错误
Could not find babel-source-5.8.35 in any of the sources
Is the gem babel-source-5.8.35 available? Check if it has been yanked from your gem source (most likely RubyGems)
我相信Active-admin
需要这个宝石。
关于如何解决此问题的任何想法都将是惊人的!
编辑:Gemfile
source 'https://rubygems.org'
ruby '2.5.1'
# gem 'babel-source', '~> 5.8.35'
# Standard Rails gems
gem 'rails'
gem 'sass-rails'
gem 'uglifier'
gem 'coffee-rails'
gem 'jquery-rails'
gem 'turbolinks'
gem 'jbuilder'
gem 'bcrypt'
gem 'simple_form'
gem 'bootstrap4-datetime-picker-rails'
gem 'momentjs-rails'
gem 'httparty'
gem 'activerecord-import'
gem 'dynamic_selectable'
gem 'fuzzy-string-match'
#Nested Forms
gem 'cocoon'
gem "puma"
gem 'spawnling', '~>2.1'
#Image Uploader
gem "mini_magick"
gem "fog-aws"
gem 'carrierwave', '~> 1.0'
gem 'aws-sdk-rails'
gem 'figaro'
# Necessary for Windows OS (won't install on *nix systems)
gem 'tzinfo-data', platforms: [:mingw, :mswin]
# Kaminari: https://github.com/amatsuda/kaminari
gem 'kaminari'
# Friendly_id: https://github.com/norman/friendly_id
gem 'friendly_id'
# Font-awesome: https://github.com/FortAwesome/font-awesome-sass
gem 'font-awesome-sass'
# Bootstrap 3: https://github.com/twbs/bootstrap-sass
gem 'bootstrap', '~> 4.3.1'
group :development, :test do
gem 'byebug'
gem 'web-console'
# Spring: https://github.com/rails/spring
gem 'spring'
# Annotate_Models: https://github.com/ctran/annotate_models
gem 'annotate'
end
# PostgreSQL
gem 'pg'
gem 'watir'
gem 'open_uri_redirections'
gem 'mechanize'
# Devise: https://github.com/plataformatec/devise
gem 'devise'
gem 'chart-js-rails'
gem 'tinymce-rails'
gem 'autoprefixer-rails'
gem 'impressionist'
gem 'arctic_admin'
gem 'activeadmin', '~> 2.0.0'
山姆