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

  • Home
  • SEARCH
  • 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 8309605
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T19:10:26+00:00 2026-06-08T19:10:26+00:00

Lately I get a very strange error at the following line of code: IO.binwrite(attachmentUploadFile,

  • 0

Lately I get a very strange error at the following line of code:

IO.binwrite(attachmentUploadFile, attachmentFileContent)

This is the full error message:

import.rb:326:in `block (3 levels) in <main>': undefined method `binwrite' for IO:Class (NoMethodError)
from /Users/juuro/.rvm/gems/ruby-1.9.2-p290/gems/zippy-0.2.1/lib/zippy.rb:144:in `open'
from import.rb:321:in `block (2 levels) in <main>'
from import.rb:320:in `each'
from import.rb:320:in `block in <main>'
from import.rb:167:in `each'
from import.rb:167:in `<main>'

It worked perfectly before. I haven’t changed anything in my configuration. I know there IS a method ‘binwrite’ for IO:Class.

Any ideas?

  • 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-08T19:10:28+00:00Added an answer on June 8, 2026 at 7:10 pm

    I suspect your Ruby interpreter in your environment has is not the version which you expect.

    You’ve linked to 1.9.3 documentation that supports the binwrite() method, but if I look at the path in your error message, I see a 1.9.2 version, and it doesn’t look like 1.9.2 supports that method from what I can see. Maybe ask your Ruby interpreter what version it is and upgrade if necessary?

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

Sidebar

Related Questions

I've been having this strange problem with apply lately. Consider the following example: set.seed(42)
We get this error in Visual Studio 2005 and TFS very often. Can anyone
Lately with Visual Studio 2010 Ultimate, C#, in Win7 64bit, I get the error
I've been learning about gems lately, and one error I get is: WARNING: Installing
All, Wanted to get a few thoughts on this. Lately I am becoming more
I have been very intriuged by design patterns lately, and specifically following correct design
Map Reduce is a pattern that seems to get a lot of traction lately
This is a general kind of question. Very often, I need to write JavaScript
Lately i have got a task to import a 3D model which is created
I've been debugging some app lately with valgrind, and I'm getting very weird reports

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.