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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T17:20:19+00:00 2026-05-23T17:20:19+00:00

C:\Users\wipe\Quora-Personal-Analytics>ruby hello.rb hello C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original _require’: no such file to load — bundler/setup (LoadError)

  • 0
C:\Users\wipe\Quora-Personal-Analytics>ruby hello.rb
hello
C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original
_require': no such file to load -- bundler/setup (LoadError)
        from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
`require'
        from hello.rb:4

C:\Users\wipe\Quora-Personal-Analytics>ruby require 'date'
ruby: No such file or directory -- require (LoadError)

C:\Users\wipe\Quora-Personal-Analytics>ruby require 'rubygems'
ruby: No such file or directory -- require (LoadError)

C:\Users\wipe\Quora-Personal-Analytics>

===

I’m using Ruby 1.8.7. Also, this worked before (on the same computer).

The require statements all do work when I try things from interactive ruby.So they all are installed. But I need the command line.

==

Edit: Here are the contents of Hello.rb

puts "hello"

require 'rubygems'
require 'bundler/setup'

require 'date'
require 'watir'
require 'optparse'

And some new error:

C:\Users\wipe\Quora-Personal-Analytics>ruby require 'rubygems'
ruby: No such file or directory -- require (LoadError)

C:\Users\wipe\Quora-Personal-Analytics>ruby hello.rb
hello
←[31mCould not find OptionParser-0.5.1 in any of the sources←[0m
←[33mRun `bundle install` to install missing gems.←[0m

C:\Users\wipe\Quora-Personal-Analytics>ruby bundle install
ruby: No such file or directory -- bundle (LoadError)

C:\Users\wipe\Quora-Personal-Analytics>ruby -e "require 'date'"

C:\Users\wipe\Quora-Personal-Analytics>ruby -e "require 'rubygems'"

C:\Users\wipe\Quora-Personal-Analytics>ruby QuoraStats.rb "firstname-lastname"
C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original
_require': no such file to load -- httparty (LoadError)
        from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
`require'
        from ./lib/Content.rb:1
        from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
`gem_original_require'
        from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
`require'
        from QuoraStats.rb:10

Somehow, ruby bundle install doesn’t work very well:

C:\Users\wipe\Quora-Personal-Analytics>ruby bundle install
ruby: No such file or directory -- bundle (LoadError)
  • 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-23T17:20:20+00:00Added an answer on May 23, 2026 at 5:20 pm

    It looks like you don’t have bundler installed. Try running gem install bundler, and then rerun ruby hello.rb.

    Also, the two last commands you’re typing won’t work. ruby require 'date' is going to try to run the file “require” and pass it the argument 'date', not execute require 'date'. To just execute one line of ruby, use the -e flag, like this:

    ruby -e "require 'date'"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like the users to be able to wipe out their isolated storage
Users are pasting text from Lotus Notes into my VBA application. This is then
Users on my site can add nodes of a custom type (let's call it
Users on my site can post news items. But right now, it's all honor
Users of our website often type in a lot of garbage for the name
Users drag rows up and down in my DataGridView. I have the dragging logic
Users need to be able to add a specific type of column to an
users table +-----+-----------+ | id | username | +-----+-----------+ | 1 | tom |
Users enter text through a text area element, much like we enter questions on
Users of the website need to able to store images in their area ,

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.