Could not find gem 'jquery-rails (>= 0) ruby' in any of the gem sources listed i

今晚创建项目时遇到这个问题:Could not find gem 'jquery-rails (>= 0) ruby' in any of the gem sources listed in your Gemfile,查了下,原因是还是因为ruby官网被墙了,只要按照http://ruby.taobao.org/所描述,修改


如果你是用 Bundle (Rails 项目)
修改你的 Gemfile 将 http://rubygems.org 改为 http://ruby.taobao.org/

source 'http://ruby.taobao.org/'

gem 'rails', '3.1.1'

 

然后进入项目目录,运行命令:$bundle install即可

 

你可能感兴趣的:(ruby,on,rails)