我已生成使用refinerycms myapp
,
和註釋掉gem 'refinerycms-blog', '~> 2.1.0'
提出以下errror找不到寶石 'refinerycms - 博客(〜> 2.1.0)紅寶石'
Could not find gem 'refinerycms-blog (~> 2.1.0) ruby' in the gems available on this machine.
我的Gemfile的應用程序:
source 'https://rubygems.org'
gem 'rails', '3.2.13'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
group :development, :test do
gem 'sqlite3'
end
# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer', :platforms => :ruby
gem 'uglifier', '>= 1.0.3'
end
gem 'jquery-rails'
# To use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'
# To use Jbuilder templates for JSON
# gem 'jbuilder'
# Use unicorn as the app server
# gem 'unicorn'
# Deploy with Capistrano
# gem 'capistrano'
# To use debugger
# gem 'debugger'
# Refinery CMS
gem 'refinerycms', '~> 2.1.0'
# Optionally, specify additional Refinery CMS Extensions here:
gem 'refinerycms-acts-as-indexed', '~> 1.0.0'
gem 'refinerycms-blog', '~> 2.1.0'
# gem 'refinerycms-inquiries', '~> 2.1.0'
# gem 'refinerycms-search', '~> 2.1.0'
# gem 'refinerycms-page-images', '~> 2.1.0'
UPDATE:
更改爲2.0.5版本,並提高了以下
Bundler could not find compatible versions for gem "refinerycms-core":
In Gemfile:
refinerycms-blog (~> 2.0.5) ruby depends on
refinerycms-core (~> 2.0.3) ruby
refinerycms (~> 2.1.0) ruby depends on
refinerycms-core (2.1.0)
但爲什麼煉油廠生成'refinerycms-blog'版本〜〜2.1.0' –
這可能是一個錯誤。退房http://rubygems.org/gems/refinerycms-blog – kobaltz
更新了我的問題 –