[Bug 561432] Re: Improper undefined method error
Luke Faraone
luke at faraone.cc
Sat Apr 17 17:52:53 BST 2010
** Also affects: ruby
Importance: Undecided
Status: New
** Changed in: ruby
Status: New => Fix Released
** Changed in: ruby1.8 (Ubuntu)
Importance: Undecided => Low
--
Improper undefined method error
https://bugs.launchpad.net/bugs/561432
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.
Status in Ruby - Object Oriented Scripting Language: Fix Released
Status in “ruby1.8” package in Ubuntu: Confirmed
Bug description:
Binary package hint: ruby1.8
Package is libruby1.8
libruby1.8:
Installed: 1.8.7.249-2
Candidate: 1.8.7.249-2
Version table:
*** 1.8.7.249-2 0
500 http://ie.archive.ubuntu.com/ubuntu/ lucid/main Packages
100 /var/lib/dpkg/status
Running :
lil_cain at carbon:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu lucid (development branch)"
---
Issue is the same as http://redmine.ruby-lang.org/issues/show/2708
I'm getting a NoMethodError exception, instead of the Errno::ECONNREFUSED exception I should be getting with the following code :
require 'net/http'
n = Net::HTTP.new('127.0.0.1', 1234) # or any other unused port
n.request_head('/')
The linked page includes a patch to fix this issue.
More information about the Ubuntu-sponsors
mailing list