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 6769169
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:09:40+00:00 2026-05-26T15:09:40+00:00

I am running Rails 3.1.1 and getting this error when running this command. Obviously

  • 0

I am running Rails 3.1.1 and getting this error when running this command. Obviously new to Rails, any help appreciated:

rake aborted!
undefined method `prerequisites’ for nil:NilClass

/Users/220040168/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/gems/rspec-rails-2.6.0/lib/rspec/rails/tasks/rspec.rake:3:in `<top (required)>'
/Users/220040168/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/gems/rspec-rails-2.6.0/lib/rspec-rails.rb:10:in `load'
/Users/220040168/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/gems/rspec-rails-2.6.0/lib/rspec-rails.rb:10:in `block in <class:Railtie>'
/Users/220040168/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/gems/railties-3.1.1/lib/rails/railtie.rb:183:in `call'
/Users/220040168/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/gems/railties-3.1.1/lib/rails/railtie.rb:183:in `block in load_tasks'
/Users/220040168/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/gems/railties-3.1.1/lib/rails/railtie.rb:183:in `each'
/Users/220040168/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/gems/railties-3.1.1/lib/rails/railtie.rb:183:in `load_tasks'
/Users/220040168/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/gems/railties-3.1.1/lib/rails/engine.rb:396:in `block in load_tasks'
/Users/220040168/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/gems/railties-3.1.1/lib/rails/application/railties.rb:8:in `each'
/Users/220040168/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/gems/railties-3.1.1/lib/rails/application/railties.rb:8:in `all'
/Users/220040168/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/gems/railties-3.1.1/lib/rails/engine.rb:396:in `load_tasks'
/Users/220040168/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/gems/railties-3.1.1/lib/rails/application.rb:103:in `load_tasks'
/Users/220040168/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/gems/railties-3.1.1/lib/rails/railtie/configurable.rb:30:in `method_missing'
/Users/220040168/rails_projects/sample_app/Rakefile:7:in `<top (required)>'
/Users/220040168/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:in `load'
/Users/220040168/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:in `load_rakefile'
/Users/220040168/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/gems/rake-0.9.2.2/lib/rake/application.rb:501:in `raw_load_rakefile'
/Users/220040168/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/gems/rake-0.9.2.2/lib/rake/application.rb:82:in `block in load_rakefile'
/Users/220040168/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/Users/220040168/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/gems/rake-0.9.2.2/lib/rake/application.rb:81:in `load_rakefile'
/Users/220040168/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/gems/rake-0.9.2.2/lib/rake/application.rb:65:in `block in run'
/Users/220040168/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/Users/220040168/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
/Users/220040168/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/gems/rake-0.9.2.2/bin/rake:33:in `<top (required)>'
/Users/220040168/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/bin/rake:19:in `load'
/Users/220040168/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/bin/rake:19:in `<main>'

Not the first time I have run this command, but first time I am getting this error.

GEMFILE

source 'http://rubygems.org'

gem 'rails', '3.1.1'

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

gem 'sqlite3'

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

group :test do
    gem 'rspec', '2.6.0'
    gem 'webrat', '0.7.1'
    gem 'autotest', '4.3.2'
    gem 'autotest-rails-pure', '4.1.0'
    gem 'autotest-fsevent', '0.2.2'
    gem 'autotest-growl', '0.2.4'
end


# 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'

# To use debugger
# gem 'ruby-debug19', :require => 'ruby-debug'
  • 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-26T15:09:40+00:00Added an answer on May 26, 2026 at 3:09 pm

    Looks related to this issue https://github.com/rails/rails/issues/1197
    Try to upgrade to a newer rspec-rails version than 2.6.0

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

Sidebar

Related Questions

So I am getting this error for one of my routes. I'am running Rails
I am getting this error when I am running rake db:migrate Missing these required
I am getting this error in my terminal when I execute the command above,
I'm getting this error when running the development environment through RubyMine 3.1. The mysql
I am getting this error message when I move my Ruby on Rails server
I'm very new to Ruby on Rails, and have been getting the following error
I am getting this error when running some unit tests (using the Test::Unit module
I'm running into a problem, where I keep getting this error after entering my
I keep getting this error every time I try running my test just by
I'm a newbie Rails developer who is getting the following error when trying to

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.