首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >运行Autotest时,在任何源代码中都找不到ZenTest-4.7.0

运行Autotest时,在任何源代码中都找不到ZenTest-4.7.0
EN

Stack Overflow用户
提问于 2013-01-10 06:56:53
回答 1查看 304关注 0票数 0

当运行autotest时,我得到错误Could not find ZenTest-4.7.0 in any of the sources。在查看this article之后,我删除了gemfile.lock,运行了'bundle install',然后尝试重新运行autotest。现在我得到了错误Could not find rake-10.0.3 in any of the sources。仅供参考,我正在使用RBENV,并且运行我的应用程序(rails c,rails s,rake,...)没有其他问题。这是我的gem文件(顺便说一句,两个“缺失”的文件都出现在gemfile.lock中):

代码语言:javascript
复制
source 'http://rubygems.org'

gem 'rails', '3.1.3'

gem 'rake'

gem 'pg', '0.13.2'

# Sidekiq handles background jobs, using threading
gem 'sidekiq', '>= 2.6.1'
# Need the following gems for sidekiq/web
gem 'slim'
# if you require 'sinatra' you get the DSL extended to Object
gem 'sinatra', :require => nil

gem 'heroku-api'    # Need the API for scaling sidekiq

gem 'json'

gem 'premailer'   

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

gem 'jquery-rails'

# To use ActiveModel has_secure_password
gem 'bcrypt-ruby', '~> 3.0.0'

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

# Deploy with Capistrano
# gem 'capistrano'

# Bundle the extra gems:
gem 'mechanize'
gem 'nokogiri'
gem 'spreadsheet'
gem 'xml-simple'
gem 'faker', '~> 0.3.1'

# Bundle gems for the local environment. Make sure to
# put test-only gems in this group so their generators
# and rake tasks are available in development mode:
group :development do
  gem 'rspec-rails'
    gem 'ruby-debug19'
end

group :test do
    gem 'rspec-rails'
    gem 'ZenTest'
  gem 'shoulda-matchers'
  gem 'webrat', '0.7.1'
    gem 'factory_girl_rails'
    gem 'ruby-debug19'
end

gem 'geoip'
gem 'thin'

gem 'htmlentities'
EN

回答 1

Stack Overflow用户

发布于 2013-02-07 01:31:48

我不是百分之百确定,但我想你就是这么想的:

代码语言:javascript
复制
gem install ZenTest

而且很可能

代码语言:javascript
复制
gem install autotest-rails

从您的应用程序目录中。这些人不是由你的gemfile和bundler管理的

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/14247993

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档