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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T17:42:29+00:00 2026-06-07T17:42:29+00:00

I followed the instructions specified in the GUIDE to use mechanize, but when I

  • 0

I followed the instructions specified in the GUIDE to use mechanize, but when I try to get an HTTPS page, I get a segfault.

require 'rubygems'
require 'mechanize'

agent = Mechanize.new

ruby-1.9.3-p0 :005 > agent.get("https://google.com")
/Users/wlue/.rvm/gems/ruby-1.9.3-p0/gems/net-http-persistent-2.3.3/lib/net/http/persistent/ssl_reuse.rb:70: [BUG] Segmentation fault

I’m wondering if I have rvm incorrectly configured somehow, but I don’t know how to test that. I also have this in my top level .rvmrc, if that helps

export rvm_path="/Users/wlue/.rvm"

I don’t think this is a ruby bug, because no one else has had problems with calling get on an https page, but I’m at a loss as to how to debug this.

edit: Turns out it’s actually caused by an interaction with Rails. When I go directly to IRB it works fine, but rails console doesn’t.

  • 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-07T17:42:31+00:00Added an answer on June 7, 2026 at 5:42 pm

    I was having this problem, but it seems to work now in ruby 1.9.3p194

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

Sidebar

Related Questions

Followed instructions on Railscast but can't get server to start. It states the following
i am trying to use urlrewriter.net and i followed instructions here but when i
I have followed all the instructions to get the back button to appear but
I downloaded the codeigniter extension of HybridAuth here: https://github.com/andacata/HybridIgniter I followed instructions on its
I followed the instructions on source.android.com to build the Android framework, but when I
I followed the instructions on FreeBSD Handbook , but it doesn't work. $ pkg_info
I followed the instructions in this post and this fiddle but I am confused
I followed these instructions while trying to get remote debugging working with Delphi 2007.
I followed the instructions found here to get my rails app to communicate with
I followed the instructions in this site but there's no such code inside the

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.