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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:11:45+00:00 2026-06-13T23:11:45+00:00

I just installed Ruby 1.9.3 on Windows 7 and I also installed rubygems. I’m

  • 0

I just installed Ruby 1.9.3 on Windows 7 and I also installed rubygems. I’m trying to work with rspec so I ran:
gem install rspec

It seemed to work well and everything installed. SO I went on to try the example on this page. But anytime I run the rspec command I get this error message:

“Could not locate Gemfile”.

According to the example, I should get: “./bowling_spec.rb:4:
uninitialized constant Bowling”

I’ve googled it and it was suggested I try bundle exec rspec but it still yielded the same results.
I have also tried the suggestion on this page but it yields the same results. What am I doing wrong? Thanks

  • 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-06-13T23:11:45+00:00Added an answer on June 13, 2026 at 11:11 pm

    Create the Gemfile with this content. Gemfile can have no extension or .gem extension

    source 'https://rubygems.org'
    gem 'rspec'
    

    so you have

    app/
      Gemfile or Gemfile.gem
      spec/
        bowling_spec.rb
    

    Also you might need to execute this commands after

    gem install bundler
    

    and then, in the app directory

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

Sidebar

Related Questions

I just installed ruby on rails on windows. install mysql and created a new
I'm trying to install the mysql gem under Windows 7 x64. Ruby -v is
I just migrated from Windows to Ubuntu, and I am trying to install Ruby
I just installed pik (ruby version control) on my windows machine at work (
I just installed the heroku ruby gem on Windows 7 and received the following
I'm a ruby/haml/sass-beginner. I just installed ruby and rails for windows, haml, and sass
I just installed ruby 1.9.2 on windows machine and Backspace or any other arrow
I just installed ruby 1.9.3 with pik on Windows 7. When I run ruby
I'm using rails 2.3.9, ruby 1.9.3, rubygems 1.8.24 and windows 7 ultimate I installed
i just install ruby on windows system C:\Users\PC>ruby --version ruby 1.9.2p290 (2011-07-09) [i386-mingw32] but

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.