找不到 gem 'refinerycms-disqus (~> 0.0.1) - Ruby
Could not find gem 'refinerycms-disqus (~> 0.0.1) - Ruby
我正在尝试为 RefineryCMS 产品安装 disqus 评论,首先我按照 Github 的步骤进行操作,但是要将行 gem 'refinerycms-disqus', '~> 0.0.1'
添加到 gemfile 和 运行 bundle install
我得到这个错误 Could not find gem 'refinerycms-disqus (~> 0.0.1) x86-mingw32' in any of the gem
我的 RefineryCMS 版本是 3-0-stable 我的 rails 版本是 4.2.7.1
这是我的gem文件:
source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'tzinfo-data', platforms: [:mingw, :mswin, :jruby]
# Use sqlite3 as the database for Active Record
group :development, :test do
gem 'sqlite3'
end
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# Use CoffeeScript for .coffee assets and views
gem 'coffee-rails', '~> 4.1.0'
# See https://github.com/rails/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby
# Use jquery as the JavaScript library
gem 'jquery-rails'
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem 'turbolinks'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.0'
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', '~> 0.4.0', group: :doc
gem 'bourbon'
gem 'neat'
gem 'meta-tags', '~> 2.0.0'
# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'
# Use Unicorn as the app server
# gem 'unicorn'
# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development
group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug'
end
group :development do
# Access an IRB console on exception pages or by using <%= console %> in views
gem 'web-console', '~> 2.0'
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring'
end
group :production do
gem 'pg'
gem 'rails_12factor'
gem 'dragonfly-s3_data_store'
end
group :staging do
gem 'rails_12factor'
end
gem 'refinerycms', git: 'https://github.com/refinery/refinerycms', branch: '3-0-stable'
gem 'quiet_assets', group: :development
# Add support for searching inside Refinery's admin interface.
gem 'refinerycms-acts-as-indexed', ['~> 2.0', '>= 2.0.0']
# Add support for Refinery's custom fork of the visual editor WYMeditor.
gem 'refinerycms-wymeditor', ['~> 1.0', '>= 1.0.6']
# The default authentication adapter
gem 'refinerycms-authentication-devise', '~> 1.0'
gem 'mailchimp-api', require: 'mailchimp'
gem 'disqus_rails'
gem 'figaro'
gem 'refinerycms-blog', git: 'https://github.com/refinery/refinerycms-blog', branch: 'master'
gem 'puma'
gem 'refinerycms-disqus', '~> 0.0.1'
gem 'refinerycms-productos', path: 'vendor/extensions'
这是 运行 捆绑包安装后的完整日志
C:\Sites\ifurniture>bundle install
Your Gemfile lists the gem rails_12factor (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of
just one of them later.
Fetching gem metadata from https://rubygems.org/
Fetching version metadata from https://rubygems.org/
Fetching dependency metadata from https://rubygems.org/
Could not find gem 'refinerycms-disqus (~> 0.0.1)' in any of the gem sources
listed in your Gemfile or available on this machine.
gem 'refinerycms-disqus', github: 'keram/refinerycms-disqus'
应该可以解决问题。
我正在尝试为 RefineryCMS 产品安装 disqus 评论,首先我按照 Github 的步骤进行操作,但是要将行 gem 'refinerycms-disqus', '~> 0.0.1'
添加到 gemfile 和 运行 bundle install
我得到这个错误 Could not find gem 'refinerycms-disqus (~> 0.0.1) x86-mingw32' in any of the gem
我的 RefineryCMS 版本是 3-0-stable 我的 rails 版本是 4.2.7.1
这是我的gem文件:
source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'tzinfo-data', platforms: [:mingw, :mswin, :jruby]
# Use sqlite3 as the database for Active Record
group :development, :test do
gem 'sqlite3'
end
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# Use CoffeeScript for .coffee assets and views
gem 'coffee-rails', '~> 4.1.0'
# See https://github.com/rails/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby
# Use jquery as the JavaScript library
gem 'jquery-rails'
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem 'turbolinks'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.0'
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', '~> 0.4.0', group: :doc
gem 'bourbon'
gem 'neat'
gem 'meta-tags', '~> 2.0.0'
# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'
# Use Unicorn as the app server
# gem 'unicorn'
# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development
group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug'
end
group :development do
# Access an IRB console on exception pages or by using <%= console %> in views
gem 'web-console', '~> 2.0'
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring'
end
group :production do
gem 'pg'
gem 'rails_12factor'
gem 'dragonfly-s3_data_store'
end
group :staging do
gem 'rails_12factor'
end
gem 'refinerycms', git: 'https://github.com/refinery/refinerycms', branch: '3-0-stable'
gem 'quiet_assets', group: :development
# Add support for searching inside Refinery's admin interface.
gem 'refinerycms-acts-as-indexed', ['~> 2.0', '>= 2.0.0']
# Add support for Refinery's custom fork of the visual editor WYMeditor.
gem 'refinerycms-wymeditor', ['~> 1.0', '>= 1.0.6']
# The default authentication adapter
gem 'refinerycms-authentication-devise', '~> 1.0'
gem 'mailchimp-api', require: 'mailchimp'
gem 'disqus_rails'
gem 'figaro'
gem 'refinerycms-blog', git: 'https://github.com/refinery/refinerycms-blog', branch: 'master'
gem 'puma'
gem 'refinerycms-disqus', '~> 0.0.1'
gem 'refinerycms-productos', path: 'vendor/extensions'
这是 运行 捆绑包安装后的完整日志
C:\Sites\ifurniture>bundle install
Your Gemfile lists the gem rails_12factor (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of
just one of them later.
Fetching gem metadata from https://rubygems.org/
Fetching version metadata from https://rubygems.org/
Fetching dependency metadata from https://rubygems.org/
Could not find gem 'refinerycms-disqus (~> 0.0.1)' in any of the gem sources
listed in your Gemfile or available on this machine.
gem 'refinerycms-disqus', github: 'keram/refinerycms-disqus'
应该可以解决问题。