我正在尝试使用名为“rbing”的gem,但是它有一个问题,该项目已被放弃,但有人在回购中修复了所以我决定使用bundler来指定新版本。
gem "rbing", :git => "https://github.com/KellyMahan/rbing.git"
当我运行bundle install时它甚至安装正确,但在我的Gemfile中,RubyMine抱怨“SDK RVM中没有指定版本要求的gem:ruby-2.0.0”
它不会显示在我的外部库目录中。
非常感谢任何帮助,
干杯,亚当
编辑:Ruby版,
Bundler 1.3.5
Ruby 2.0.0 (2013-05-14 patchlevel 195) [x86_64-darwin12.3.0]
Rubygems 2.0.3
rvm 1.20.11 (stable)
GEM_HOME /Users/adam419/.rvm/gems/ruby-2.0.0-p195
GEM_PATH /Users/adam419/.rvm/gems/ruby-2.0.0-p195:/Users/adam419/.rvm/gems/ruby-2.0.0- p195@global
rubygems-bundler (1.1.1)
答案 0 :(得分:1)
将您的Gemfile更改为:
source "https://rubygems.org"
gem 'sinatra'
gem 'rbing', :git => 'https://github.com/KellyMahan/rbing'
我刚刚在这里为RubyMine 5.4做了它,它就像一个魅力: