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

So im trying to run some basic terminal commands in my mac app and
I'm a student, and I'm trying to write and run some test code for
I'm working on getting Expresso set up and some tests running. I followed along
I'm trying to run some basic javascript code with JSF 2. I'm using the
I'm having a doozie of a time trying to get a basic http test
I have a form that I'm trying to run some basic validation on using
I'm trying to learn some basic java programming for games. I'm following this tutorial
I'm trying to run some statistics over the Stack Overflow data dump, and for
Ultimately I am trying to run some code which depends on the value (or
I am trying to run some Scala code on my OSX machine and keep

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.