ruby gem error:找不到gem' logstash-devutils(> = 0)x64-mingw32'

时间:2015-09-20 12:01:22

标签: ruby-on-rails ruby gem rubygems jruby

在Windows 7上,我按照弹性

中的this tutorial中的步骤操作

当我使用命令bundle install时,我收到以下错误

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 'logstash-devutils (>= 0) x64-mingw32' in any of the gem
sources listed in your Gemfile or available on this machine.

以下是我的Gemfile

source 'https://rubygems.org'
gemspec

请注意,当我使用命令gem list时,我可以找到那里列出的gem jquery-rails

2 个答案:

答案 0 :(得分:0)

您必须将gem 'logstash-devutils', '~> 0.0.10'添加到您的gemfile

答案 1 :(得分:0)

我有同样的问题,我相信这会解决问题。简而言之,logstash-devutils需要jruby,因此尝试使用常规ruby将无法正常工作。

Could not find gem 'logstash-devutils (>= 0) ruby' in any of the gem sources