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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T21:01:19+00:00 2026-05-17T21:01:19+00:00

I have a rails 2.3.8 app with rspec tests (not written by me, just

  • 0

I have a rails 2.3.8 app with rspec tests (not written by me, just trying to get them running). When I run “rake spec” I get this error:

gem_original_require': no such file to load -- spec/rails (MissingSourceFile)

I have the following rspec-related gems installed:

rails (2.3.8, 2.3.5)
rspec (2.0.1, 1.3.0, 1.2.9, 1.2.4)
rspec-core (2.0.1)
rspec-expectations (2.0.1)
rspec-mocks (2.0.1)
rspec-rails (2.0.1)

Any ideas on how to troubleshoot this? Interestingly, if I drop my rails version to 2.3.5 (in environment.rb) I get a completely different error:

Missing the Rails 2.3.5 gem. Please `gem install -v=2.3.5 rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed.

Not sure if the two are related. I have both rails versions installed because this machine runs a few different rails apps (for continuous integration). I suspect I’m just in gem version hell, but I’m unsure how to get out of it.

Any advice appreciated,
Tom

  • 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-17T21:01:20+00:00Added an answer on May 17, 2026 at 9:01 pm

    You have rspec 2 install or it’s not compatible to Rails 2.3.x. So uninstall it and use only Rspec 1.3 You can use Bundler if you want sandbox your gem by project or rvm with a gemset.

    gem uninstall rspec -v=2.0.1
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to run rspec in my rails app using the spec command-
I have a Rails app running Mongoid on Heroku and I need to set
I have a Rails app and trying to make a remote form, so far
I'm running Rails 3.1.1, RSpec 2.7.0 and HAML 3.1.3. Say I have the following
When running following command: bundle exec rspec spec/requests/static_pages_spec.rb i get following errors FF....... Failures:
I'm trying to use capybara with rspec to test my rails app. I've simplified
I have a Rails app and I am trying to test it. I use
I'm new to rails and trying to write my first app. I have a
I have a rails app in which I am trying to do some full
I have a rails 3 app, and am trying to do testing. I do

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.