无法在Gemfile中列出的任何gem源中找到gem'jquery-rails(> = 0,runtime)'。试图启动rails服务器

时间:2011-09-02 15:04:30

标签: ruby-on-rails ruby ubuntu-11.04

来源:http://rubygems.org

gem 'rails', '3.1.0'

# Bundle edge Rails instead:
# gem 'rails',     :git => 'git://github.com/rails/rails.git'

gem 'sqlite3'

gem 'json'

# Gems used only for assets and not required
# in production environments by default.
group :assets do
  gem 'sass-rails', "  ~> 3.1.0"
  gem 'coffee-rails', "~> 3.1.0"
  gem 'uglifier'
end

gem 'jquery-rails'

# Use unicorn as the web server
# gem 'unicorn'

# Deploy with Capistrano
# gem 'capistrano'

# To use debugger
# gem 'ruby-debug'

有没有人有任何想法?是的,我尝试了bundle install

1 个答案:

答案 0 :(得分:0)

您尚未声明任何来源。添加

source "http://rubygems.org"

到文件的顶部(或者,如果问题顶部的那一行实际上在文件中,请将其修改为完全相同)。