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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T23:53:05+00:00 2026-05-19T23:53:05+00:00

After updating to rubygems 1.5.0, I get this error message when trying to run

  • 0

After updating to rubygems 1.5.0, I get this error message when trying to run bundle install.

I am running on a cygwin environment with ruby 1.8.7 and bundler v 1.0.10

bundler throws user_interaction.rb:534:in ‘initialize’: No such file or directory – nul (Errno::ENOENT)

Can’t really figure out what is causing this.

  • 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-19T23:53:05+00:00Added an answer on May 19, 2026 at 11:53 pm

    I am also having the same problem, I’m running rubygems 1.5.0, ruby 1.9.2, and bundler 1.0.10, on cygwin, and any time I try to run bundle I get the same error.

    Actually, I just figured it out. I’m assuming you are running Cygwin too, as here’s the code that’s causing the problem:

    (in …/user_interaction.rb:534)

    if Gem.win_platform?
      reader = File.open('nul', 'r')
      writer = File.open('nul', 'w')
    else
      reader = File.open('/dev/null', 'r')
      writer = File.open('/dev/null', 'w')
    end
    

    See, it thinks you’re using windows, when actually you are using linux within Cygwin. So just comment out everything EXCEPT the two lines reader = File.open('/dev/null', 'r') and writer = File.open('/dev/null/, /w/), and you should be good.

    Obviously this is a rough fix, but does the trick as long as you aren’t running the same installation of rubygems on windows natively.

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

Sidebar

Related Questions

ORIGINAL MESSAGE (now outdated): After running python setup.py install I get the following: Warning:
After installing rvm, updating .gmrc file, updating rubygems and running gem install rails -v
After updating my ADT, I get the following error when trying to rename my
After updating to Xcode 4.5 beta I have this error. I don't get the
I get a strange PHP error after updating my php version to 5.4.0-3. I
after updating my grails app's security plugins, i get the following error when deploying
This error happened after updating to latest may 2009 CTP. Sometimes I do not
after updating my ruby to 1.9.3 and rails to 3.2.3 I have been trying
After updating the SDK, Eclipse shows this error: ADB server didn't ACK, failed to
When trying to launch the rails console after updating my ruby setup using 'sudo

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.