2016-10-11 4 views
1

RefineryCMS製品のdisqusコメントをインストールしようとしていますが、まずはGithubの手順に従いますが、'refinerycms-disqus', '~> 0.0.1' gemfileに、私はこのエラーCould not find gem 'refinerycms-disqus (~> 0.0.1) x86-mingw32' in any of the gemgem 'refinerycms-disqus(〜> 0.0.1) - Rubyを見つけることができませんでした。

私RefineryCMSのバージョンは3-0-安定しており、私のレールのバージョンは4.2.7.1

これは私のgemfileである取得bundle installを実行します。

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. 
+0

バージョン番号なしで 'gem 'refinerycms-disqus''を実行すると動作しますか? – Julie

+0

動作しませんでした。 – iFurniture

答えて

1

gem 'refinerycms-disqus', github: 'keram/refinerycms-disqus'はトリックを行う必要がありますインストールした後mpleteログ。

+0

エラー 'refinerycms-core(〜> 2.718.0.dev) 'を見つけることができませんでした。これはgem ' refinerycms 'のいずれかのソースで必要です。' – iFurniture

+1

@iFurniture使用時gitのgemソースを入手するには、gitから正しい依存バージョンを手動で追跡する必要があることがよくあります。あなたの人生は、https://rubygems.orgから公開された宝石に固執しようとするとずっと簡単になります。 –

+0

ええ、そうですが、宝石「refinerycms-disqus」はrubygems.orgには表示されません。 – iFurniture

関連する問題