# Ruby

**URL:** https://www.ruby-forum.com/c/ruby/7.md?page=1810

[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:** 1811

---

## [Windows https - Ruby 1.8.4](https://www.ruby-forum.com/t/windows-https-ruby-1-8-4/94456)

<div class="topic-metadata">

**Author:** [@ashiro](https://www.ruby-forum.com/u/ashiro)\
**Replies:** 1\
**Last updated:** [May 4, 2006, 12:08am UTC](https://www.ruby-forum.com/t/windows-https-ruby-1-8-4/94456 "2006-05-04T00:08:17Z")

</div>

Hello This seems to be a problem with a number of people: http://www.codecomments.com/archive327-2006-3-848842.html http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/179201 Trying to connect to a https url …

---

## [Golfing a signature](https://www.ruby-forum.com/t/golfing-a-signature/59421)

<div class="topic-metadata">

**Author:** [@joey](https://www.ruby-forum.com/u/joey)\
**Replies:** 10\
**Last updated:** [May 3, 2006, 11:43pm UTC](https://www.ruby-forum.com/t/golfing-a-signature/59421 "2006-05-03T23:43:59Z")

</div>

Hello people of Ruby-Talk! My first email to the list, to any list for that matter. Saying Hi and introducing myself, I’m joey AKA j\`ey from IRC. Asking for a bit of help, I have the following code at http://www.each…

---

## [MinDI 0.3](https://www.ruby-forum.com/t/mindi-0-3/94444)

<div class="topic-metadata">

**Author:** [@Joel\_VanderWerf](https://www.ruby-forum.com/u/Joel_VanderWerf)\
**Replies:** 3\
**Last updated:** [May 3, 2006, 11:28pm UTC](https://www.ruby-forum.com/t/mindi-0-3/94444 "2006-05-03T23:28:23Z")

</div>

http://raa.ruby-lang.org/project/mindi/ This version of MinDI adds a new container type, InjectableContainer, which lets you hook up services via method\_missing. See the second example below. I’d be interested if anyo…

---

## [Re: parsedate doesn't work on Time.now.to\_s](https://www.ruby-forum.com/t/re-parsedate-doesnt-work-on-time-now-to-s/59527)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 2\
**Last updated:** [May 3, 2006, 11:09pm UTC](https://www.ruby-forum.com/t/re-parsedate-doesnt-work-on-time-now-to-s/59527 "2006-05-03T23:09:41Z")

</div>

You are absolutely right. I have logged it as a bug. I think the bug is with Time.now, the format of its output is not correct. This is possibly a problem with the configuration of the system, of of how it uses st…

---

## [Re: Immediate if method](https://www.ruby-forum.com/t/re-immediate-if-method/94455)

<div class="topic-metadata">

**Author:** [@Gennady\_B](https://www.ruby-forum.com/u/Gennady_B)\
**Replies:** 0\
**Last updated:** [May 3, 2006, 11:06pm UTC](https://www.ruby-forum.com/t/re-immediate-if-method/94455 "2006-05-03T23:06:34Z")

</div>

Do you mean this? condition ? If\_true : if\_false Gennady.

---

## [Mixin Syntax for Newbies](https://www.ruby-forum.com/t/mixin-syntax-for-newbies/59251)

<div class="topic-metadata">

**Author:** [@nko](https://www.ruby-forum.com/u/nko)\
**Replies:** 16\
**Last updated:** [May 3, 2006, 10:58pm UTC](https://www.ruby-forum.com/t/mixin-syntax-for-newbies/59251 "2006-05-03T22:58:42Z")

</div>

I’m trying to start using mixins and I’m having a little syntactual trouble, if that’s a word. Here’s my test code: module One @one = “One!” attr\_reader :one end class Two include One def initialize puts @one …

---

## [Ruby number crunching?](https://www.ruby-forum.com/t/ruby-number-crunching/59460)

<div class="topic-metadata">

**Author:** [@alex789](https://www.ruby-forum.com/u/alex789)\
**Replies:** 3\
**Last updated:** [May 3, 2006, 10:13pm UTC](https://www.ruby-forum.com/t/ruby-number-crunching/59460 "2006-05-03T22:13:49Z")

</div>

In my little Ruby and Rails learning experiment I’ve now come to the point where I need a library to do some number crunching, something similar to python Numeric or numarray. I head my browser to the mighty google …

---

## [Re: parsedate doesn't work on Time.now.to\_s](https://www.ruby-forum.com/t/re-parsedate-doesnt-work-on-time-now-to-s/94454)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 1\
**Last updated:** [May 3, 2006, 9:51pm UTC](https://www.ruby-forum.com/t/re-parsedate-doesnt-work-on-time-now-to-s/94454 "2006-05-03T21:51:31Z")

</div>

len = strftime(buf, 128, “%a %b %d %H:%M:%S %Z %Y”, &tobj-\>tm); I don’t think we need to fix time\_to\_s, however. We need to fix ParseDate. Time.now.strftime("%a %b %d %H:%M:%S %z %Y") =\> “Wed May 03 15:37:18 Ea…

---

## [Fwd: cat2rafb (#77)](https://www.ruby-forum.com/t/fwd-cat2rafb-77/94431)

<div class="topic-metadata">

**Author:** [@fjom](https://www.ruby-forum.com/u/fjom)\
**Replies:** 1\
**Last updated:** [May 3, 2006, 9:36pm UTC](https://www.ruby-forum.com/t/fwd-cat2rafb-77/94431 "2006-05-03T21:36:07Z")

</div>

On 4/28/06, Ruby Q. removed\_email\_address@domain.invalid wrote: Enjoy! by Sean C. entering the command. Here’s my solution, It’s not the best, the smallest, the fastest or the anything-est, but IÂ´ve learned a lot…

---

## [USB access](https://www.ruby-forum.com/t/usb-access/94453)

<div class="topic-metadata">

**Author:** [@bostonmacosx](https://www.ruby-forum.com/u/bostonmacosx)\
**Replies:** 0\
**Last updated:** [May 3, 2006, 9:16pm UTC](https://www.ruby-forum.com/t/usb-access/94453 "2006-05-03T21:16:46Z")

</div>

In googling I think that I’ve come up that Ruby can use libusb to talk to USB devices however I haven’t found any practical examples of it being able to do so. Are there ones out there or it such an obscure request th…

---

## [New Release: One-Click Ruby Installer 1.8.4-17 release candi](https://www.ruby-forum.com/t/new-release-one-click-ruby-installer-1-8-4-17-release-candi/59516)

<div class="topic-metadata">

**Author:** [@curthibbs](https://www.ruby-forum.com/u/curthibbs)\
**Replies:** 6\
**Last updated:** [May 3, 2006, 9:01pm UTC](https://www.ruby-forum.com/t/new-release-one-click-ruby-installer-1-8-4-17-release-candi/59516 "2006-05-03T21:01:58Z")

</div>

We are almost there to a final release. The uninstall issues have been fixed, and a few packages have been upgraded to more recent versions. Many thanks to Ryan L. and Shahank Date who stepped in to help finish off …

---

## [Re: WEBrick initialisation problem](https://www.ruby-forum.com/t/re-webrick-initialisation-problem/59522)

<div class="topic-metadata">

**Author:** [@brianwisti](https://www.ruby-forum.com/u/brianwisti)\
**Replies:** 1\
**Last updated:** [May 3, 2006, 8:58pm UTC](https://www.ruby-forum.com/t/re-webrick-initialisation-problem/59522 "2006-05-03T20:58:54Z")

</div>

\-----Original Message----- From: Eric H. \[mailto:removed\_email\_address@domain.invalid\] Sent: 03 May 2006 17:40 To: ruby-talk ML Subject: Re: WEBrick initialisation problem On May 3, 2006, at 1:24 AM, Brian Watson w…

---

## [Parsedate doesn't work on Time.now.to\_s](https://www.ruby-forum.com/t/parsedate-doesnt-work-on-time-now-to-s/59260)

<div class="topic-metadata">

**Author:** [@juliangall](https://www.ruby-forum.com/u/juliangall)\
**Replies:** 3\
**Last updated:** [May 3, 2006, 8:34pm UTC](https://www.ruby-forum.com/t/parsedate-doesnt-work-on-time-now-to-s/59260 "2006-05-03T20:34:15Z")

</div>

require ‘parsedate’ Time.now =\> Tue May 02 20:17:57 GMT Standard Time 2006 ParseDate.parsedate(Time.now.to\_s) =\> \[nil, 5, 2, 20, 17, 57, “GMT”, 2\] It seems that parsedate is not able to detect the year from the stan…

---

## [Red Letter - did I just got scammed?](https://www.ruby-forum.com/t/red-letter-did-i-just-got-scammed/59438)

<div class="topic-metadata">

**Author:** [@michal](https://www.ruby-forum.com/u/michal)\
**Replies:** 8\
**Last updated:** [May 3, 2006, 7:14pm UTC](https://www.ruby-forum.com/t/red-letter-did-i-just-got-scammed/59438 "2006-05-03T19:14:21Z")

</div>

Hey guys, I bought “Red Letter” subscription after initial announcement and have been waiting for the magazine to come out ever since. Even worse – “Sam” doesn’t reply to my e-mails, so I’m getting a bit weirded out …

---

## [Re: Constant in Ruby](https://www.ruby-forum.com/t/re-constant-in-ruby/59505)

<div class="topic-metadata">

**Author:** [@Gennady\_B](https://www.ruby-forum.com/u/Gennady_B)\
**Replies:** 0\
**Last updated:** [May 3, 2006, 7:11pm UTC](https://www.ruby-forum.com/t/re-constant-in-ruby/59505 "2006-05-03T19:11:01Z")

</div>

Ruby issues a warning when assigning to already initialized constant. Unless, of course, you run it with -W0 option. Gennady.

---

## [Win32API, CreateProcess and environment](https://www.ruby-forum.com/t/win32api-createprocess-and-environment/94440)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 1\
**Last updated:** [May 3, 2006, 7:10pm UTC](https://www.ruby-forum.com/t/win32api-createprocess-and-environment/94440 "2006-05-03T19:10:43Z")

</div>

Hi all, Ruby 1.8.4 I’m working on a pure Ruby Process.create method. What I have below seems to work, except that if I attempt to pass an environment string, it causes the app to die instantly. What am I doing wron…

---

## [Ruby for command line applications](https://www.ruby-forum.com/t/ruby-for-command-line-applications/94253)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 31\
**Last updated:** [May 3, 2006, 7:10pm UTC](https://www.ruby-forum.com/t/ruby-for-command-line-applications/94253 "2006-05-03T19:10:29Z")

</div>

Hi, I am a Linux administrator and I use Perl for scripting. I do not develop any web applications. My programs are command line tools. At this phase I am thinking to upgrade my programming language to either Python…

---

## [Time.parse fails for year values \> 2037 (time out of range)](https://www.ruby-forum.com/t/time-parse-fails-for-year-values-2037-time-out-of-range/59088)

<div class="topic-metadata">

**Author:** [@peterkemp](https://www.ruby-forum.com/u/peterkemp)\
**Replies:** 11\
**Last updated:** [May 3, 2006, 7:09pm UTC](https://www.ruby-forum.com/t/time-parse-fails-for-year-values-2037-time-out-of-range/59088 "2006-05-03T19:09:52Z")

</div>

Hi! I am trying to parse dates that take place in the future. When event dates occur after 2038-01-01 i get an time out of range error. To reproduce in irb: irb(main):078:0\> t = “2038-12-01T15:00:00.000Z” =\> “2038-1…

---

## [HTTP:Post and Ruby 1.8.2](https://www.ruby-forum.com/t/http-post-and-ruby-1-8-2/59146)

<div class="topic-metadata">

**Author:** [@jpfeifer](https://www.ruby-forum.com/u/jpfeifer)\
**Replies:** 9\
**Last updated:** [May 3, 2006, 7:09pm UTC](https://www.ruby-forum.com/t/http-post-and-ruby-1-8-2/59146 "2006-05-03T19:09:35Z")

</div>

It seems HTTP:Post was changed a bit in 1.8.3+ I have publicly available code and I’d like it to support either Ruby version. Should I actually check the Ruby version? How would I actually do that? None of my search…

---

## [Rq-2.3.2](https://www.ruby-forum.com/t/rq-2-3-2/94332)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [May 3, 2006, 7:09pm UTC](https://www.ruby-forum.com/t/rq-2-3-2/94332 "2006-05-03T19:09:33Z")

</div>

NAME rq v2.3.2 SYNOPSIS rq (queue | export RQ\_Q=q) mode \[mode\_args\]\* \[options\]\* URIS http://raa.ruby-lang.org/project/rq/ http://codeforpeople.com/lib/ruby/rq/rq-2.3.2/README Linux Clustering with Ruby Queue: Smal…

---

## [A proposal for Parsing Ruby in Ruby](https://www.ruby-forum.com/t/a-proposal-for-parsing-ruby-in-ruby/58806)

<div class="topic-metadata">

**Author:** [@kturner](https://www.ruby-forum.com/u/kturner)\
**Replies:** 6\
**Last updated:** [May 3, 2006, 7:09pm UTC](https://www.ruby-forum.com/t/a-proposal-for-parsing-ruby-in-ruby/58806 "2006-05-03T19:09:31Z")

</div>

R3: A Ruby native parsing framework ported from Perl6 Rules. Introduction: R3 is a Ruby native implementation of Perl6’s Rule engine specification. Perl6 Rules is a good compiler tool set for dynamic languages due to …

---

## [Unrequireable and Rubygems - problem](https://www.ruby-forum.com/t/unrequireable-and-rubygems-problem/94442)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [May 3, 2006, 7:09pm UTC](https://www.ruby-forum.com/t/unrequireable-and-rubygems-problem/94442 "2006-05-03T19:09:30Z")

</div>

Dear all, in conjunction with my classifier/tagging problems, I was trying to use “unrequireable” from \_http://simplypowerful.1984.cz/unrequireable/1.2005.09.13/doc/\_ (http://simplypowerful.1984.cz/unrequireable/1.2…

---

## [Odd problem involving rubygems / classifier and Windows](https://www.ruby-forum.com/t/odd-problem-involving-rubygems-classifier-and-windows/94439)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [May 3, 2006, 7:08pm UTC](https://www.ruby-forum.com/t/odd-problem-involving-rubygems-classifier-and-windows/94439 "2006-05-03T19:08:45Z")

</div>

Dear all, I am experiencing a strange error when calling two Ruby programs which work fine when called alone or from different \*.rb files. In a first Ruby method, I call the summarization method script from \_http://c…

---

## [Multiplexed I/O](https://www.ruby-forum.com/t/multiplexed-i-o/59162)

<div class="topic-metadata">

**Author:** [@Vlad\_GALU](https://www.ruby-forum.com/u/Vlad_GALU)\
**Replies:** 19\
**Last updated:** [May 3, 2006, 7:08pm UTC](https://www.ruby-forum.com/t/multiplexed-i-o/59162 "2006-05-03T19:08:43Z")

</div>

I’d like to use Ruby for a quite high performance networking tool. In practice, writing a multithreaded C/C++ program is not pheasible due to the large connection pool I plan to manage, which would impose a very scarc…

---

## [Two quick posts on Shaping code after language and DSLs - Wa](https://www.ruby-forum.com/t/two-quick-posts-on-shaping-code-after-language-and-dsls-wa/94437)

<div class="topic-metadata">

**Author:** [@chiaroscuro](https://www.ruby-forum.com/u/chiaroscuro)\
**Replies:** 0\
**Last updated:** [May 3, 2006, 7:08pm UTC](https://www.ruby-forum.com/t/two-quick-posts-on-shaping-code-after-language-and-dsls-wa/94437 "2006-05-03T19:08:29Z")

</div>

Hi guys, I have posted another two small pieces on DLSs and metaprogramming which I hope you will find useful. 1 Hijacking Local Variables in DSLs: http://liquiddevelopment.blogspot.com/2006/04/way-of-meta-part-iv-hij…

---

## [Urug/utahvalley.rb Ruby Meeting Tue 9 May](https://www.ruby-forum.com/t/urug-utahvalley-rb-ruby-meeting-tue-9-may/59468)

<div class="topic-metadata">

**Author:** [@pat\_eyler](https://www.ruby-forum.com/u/pat_eyler)\
**Replies:** 1\
**Last updated:** [May 3, 2006, 7:08pm UTC](https://www.ruby-forum.com/t/urug-utahvalley-rb-ruby-meeting-tue-9-may/59468 "2006-05-03T19:08:10Z")

</div>

It’s that time again. Tuesday at 7PM, in room 120 of the TMCB. (That would be the Talmage Mah and Computer science Building at BYU.) It should be a great chance to hang out and have some fun with Ruby, Rails, and r…

---

## [WEBrick initialisation problem](https://www.ruby-forum.com/t/webrick-initialisation-problem/59440)

<div class="topic-metadata">

**Author:** [@brianwisti](https://www.ruby-forum.com/u/brianwisti)\
**Replies:** 1\
**Last updated:** [May 3, 2006, 7:08pm UTC](https://www.ruby-forum.com/t/webrick-initialisation-problem/59440 "2006-05-03T19:08:09Z")

</div>

I am new to Ruby so I thought the best way to get into it would be to follow the ONLamp “Rolling with Ruby on Rails” intro. I followed the instructions to the letter and everything work just great, very impressive:-). …

---

## [Anyone out there in Wyoming, or close to the SE corner of Wy](https://www.ruby-forum.com/t/anyone-out-there-in-wyoming-or-close-to-the-se-corner-of-wy/59472)

<div class="topic-metadata">

**Author:** [@kirkhoward](https://www.ruby-forum.com/u/kirkhoward)\
**Replies:** 0\
**Last updated:** [May 3, 2006, 7:08pm UTC](https://www.ruby-forum.com/t/anyone-out-there-in-wyoming-or-close-to-the-se-corner-of-wy/59472 "2006-05-03T19:08:08Z")

</div>

Just probing to see if there might finally be someone else out there form this corner of the world. I keep hoping that someday there will be enough people to have a Wyoming.rb or a Cheyenne.rb. So, if you are out t…

---

## [New to ruby & tk -- seg fault with many buttons](https://www.ruby-forum.com/t/new-to-ruby-tk-seg-fault-with-many-buttons/94421)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [May 3, 2006, 7:08pm UTC](https://www.ruby-forum.com/t/new-to-ruby-tk-seg-fault-with-many-buttons/94421 "2006-05-03T19:08:07Z")

</div>

I’m trying to teach myself ruby/tk, and am getting a seg fault with the program below (part of a hangman game). Actually, it only seg faults some of the time (if you hit Quit right away, or just one letter, then Quit)…

---

## [How to create Class object with name determined at runtime](https://www.ruby-forum.com/t/how-to-create-class-object-with-name-determined-at-runtime/59112)

<div class="topic-metadata">

**Author:** [@bill](https://www.ruby-forum.com/u/bill)\
**Replies:** 9\
**Last updated:** [May 3, 2006, 7:07pm UTC](https://www.ruby-forum.com/t/how-to-create-class-object-with-name-determined-at-runtime/59112 "2006-05-03T19:07:42Z")

</div>

I hope someone can help with this - I am a Ruby newbie. In my code I want to decide at runtime which type of object to create, based on a variable holding the name of the class. So I have classes Foo and Bar and a str…

[Previous page](https://www.ruby-forum.com/c/ruby/7.md?page=1809)

[Next page](https://www.ruby-forum.com/c/ruby/7.md?page=1811)
