Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7017613
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T22:56:11+00:00 2026-05-27T22:56:11+00:00

$bundle exec rspec spec/ Could not find rake-0.9.2.2 in any of the sources Run

  • 0
$bundle exec rspec spec/
Could not find rake-0.9.2.2 in any of the sources
Run `bundle install` to install missing gems.

I’m totally new to Rails and trying to read the tutorial: http://ruby.railstutorial.org/chapters/static-pages#sec:TDD

However, when I try to run rspect, I get that error.

Any ideas on what I’m doing wrong?

EDIT My Gemfile

source 'http://rubygems.org'

gem 'rails', '3.1.3'
gem 'sqlite3', '1.3.5'
gem 'rake', '0.9.2.2'

group :development do
  gem 'rspec-rails', '2.8.1'
end

group :test do
  gem 'rspec-rails', '2.8.1'
  gem 'webrat', '0.7.3'
end

gem 'jquery-rails'
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T22:56:12+00:00Added an answer on May 27, 2026 at 10:56 pm

    You might want to add

    gem "rake", '0.9.2.2'
    

    to your gemfile (under gem ‘rails’ or what so ever..).

    Run bundle install afterwards

    Then run bundle exec rspec spec at last.

    Will this work for you? If not, any error messages?
    If there are error messages please type rake -V and bundle exec rake -V in your console and share us the versions!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I run: $ bundle exec rspec spec/ And receive this message: C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rspec-core-2.0.1/lib/rspec/core.rb:78:in `require': no
I keep getting an issue with rspec when I bundle exec rake spec /Users/sean/.rvm/gems/ruby-1.9.2-p0@hub/gems/rspec-core-2.4.0/lib/rspec/core/option_parser.rb:18:in
I try to run spec tests and I get bundle exec rake spec Could
Ruby 1.9.2 Rails 3.1 Here is the problem bundle exec rspec spec/ does not
When I run: bundle exec rspec spec/requests/static_pages_spec.rb : I get: c:\Sites\sample_app>bundle exec rspec spec/requests/static_pages_spec.rb
When I run bundle exec rake assets:precompile --trace , my precompilation fails but I
Below are 3 random runs using time rspec spec vs time bundle exec spec
Running this (bundle exec rspec spec/requests/static_pages_spec.rb) worked fine yesterday, but today when I go
I'm trying to run my rspec's with JRuby: rake spec which results in: jruby
I did these operation: $ bundle exec rspec spec/ $ git add . $

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.