Ruby on rails 捆绑安装和更新无法找到并安装jQuery rails 2.0.0
我正在努力学习Rails。 我在Windows上,所以我使用了推荐的。我需要使用Ruby on rails 捆绑安装和更新无法找到并安装jQuery rails 2.0.0,ruby-on-rails,ruby,bundler,Ruby On Rails,Ruby,Bundler,我正在努力学习Rails。 我在Windows上,所以我使用了推荐的。我需要使用jqueryrailsgem版本2.0.0来学习本教程,因此在我的gem文件中,我有: source 'https://rubygems.org' gem 'rails', '3.2.3' # Bundle edge Rails instead: # gem 'rails', :git => 'git://github.com/rails/rails.git' group :development do
jqueryrails
gem版本2.0.0来学习本教程,因此在我的gem文件中,我有:
source 'https://rubygems.org'
gem 'rails', '3.2.3'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
group :development do
gem 'sqlite3', '1.3.5'
end
# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'sass-rails', '~> 3.2.4'
gem 'coffee-rails', '~> 3.2.2'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer', :platform => :ruby
gem 'uglifier', '>= 1.2.3'
end
gem 'jquery-rails', '2.0.0'
# 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 'ruby-debug19', :require => 'ruby-debug'
可以看到,我在Gemfile
中有gem'jqueryrails',2.0.0'
行。但是,当我运行bundle update
或bundle install
时,会出现以下错误:
bbundle install could not find gem ' jquery-rails (= 2.0.0) x96-mingw32' in any of the gem sources listed in your gemfile.
gem jquery rails版本“2.0.0”已从rubygems中删除
取代
gem "jquery-rails", "~> 2.0.1"
要快乐