# Top

**URL:** https://www.ruby-forum.com/top.md?page=620

[Latest](https://www.ruby-forum.com/latest.md) · [Categories](https://www.ruby-forum.com/categories.md) · [Tags](https://www.ruby-forum.com/tags.md)

**Page:** 621

---

## [Reading empty File](https://www.ruby-forum.com/t/reading-empty-file/92594)

<div class="topic-metadata">

**Author:** [@bino](https://www.ruby-forum.com/u/bino)\
**Replies:** 6\
**Last updated:** [April 23, 2007, 2:51am UTC](https://www.ruby-forum.com/t/reading-empty-file/92594 "2007-04-23T02:51:14Z")

</div>

Hi All I have an empty file : /mnt/ramdisk0/js01 I open it with --\> f\_send01 = File.open("/mnt/ramdisk0/js01",“w+”) and next line is --\> l\_send01 = f\_send01.readline and rubby give error msg EOFError. Question : How…

---

## [Drawing large amounts of text](https://www.ruby-forum.com/t/drawing-large-amounts-of-text/80985)

<div class="topic-metadata">

**Author:** [@Conan\_K\_Woods](https://www.ruby-forum.com/u/Conan_K_Woods)\
**Replies:** 6\
**Last updated:** [January 3, 2007, 8:58pm UTC](https://www.ruby-forum.com/t/drawing-large-amounts-of-text/80985 "2007-01-03T20:58:17Z")

</div>

Hi, I’ve recently run into a roadblock on a project I was working on and was wondering if anyone here has some good advice. I’ve got a big pixmap that I need to draw many characters to(lets say 1000 characters). Eac…

---

## [Still confused with try\_files](https://www.ruby-forum.com/t/still-confused-with-try-files/163074)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 8\
**Last updated:** [March 19, 2009, 5:05pm UTC](https://www.ruby-forum.com/t/still-confused-with-try-files/163074 "2009-03-19T17:05:52Z")

</div>

for a site with multiple “if file does not exist, use this master controller file” like wordpress, drupal, etc, does a config like this make sense? because right now, it doesn’t. the /blog one does, but the /second o…

---

## [Why the object doesn't respond to its method?](https://www.ruby-forum.com/t/why-the-object-doesnt-respond-to-its-method/150757)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 8\
**Last updated:** [October 14, 2008, 4:59pm UTC](https://www.ruby-forum.com/t/why-the-object-doesnt-respond-to-its-method/150757 "2008-10-14T16:59:51Z")

</div>

Hi all, I want to find out if an object responses to a method. while I can tell that the excel object(in this script) responses to method ‘Visible or visible’, my codes DO NOT come true. Any idea? Thank very much, L…

---

## [Invalid multibyte char!](https://www.ruby-forum.com/t/invalid-multibyte-char/239218)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [February 18, 2014, 10:37am UTC](https://www.ruby-forum.com/t/invalid-multibyte-char/239218 "2014-02-18T10:37:39Z")

</div>

hey i am teaching myself to code right now and encountered a problem. this is my code and for some reasin i get a error message: def deutscheZahl zahl if zahl \< 0 return 'minus ’ +(deutscheZahl (-1) +zahl) end if …

---

## [Porque rails llama a un metodo cuando llamo a una propiedad?](https://www.ruby-forum.com/t/porque-rails-llama-a-un-metodo-cuando-llamo-a-una-propiedad/190341)

<div class="topic-metadata">

**Author:** [@wisemaster](https://www.ruby-forum.com/u/wisemaster)\
**Replies:** 3\
**Last updated:** [June 25, 2010, 8:08am UTC](https://www.ruby-forum.com/t/porque-rails-llama-a-un-metodo-cuando-llamo-a-una-propiedad/190341 "2010-06-25T08:08:39Z")

</div>

Que tal! Estoy empezando a desarrollar con Rails…por lo que me compre un libro llamado Simply Rails. Siguiendo los pasos del libro me encontre con un error que no me cabe porque puede estar pasando: undefined method …

---

## [Closing SSH connections](https://www.ruby-forum.com/t/closing-ssh-connections/164328)

<div class="topic-metadata">

**Author:** [@skiz](https://www.ruby-forum.com/u/skiz)\
**Replies:** 3\
**Last updated:** [April 1, 2009, 5:31am UTC](https://www.ruby-forum.com/t/closing-ssh-connections/164328 "2009-04-01T05:31:44Z")

</div>

Hi, I am using net-ssh 2.0.4 (newer versions are incompatible with JRuby) to SSH into a server. The problem I am experiencing is that the connection only closes when the JVM is shutdown. So even though I close the…

---

## [I'm interested in writing test for the windows copy of assets bug](https://www.ruby-forum.com/t/im-interested-in-writing-test-for-the-windows-copy-of-assets-bug/143528)

<div class="topic-metadata">

**Author:** [@Miles\_G](https://www.ruby-forum.com/u/Miles_G)\
**Replies:** 3\
**Last updated:** [December 25, 2008, 8:54pm UTC](https://www.ruby-forum.com/t/im-interested-in-writing-test-for-the-windows-copy-of-assets-bug/143528 "2008-12-25T20:54:31Z")

</div>

Hi, I was interested in writing a test for this bug (the fix is trivial) but didn’t want to bother if it’s already been done by somebody or if somebody is in the middle of doing it.

---

## [Updating the mysql record without id feild](https://www.ruby-forum.com/t/updating-the-mysql-record-without-id-feild/153617)

<div class="topic-metadata">

**Author:** [@hema\_mca](https://www.ruby-forum.com/u/hema_mca)\
**Replies:** 3\
**Last updated:** [November 19, 2008, 1:00pm UTC](https://www.ruby-forum.com/t/updating-the-mysql-record-without-id-feild/153617 "2008-11-19T13:00:41Z")

</div>

Hi All, I need to update the records in the mysql with the data fields from the xml where the id field not presented in the database, instead we took the number as primary key but not auto\_incremented. I treid with …

---

## [How to expect no layout](https://www.ruby-forum.com/t/how-to-expect-no-layout/153007)

<div class="topic-metadata">

**Author:** [@nickh](https://www.ruby-forum.com/u/nickh)\
**Replies:** 3\
**Last updated:** [November 11, 2008, 3:22pm UTC](https://www.ruby-forum.com/t/how-to-expect-no-layout/153007 "2008-11-11T15:22:47Z")

</div>

Hey guys. I’ve told one of my controllers to not render a layout for a certain action: layout false, :only =\> :map\_info\_window Now I’m trying to spec that, but this: it ‘should not render a layout’ do controller.exp…

---

## [Translating Java encoding/hashing code to Ruby in a rails ap](https://www.ruby-forum.com/t/translating-java-encoding-hashing-code-to-ruby-in-a-rails-ap/135379)

<div class="topic-metadata">

**Author:** [@jasonallen](https://www.ruby-forum.com/u/jasonallen)\
**Replies:** 3\
**Last updated:** [April 21, 2008, 7:03pm UTC](https://www.ruby-forum.com/t/translating-java-encoding-hashing-code-to-ruby-in-a-rails-ap/135379 "2008-04-21T19:03:12Z")

</div>

Good Day to all! I am trying desperately to solve the following problem and need the help of a Rails/Ruby guru. I am receiving data via a POST request from a remote web application. The information is composed of 5 fi…

---

## [Need help in parsing REXML::Document](https://www.ruby-forum.com/t/need-help-in-parsing-rexml-document/113673)

<div class="topic-metadata">

**Author:** [@Nikolay\_P](https://www.ruby-forum.com/u/Nikolay_P)\
**Replies:** 3\
**Last updated:** [September 4, 2007, 7:34pm UTC](https://www.ruby-forum.com/t/need-help-in-parsing-rexml-document/113673 "2007-09-04T19:34:13Z")

</div>

Hello all. I have this XML output: \<operation id="other id" sid="other sid" ... Could someone point me to the way on how i can get construction like this one from the XML abov…

---

## [Net::HTTP using SSL certificate](https://www.ruby-forum.com/t/net-http-using-ssl-certificate/127660)

<div class="topic-metadata">

**Author:** [@julianparry](https://www.ruby-forum.com/u/julianparry)\
**Replies:** 1\
**Last updated:** [January 31, 2008, 4:25pm UTC](https://www.ruby-forum.com/t/net-http-using-ssl-certificate/127660 "2008-01-31T16:25:41Z")

</div>

Hi, I’m attempting to login to a URL over SSL using Net:HTTP. CERT\_FILE = ‘cert.pem’ http = Net::HTTP.new('dev.company.com, 443) http.use\_ssl = true http.cert = OpenSSL::X509::Certificate.new( File.read(CERT\_FILE) ) …

---

## [Send\_file not working as expected](https://www.ruby-forum.com/t/send-file-not-working-as-expected/71715)

<div class="topic-metadata">

**Author:** [@nick](https://www.ruby-forum.com/u/nick)\
**Replies:** 1\
**Last updated:** [October 11, 2006, 12:27am UTC](https://www.ruby-forum.com/t/send-file-not-working-as-expected/71715 "2006-10-11T00:27:17Z")

</div>

When I try to download a very large file (700MB) using send\_file I get a NoMemoryError (failed to allocate memory) error. It does look like I am really running out of memory, because I am watching the memory grow when…

---

## [Commit to solve bug: String.delete gives a wrong result (http://ironruby.codeplex.com/workitem/5426)](https://www.ruby-forum.com/t/commit-to-solve-bug-string-delete-gives-a-wrong-result-http-ironruby-codeplex-com-workitem-5426/206836)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [May 13, 2011, 9:42pm UTC](https://www.ruby-forum.com/t/commit-to-solve-bug-string-delete-gives-a-wrong-result-http-ironruby-codeplex-com-workitem-5426/206836 "2011-05-13T21:42:27Z")

</div>

Hi, I committed in my fork a very small change to solve the bug which is in http://ironruby.codeplex.com/workitem/5426 The commit is in: The problem was inside the range detector in the delete method. When it finds…

---

## [Vendor/gems content](https://www.ruby-forum.com/t/vendor-gems-content/171200)

<div class="topic-metadata">

**Author:** [@polarapfel](https://www.ruby-forum.com/u/polarapfel)\
**Replies:** 4\
**Last updated:** [July 24, 2009, 1:21pm UTC](https://www.ruby-forum.com/t/vendor-gems-content/171200 "2009-07-24T13:21:36Z")

</div>

Hi everybody, I am running Typo locally for testing and Ruby/Rails learning purposes. I am using Ruby Enterprise with a local mongrel for this. Recently, I bumped the version from Ruby Enterprise from ruby-enterpris…

---

## [Merge multiple csv file into one file](https://www.ruby-forum.com/t/merge-multiple-csv-file-into-one-file/231401)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 8, 2014, 10:26am UTC](https://www.ruby-forum.com/t/merge-multiple-csv-file-into-one-file/231401 "2014-08-08T10:26:33Z")

</div>

Dear all Developers, i want to create an app to merge multiple excel file into one file. i have try but i can not do it, any one could help me. thanks

---

## [ActiveRecord and working with sequences](https://www.ruby-forum.com/t/activerecord-and-working-with-sequences/218159)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [March 23, 2012, 4:00am UTC](https://www.ruby-forum.com/t/activerecord-and-working-with-sequences/218159 "2012-03-23T04:00:23Z")

</div>

Howdy, (sorry if this ends up as a duplicate post, my subscription was messed up) I’m very new with ruby and ActiveRecord. I’ve got a table in postgres that looks something like create table test test\_id not …

---

## [How to down migrate an extension?](https://www.ruby-forum.com/t/how-to-down-migrate-an-extension/200476)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [December 13, 2010, 4:42pm UTC](https://www.ruby-forum.com/t/how-to-down-migrate-an-extension/200476 "2010-12-13T16:42:13Z")

</div>

Hi all, New to Radiant and lovin’ it so far. But I’ve been trying to find out how to down-migrate an extension migration so I can remove the extension. Specifically, I’m trying to migrate a project from sns to sheets…

---

## [Migration to java](https://www.ruby-forum.com/t/migration-to-java/188738)

<div class="topic-metadata">

**Author:** [@sakhi](https://www.ruby-forum.com/u/sakhi)\
**Replies:** 2\
**Last updated:** [May 17, 2010, 4:47pm UTC](https://www.ruby-forum.com/t/migration-to-java/188738 "2010-05-17T16:47:49Z")

</div>

i have some requirement where i m thinking to migrate my ruby on rails application to JAVA. can anyone tell me what are the which i could face if i go for this migration? What are the pros and cons of using jruby inst…

---

## [Month, Day etc. names in other languages other than English](https://www.ruby-forum.com/t/month-day-etc-names-in-other-languages-other-than-english/145919)

<div class="topic-metadata">

**Author:** [@Diego](https://www.ruby-forum.com/u/Diego)\
**Replies:** 2\
**Last updated:** [August 16, 2008, 4:03am UTC](https://www.ruby-forum.com/t/month-day-etc-names-in-other-languages-other-than-english/145919 "2008-08-16T04:03:07Z")

</div>

Hi all, I was wondering if it was possible to internationalize the constant month and day names, used by DateTime class (for example), in to something other than English? I’m using gettext in a Rails application wher…

---

## [Strange error. Index corrupt on production server](https://www.ruby-forum.com/t/strange-error-index-corrupt-on-production-server/77122)

<div class="topic-metadata">

**Author:** [@dawillis](https://www.ruby-forum.com/u/dawillis)\
**Replies:** 2\
**Last updated:** [December 20, 2006, 8:07pm UTC](https://www.ruby-forum.com/t/strange-error-index-corrupt-on-production-server/77122 "2006-12-20T20:07:22Z")

</div>

We’ve been running Ferret for a few months on our site with great result. But, just a monent ago the index suddenly became corrupt. It all started with this error message: :108250 is out of range \[0…108183\] for IndexW…

---

## [Save method behaviour changed?](https://www.ruby-forum.com/t/save-method-behaviour-changed/227150)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 5\
**Last updated:** [March 6, 2013, 3:46pm UTC](https://www.ruby-forum.com/t/save-method-behaviour-changed/227150 "2013-03-06T15:46:26Z")

</div>

I have this code in a working RoR-3.1 app: save Override AR save method to catch DBMS specific errors such as uniqueness constraint violations def save super rescue ActiveRecord::StatementInvalid =\> this\_exception e…

---

## [Mounting a samba share?](https://www.ruby-forum.com/t/mounting-a-samba-share/211675)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [September 12, 2011, 12:28am UTC](https://www.ruby-forum.com/t/mounting-a-samba-share/211675 "2011-09-12T00:28:26Z")

</div>

Hello, I can’t get mounts working with gio. I guess the problem is that I don’t have the main loop and ruby-gio2 implements only asynchronous mount. I don’t have and don’t want gtk but there’s not GLib.main. Also I …

---

## [Bit Manipulation for a Pure Ruby SHA1 implementation](https://www.ruby-forum.com/t/bit-manipulation-for-a-pure-ruby-sha1-implementation/196350)

<div class="topic-metadata">

**Author:** [@leveille](https://www.ruby-forum.com/u/leveille)\
**Replies:** 5\
**Last updated:** [October 14, 2010, 11:03am UTC](https://www.ruby-forum.com/t/bit-manipulation-for-a-pure-ruby-sha1-implementation/196350 "2010-10-14T11:03:21Z")

</div>

I’m trying to write a pure Ruby implementation of SHA1. In order to do so, I need to be able to directly manipulate bits. I know about the bitwise operators in Ruby, but I’m having issues with the way that Ruby wraps …

---

## [Seeds.rb and rake test tasks](https://www.ruby-forum.com/t/seeds-rb-and-rake-test-tasks/176290)

<div class="topic-metadata">

**Author:** [@ate50eggs](https://www.ruby-forum.com/u/ate50eggs)\
**Replies:** 5\
**Last updated:** [September 28, 2009, 8:14pm UTC](https://www.ruby-forum.com/t/seeds-rb-and-rake-test-tasks/176290 "2009-09-28T20:14:40Z")

</div>

We’ve started using seeds.rb to populate some low-level required data into our database, but we’re having some issues with this data getting removed and not re-entered while running the tests. Is seeding part of the t…

---

## [Genetic Programming (#212)](https://www.ruby-forum.com/t/genetic-programming-212/171515)

<div class="topic-metadata">

**Author:** [@danmcb](https://www.ruby-forum.com/u/danmcb)\
**Replies:** 5\
**Last updated:** [July 16, 2009, 4:28am UTC](https://www.ruby-forum.com/t/genetic-programming-212/171515 "2009-07-16T04:28:57Z")

</div>

\-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- The three rules of Ruby Q.: Please do not post any solutions or spoiler discussion for this quiz until 48 hours have elapsed from the time this m…

---

## [Filter Array](https://www.ruby-forum.com/t/filter-array/139362)

<div class="topic-metadata">

**Author:** [@hloooi](https://www.ruby-forum.com/u/hloooi)\
**Replies:** 5\
**Last updated:** [June 4, 2008, 3:59am UTC](https://www.ruby-forum.com/t/filter-array/139362 "2008-06-04T03:59:17Z")

</div>

hihi, can i ask if how can i filter an Array using ruby? i have this xml doc with these datas a b c this is my code invisibility = XPath.first( doc, “//lm:landmark” ) XPath.each( doc, “//lm:name”) { |element| put…

---

## [Tengo problemas con el ruby error.rb](https://www.ruby-forum.com/t/tengo-problemas-con-el-ruby-error-rb/105668)

<div class="topic-metadata">

**Author:** [@daniel](https://www.ruby-forum.com/u/daniel)\
**Replies:** 5\
**Last updated:** [June 3, 2007, 3:43am UTC](https://www.ruby-forum.com/t/tengo-problemas-con-el-ruby-error-rb/105668 "2007-06-03T03:43:57Z")

</div>

Estoy trabajando en centos 5.0, he instalado asterisk y quiero integrar un calendario a mi call center… pero cuando sigo los pasos de este how to http://blog.voz-ip.com/2006/consulta-los-festivos-de-un-calendario-webd…

---

## [USRP Delay Measurements](https://www.ruby-forum.com/t/usrp-delay-measurements/75298)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 5\
**Last updated:** [November 9, 2006, 9:44pm UTC](https://www.ruby-forum.com/t/usrp-delay-measurements/75298 "2006-11-09T21:44:24Z")

</div>

Hi all, I am currently trying to measure delays on the USRP and found some interesting things. I wanted to see if others have similar results: First I measured the round trip time of my IEEE 802.15.4 implementation…

---

## [Rails entra in banca](https://www.ruby-forum.com/t/rails-entra-in-banca/206599)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [May 7, 2011, 3:41pm UTC](https://www.ruby-forum.com/t/rails-entra-in-banca/206599 "2011-05-07T15:41:34Z")

</div>

http://www.rendimax.it http://www.rendimax.it/

---

## [May expect { ... }.to\_not be changed to expect { ... }.not\_to?](https://www.ruby-forum.com/t/may-expect-to-not-be-changed-to-expect-not-to/194941)

<div class="topic-metadata">

**Author:** [@Takumi\_Tsunokake](https://www.ruby-forum.com/u/Takumi_Tsunokake)\
**Replies:** 1\
**Last updated:** [September 14, 2010, 4:14am UTC](https://www.ruby-forum.com/t/may-expect-to-not-be-changed-to-expect-not-to/194941 "2010-09-14T04:14:37Z")

</div>

Hi, I’m Takumi Tsunokake. I think expect { … }.not\_to rails\_error is more grammatical and natural than expect { … }.to\_not rails\_error Are there any backgrounds and reasons of decision for expect { … }.to\_not, not …

---

## [Using .delete\_if and reject on elements in an array](https://www.ruby-forum.com/t/using-delete-if-and-reject-on-elements-in-an-array/177839)

<div class="topic-metadata">

**Author:** [@burrowsm](https://www.ruby-forum.com/u/burrowsm)\
**Replies:** 7\
**Last updated:** [October 31, 2009, 9:05pm UTC](https://www.ruby-forum.com/t/using-delete-if-and-reject-on-elements-in-an-array/177839 "2009-10-31T21:05:47Z")

</div>

Working on code to fill an array with 200 random integer elements. The elements range from 1-100 in value. Next I use the .sort method to see how many values fall between 1-10 to visually check how many random numbers…

---

## [Form\_tag is driving me crazy!](https://www.ruby-forum.com/t/form-tag-is-driving-me-crazy/125663)

<div class="topic-metadata">

**Author:** [@acampos](https://www.ruby-forum.com/u/acampos)\
**Replies:** 7\
**Last updated:** [January 12, 2008, 5:14pm UTC](https://www.ruby-forum.com/t/form-tag-is-driving-me-crazy/125663 "2008-01-12T17:14:29Z")

</div>

I’ve been using Rails for a while and am fairly comfortable with it, but I keep stumbling when using form\_for and form\_tag. I’m using RESTful routes and simply want to create a form using form\_tag that specifies :met…

---

## [Richiesta di aiuto (principiante) - installare RMagick](https://www.ruby-forum.com/t/richiesta-di-aiuto-principiante-installare-rmagick/81259)

<div class="topic-metadata">

**Author:** [@mclow](https://www.ruby-forum.com/u/mclow)\
**Replies:** 7\
**Last updated:** [September 25, 2007, 10:49pm UTC](https://www.ruby-forum.com/t/richiesta-di-aiuto-principiante-installare-rmagick/81259 "2007-09-25T22:49:32Z")

</div>

Salve a tutti sto tentando di installare rmagick tramite gem, seguendo le istruzioni trovate in “Ruby per applicazioni web” di Marco Cerasa, ma non riesco a farlo. Quello che ho fatto Ã©: 1 - ho verificato che Image…

---

## [Sup 0.0.3 Released](https://www.ruby-forum.com/t/sup-0-0-3-released/80994)

<div class="topic-metadata">

**Author:** [@trucker](https://www.ruby-forum.com/u/trucker)\
**Replies:** 7\
**Last updated:** [January 6, 2007, 8:10pm UTC](https://www.ruby-forum.com/t/sup-0-0-3-released/80994 "2007-01-06T20:10:49Z")

</div>

The most usable version yet, with mbox-over-ssh support, imap support that Finally Actually Works ™ and lots of speedups and bugfixes. With this release Sup moves from alpha to beta, so you know it must be good. I’d l…

---

## [Cerchiamo Sviluppatori per Software Libero GlobaLeaks](https://www.ruby-forum.com/t/cerchiamo-sviluppatori-per-software-libero-globaleaks/243116)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [August 26, 2015, 10:38pm UTC](https://www.ruby-forum.com/t/cerchiamo-sviluppatori-per-software-libero-globaleaks/243116 "2015-08-26T22:38:30Z")

</div>

Sei interessato a far parte del core team di un progetto di software libero usato in tutto il mondo per scopi sociali? Sei appassionati nell’uso di tecnologie web per svliuppare applicazioni javascript moderne per web…

---

## [How Nginx behaves with "proxy\_bind" and DNS resolver with non matching ip versions between bind ip a](https://www.ruby-forum.com/t/how-nginx-behaves-with-proxy-bind-and-dns-resolver-with-non-matching-ip-versions-between-bind-ip-a/233608)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [January 5, 2015, 7:05am UTC](https://www.ruby-forum.com/t/how-nginx-behaves-with-proxy-bind-and-dns-resolver-with-non-matching-ip-versions-between-bind-ip-a/233608 "2015-01-05T07:05:23Z")

</div>

Hello, I’m working with the proxy module, and with a dns resolver configured. The traffic i’m using is both ipv4 and ipv6. I’m trying to understand Nginx behavior when using “proxy\_bind” directive and when the reso…

---

## [Epoll\_ctl failed (17: File exists)](https://www.ruby-forum.com/t/epoll-ctl-failed-17-file-exists/186507)

<div class="topic-metadata">

**Author:** [@Matthias-Christian\_S](https://www.ruby-forum.com/u/Matthias-Christian_S)\
**Replies:** 3\
**Last updated:** [April 12, 2010, 5:44pm UTC](https://www.ruby-forum.com/t/epoll-ctl-failed-17-file-exists/186507 "2010-04-12T17:44:11Z")

</div>

Hi, when I run ‘/etc/init.d/nginx reload’ on Debian, I get the following error message in /var/log/nginx/error.log and I have to restart nginx: 2010/04/08 03:07:23 \[alert\] 10719#0: epoll\_ctl(1, 7) failed (17: File ex…

---

## [Getting a 500 internal server error with apache](https://www.ruby-forum.com/t/getting-a-500-internal-server-error-with-apache/183477)

<div class="topic-metadata">

**Author:** [@gautam](https://www.ruby-forum.com/u/gautam)\
**Replies:** 3\
**Last updated:** [February 15, 2010, 7:41pm UTC](https://www.ruby-forum.com/t/getting-a-500-internal-server-error-with-apache/183477 "2010-02-15T19:41:55Z")

</div>

System: Ubuntu 9.10 Ruby 1.8 Rails 2.3.5 Apache 2.2 MySql I am getting a 500 Internal Server Error while using apache. Everything works fine when I use Webrick I have configured all the things using this guide h…

---

## [REPL in a browser](https://www.ruby-forum.com/t/repl-in-a-browser/174578)

<div class="topic-metadata">

**Author:** [@chris\_the\_frog](https://www.ruby-forum.com/u/chris_the_frog)\
**Replies:** 3\
**Last updated:** [August 29, 2009, 6:20pm UTC](https://www.ruby-forum.com/t/repl-in-a-browser/174578 "2009-08-29T18:20:55Z")

</div>

Hi! I am a computer science student and I have a problem I just can’t seem to find an answer to. I would like to embed a read-eval-print- loop in a website. Essentially, I’d like a window that mimics a console: the us…

---

## [Webrick problem, PREMATURE END OF SCRIPT HEADERS](https://www.ruby-forum.com/t/webrick-problem-premature-end-of-script-headers/102723)

<div class="topic-metadata">

**Author:** [@codecarpenter](https://www.ruby-forum.com/u/codecarpenter)\
**Replies:** 3\
**Last updated:** [May 22, 2009, 2:08am UTC](https://www.ruby-forum.com/t/webrick-problem-premature-end-of-script-headers/102723 "2009-05-22T02:08:12Z")

</div>

I’ve downloaded and installed Ruby (v1.8.5) w/the latest Windows installer and am trying to run some cgi’s per these examples: http://microjet.ath.cx/webrickguide/html/CGIHandler.html I keep getting HTTP 500 - Interna…

---

## [Composite pattern and DSL design](https://www.ruby-forum.com/t/composite-pattern-and-dsl-design/238214)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 6\
**Last updated:** [December 30, 2013, 11:33am UTC](https://www.ruby-forum.com/t/composite-pattern-and-dsl-design/238214 "2013-12-30T11:33:47Z")

</div>

Hello, I am currently writing a little DSL for gui framework (Ruiby, for gtk). As my DSL become more and more complex, I have some design issue. For declaring a drawing area, with event handler, I use canvas(w,h,{ m…

---

## [Srcache + mogilefs module](https://www.ruby-forum.com/t/srcache-mogilefs-module/219114)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [April 23, 2012, 12:59pm UTC](https://www.ruby-forum.com/t/srcache-mogilefs-module/219114 "2012-04-23T12:59:09Z")

</div>

Hi, I’m currently in a process of setting mogilefs + memcached + nginx environment. My idea is to have nginx as a frontend server which will be used to access files stored on a mogile filesystem. This is working perf…

---

## [Is there a bug in ngx\_http\_upstream\_module's broken connection check code?](https://www.ruby-forum.com/t/is-there-a-bug-in-ngx-http-upstream-modules-broken-connection-check-code/208639)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [November 27, 2011, 10:15pm UTC](https://www.ruby-forum.com/t/is-there-a-bug-in-ngx-http-upstream-modules-broken-connection-check-code/208639 "2011-11-27T22:15:07Z")

</div>

In the function “ngx\_http\_upstream\_check\_broken\_connection” of ngx\_http\_upstream.c, there is a code segment like below: n = recv(c-\>fd, buf, 1, MSG\_PEEK); … else { /\* n == 0 \*/ err = 0; } Here use whether receivin…

---

## [Gr\_filter\_design.py error](https://www.ruby-forum.com/t/gr-filter-design-py-error/204156)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [March 9, 2011, 2:27pm UTC](https://www.ruby-forum.com/t/gr-filter-design-py-error/204156 "2011-03-09T14:27:14Z")

</div>

When launching gr\_filter\_design.py I receive this msg: Please install PyQwt5 to run this script (http://pyqwt.sourceforge.net/). Note that I’ve made ALL the step to build pyqwt, (5.2.1) successfull. I tried to rebuil…

---

## [Using id2ref for anything?](https://www.ruby-forum.com/t/using-id2ref-for-anything/177865)

<div class="topic-metadata">

**Author:** [@headius](https://www.ruby-forum.com/u/headius)\
**Replies:** 6\
**Last updated:** [October 26, 2009, 1:19am UTC](https://www.ruby-forum.com/t/using-id2ref-for-anything/177865 "2009-10-26T01:19:50Z")

</div>

ObjectSpace.\_id2ref is another of those peculiar methods, an artifact of a particular implementation which, due to its lack of a copying/compacting garbage collector, can always locate in memory an object given its “i…

---

## [Nginx 0.7.59 open\_file\_cache and NFS](https://www.ruby-forum.com/t/nginx-0-7-59-open-file-cache-and-nfs/169930)

<div class="topic-metadata">

**Author:** [@andan\_andan](https://www.ruby-forum.com/u/andan_andan)\
**Replies:** 6\
**Last updated:** [June 10, 2009, 1:39pm UTC](https://www.ruby-forum.com/t/nginx-0-7-59-open-file-cache-and-nfs/169930 "2009-06-10T13:39:48Z")

</div>

Hello. We have two nginx serving static objects from a shared NFS partition, and we are using open\_file\_cache for performance purposes: With nginx 0.6.x, when the developers uploads files, during a few seconds (less …

---

## [Re: intentando entender el Rake::Task =\> poltergeist con el RAILS\_ENV](https://www.ruby-forum.com/t/re-intentando-entender-el-rake-task-poltergeist-con-el-rails-env/158683)

<div class="topic-metadata">

**Author:** [@fearx](https://www.ruby-forum.com/u/fearx)\
**Replies:** 6\
**Last updated:** [January 26, 2009, 9:55pm UTC](https://www.ruby-forum.com/t/re-intentando-entender-el-rake-task-poltergeist-con-el-rails-env/158683 "2009-01-26T21:55:46Z")

</div>

En el mismo hilo de “intentando entender el Rake::Task”. Ahora, bueno de antes, pero presento mi duda ahora, me encuentro con que al ejecutar Rake::Tasks\[‘db:migrate’\] las migraciones se ejecutan en una u otra tabla d…

---

## [Install hpricot on Leopard](https://www.ruby-forum.com/t/install-hpricot-on-leopard/118897)

<div class="topic-metadata">

**Author:** [@banry](https://www.ruby-forum.com/u/banry)\
**Replies:** 6\
**Last updated:** [November 2, 2007, 4:26am UTC](https://www.ruby-forum.com/t/install-hpricot-on-leopard/118897 "2007-11-02T04:26:57Z")

</div>

Oh, this was working SO nicely until I upgraded the OS… I tried running my little site spider to keep my archive up-to-date and I got an error about mechanize not being available. No problem, I’ll just fire up gem and…

[Previous page](https://www.ruby-forum.com/top.md?page=619&per_page=50)

[Next page](https://www.ruby-forum.com/top.md?page=621&per_page=50)
