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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T14:31:42+00:00 2026-05-21T14:31:42+00:00

I am trying to run some basic tests in my rails app following the

  • 0

I am trying to run some basic tests in my rails app following the edgeguides.

My rails app is working fine, it’s only when trying to run the tests.

When running a test, I get:

.../config/boot.rb:1:in `require': no such file to load -- rubygems (LoadError)
    from /Users/olivier_ntk/Sites/tennis/config/boot.rb:1
    from /Users/olivier_ntk/Sites/tennis/config/application.rb:1:in `require'
    from /Users/olivier_ntk/Sites/tennis/config/application.rb:1
    from /Users/olivier_ntk/Sites/tennis/config/environment.rb:2:in `require'
    from /Users/olivier_ntk/Sites/tennis/config/environment.rb:2
    from ./test/test_helper.rb:2:in `require'
    from ./test/test_helper.rb:2
    from test/unit/club_test.rb:1:in `require'
    from test/unit/club_test.rb:1

$ ruby -v
ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-darwin10]

$ rails -v
Rails 3.0.6

$ gem -v
1.3.7

However, when I run which -a ruby, I get:

/opt/local/bin/ruby
/opt/local/bin/ruby
/opt/local/bin/ruby

I am not sure why I get 3 lines and if that is affecting calling ruby …

  • 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-21T14:31:42+00:00Added an answer on May 21, 2026 at 2:31 pm

    What command are you using to start the tests?
    Try using “rake test” from your app’s main directory (in your case that seems to be “/Users/olivier_ntk/Sites/tennis”).

    If you’re already doing that, run:

    head -1 `which rake`
    

    and reply with what ruby path you see.

    • 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 PartCover to test the coverage of some tests with
I'm trying to run some queries to get rid of XSS in our database
I am trying to run some unit tests in a C# Windows Forms application
I'm trying to run some commands in paralel, in background, using bash. Here's what
I'm trying to run some python code under Apache 2.2 / mod_python 3.2.8. Eventually
Where would set_include_path(../../); point to? I am trying to run some PHP code on
I'm trying to build my first generic list and have run into some problems.
I'm trying to create a Textmate snippet, but have run into some difficulties. Basically,
I'm trying to write a shell script that, when run, will set some environment
I'm new to Selenium RC, having previously used Selenium IDE and only run tests

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.