读书人

Could not find gem #039;jquery-rails (gt;

发布时间: 2012-09-06 10:37:01 作者: rapoo

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即可

?

读书人网 >网络基础

热点推荐