rubymine - 找不到 gem “jquery-rails"; [英] rubymine - Could not find gem "jquery-rails"
问题描述
我已经安装了 rubymine 和 Ruby193(使用 rubyinstaller).
我现在创建了一个 Rails 应用程序,其中为选定的数据库预先配置"-mySqL"复选框被选中
当我单击执行时,它会打印以下错误:
I have installed rubymine and Ruby193 (with rubyinstaller).
I now create a rails aplication with "preconfigured for selected database" - "mySqL " checkbox selected
When I click the execute it prints the following error :
D:/Programs/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/resolver.rb:287:in `resolve': 找不到 gem 'jquery-rails (>= 0) x86-mingw32' 在这台机器上可用的 gems 中.(Bundler::GemNotFound)
D:/Programs/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/resolver.rb:287:in `resolve': Could not find gem 'jquery-rails (>= 0) x86-mingw32' in the gems available on this machine. (Bundler::GemNotFound)
想法?
推荐答案
单独安装这个 gem:
Install this gem separately:
gem install jquery-rails
或通过 Bundler
bundle install
(在你的 Gemfile 所在的项目目录中)
bundle install
(in the project directory where your Gemfile is located)
这篇关于rubymine - 找不到 gem “jquery-rails";的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!