# Ruby

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

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

---

## [\[Bug #2369\] ENV's strange behavior on WinXP](https://www.ruby-forum.com/t/bug-2369-envs-strange-behavior-on-winxp/179194)

<div class="topic-metadata">

**Author:** [@Usaku\_NAKAMURA](https://www.ruby-forum.com/u/Usaku_NAKAMURA)\
**Replies:** 0\
**Last updated:** [November 19, 2009, 11:26am UTC](https://www.ruby-forum.com/t/bug-2369-envs-strange-behavior-on-winxp/179194 "2009-11-19T11:26:11Z")

</div>

e$B%A%1%C%He(B #2369 e$B$,99?7$5$l$^$7$?!#e(B (by Usaku NAKAMURA) (e$BC1$J$k%a%b$G$9e(B) Windows 7e$B$Ge(Brubye$B$N%P!\<%8%g%s$K$h$i$::F8=$;$:!#e(B http://redmine.ruby-lang.org/issues/show/2369

---

## [Calling a C# static from IronRuby](https://www.ruby-forum.com/t/calling-a-c-static-from-ironruby/178935)

<div class="topic-metadata">

**Author:** [@alexandremutel](https://www.ruby-forum.com/u/alexandremutel)\
**Replies:** 12\
**Last updated:** [November 19, 2009, 9:27am UTC](https://www.ruby-forum.com/t/calling-a-c-static-from-ironruby/178935 "2009-11-19T09:27:21Z")

</div>

Hi all, Is there any way to declare a C# static method accessible from IronRuby as a regular Ruby method? like: public class MyCSharpClass { public static string mymethod(string test) { return test + “yes”; } } i…

---

## [How to overide "include" method?](https://www.ruby-forum.com/t/how-to-overide-include-method/179153)

<div class="topic-metadata">

**Author:** [@alexandremutel](https://www.ruby-forum.com/u/alexandremutel)\
**Replies:** 5\
**Last updated:** [November 19, 2009, 9:20am UTC](https://www.ruby-forum.com/t/how-to-overide-include-method/179153 "2009-11-19T09:20:13Z")

</div>

I tried several way, but didn’t found any to override the behavior of the “include” method. I would like to override it’s behavior to accept a string as an argument and perform a special include based on that… so I tr…

---

## [\[ANN\] ERBook 9.2.1](https://www.ruby-forum.com/t/ann-erbook-9-2-1/179184)

<div class="topic-metadata">

**Author:** [@snk](https://www.ruby-forum.com/u/snk)\
**Replies:** 0\
**Last updated:** [November 19, 2009, 6:45am UTC](https://www.ruby-forum.com/t/ann-erbook-9-2-1/179184 "2009-11-19T06:45:26Z")

</div>

ERBook 9.2.1 Write books, manuals, and documents in eRuby http://snk.tuxfamily.org/lib/erbook/ ERBook is an extensible document processor that emits \[1\]any document you can im…

---

## [RoR Deployment issue - suddenly requiring rack \> 1.0](https://www.ruby-forum.com/t/ror-deployment-issue-suddenly-requiring-rack-1-0/179148)

<div class="topic-metadata">

**Author:** [@bouldr-matt](https://www.ruby-forum.com/u/bouldr-matt)\
**Replies:** 4\
**Last updated:** [November 19, 2009, 5:26am UTC](https://www.ruby-forum.com/t/ror-deployment-issue-suddenly-requiring-rack-1-0/179148 "2009-11-19T05:26:14Z")

</div>

Hi, I have an app I’m trying to re-deploy on my prod server. I froze rails when I started @ 2.3.4. I was using jruby 1.3, and have upgraded to 1.4 during this headache - in an attempt to fix the issues - but no lu…

---

## [Queuing work in a web app (sinatra/webrick)](https://www.ruby-forum.com/t/queuing-work-in-a-web-app-sinatra-webrick/178881)

<div class="topic-metadata">

**Author:** [@gurpal2000](https://www.ruby-forum.com/u/gurpal2000)\
**Replies:** 9\
**Last updated:** [November 19, 2009, 2:45am UTC](https://www.ruby-forum.com/t/queuing-work-in-a-web-app-sinatra-webrick/178881 "2009-11-19T02:45:07Z")

</div>

Hi I want to make a webapp that allows users to queue bit of work (converting video for example). They are also able to see the queue at any time and check the progress (queued|processing|done) and are able to REORDE…

---

## [\[ANN\] java-inline 0.0.1 released](https://www.ruby-forum.com/t/ann-java-inline-0-0-1-released/179177)

<div class="topic-metadata">

**Author:** [@headius](https://www.ruby-forum.com/u/headius)\
**Replies:** 0\
**Last updated:** [November 19, 2009, 2:17am UTC](https://www.ruby-forum.com/t/ann-java-inline-0-0-1-released/179177 "2009-11-19T02:17:10Z")

</div>

I’ve finally released 0.0.1 of my little java-inline plugin for RubyInline, which allows you to embed Java code directly into a Ruby class. It’s still pretty barebones, but it would be easy to improve it (the entire l…

---

## [Module with a class?](https://www.ruby-forum.com/t/module-with-a-class/178936)

<div class="topic-metadata">

**Author:** [@burrowsm](https://www.ruby-forum.com/u/burrowsm)\
**Replies:** 5\
**Last updated:** [November 19, 2009, 1:10am UTC](https://www.ruby-forum.com/t/module-with-a-class/178936 "2009-11-19T01:10:04Z")

</div>

I have a file that has a class called “Core” that defines tons of generic methods which populate tons of @instance variables and has methods to talk to another machine over tcp, etc… I have other files, such as hello.…

---

## [Inheriting from Object](https://www.ruby-forum.com/t/inheriting-from-object/179173)

<div class="topic-metadata">

**Author:** [@mschwab](https://www.ruby-forum.com/u/mschwab)\
**Replies:** 4\
**Last updated:** [November 19, 2009, 12:50am UTC](https://www.ruby-forum.com/t/inheriting-from-object/179173 "2009-11-19T00:50:34Z")

</div>

I’m just working through Ruby Visual Quickstart Guide by Larry Ullman, which is quite an enjoyable book (so far). In it he has this : “Methods defined outside of any class … are automatically defined as part of the Ob…

---

## [Using FasterCSV to clean CSV file](https://www.ruby-forum.com/t/using-fastercsv-to-clean-csv-file/179111)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 7\
**Last updated:** [November 19, 2009, 12:49am UTC](https://www.ruby-forum.com/t/using-fastercsv-to-clean-csv-file/179111 "2009-11-19T00:49:59Z")

</div>

Hello all, I was wondering, can FasterCSV be used to clean a csv file of unwanted characters, endline spaces, tab spaces and other characters? I have a csv file 6,000 lines long and it comes from another department. …

---

## [How to using golang for write a xxx.so for ruby?](https://www.ruby-forum.com/t/how-to-using-golang-for-write-a-xxx-so-for-ruby/179123)

<div class="topic-metadata">

**Author:** [@haoqi](https://www.ruby-forum.com/u/haoqi)\
**Replies:** 3\
**Last updated:** [November 19, 2009, 12:19am UTC](https://www.ruby-forum.com/t/how-to-using-golang-for-write-a-xxx-so-for-ruby/179123 "2009-11-19T00:19:33Z")

</div>

you may see http://golang.org I want to using golang create a shared object thant can call from ruby,Is it possiable?

---

## [Gui designer](https://www.ruby-forum.com/t/gui-designer/179081)

<div class="topic-metadata">

**Author:** [@chewybits](https://www.ruby-forum.com/u/chewybits)\
**Replies:** 8\
**Last updated:** [November 19, 2009, 12:06am UTC](https://www.ruby-forum.com/t/gui-designer/179081 "2009-11-19T00:06:23Z")

</div>

I’m looking for something like glade that I can use in windows. I like the wxruby from what I’ve read and hope that they’re is a designer for it. Any ideas? Netbeans?

---

## [Rubyconf 2009 ticket for sale](https://www.ruby-forum.com/t/rubyconf-2009-ticket-for-sale/179170)

<div class="topic-metadata">

**Author:** [@ajay](https://www.ruby-forum.com/u/ajay)\
**Replies:** 2\
**Last updated:** [November 18, 2009, 11:45pm UTC](https://www.ruby-forum.com/t/rubyconf-2009-ticket-for-sale/179170 "2009-11-18T23:45:50Z")

</div>

I have to bail cause of last minute changes. want my ticket? ajaya

---

## [Operators vs. methods](https://www.ruby-forum.com/t/operators-vs-methods/174335)

<div class="topic-metadata">

**Author:** [@sackerson](https://www.ruby-forum.com/u/sackerson)\
**Replies:** 12\
**Last updated:** [November 18, 2009, 11:06pm UTC](https://www.ruby-forum.com/t/operators-vs-methods/174335 "2009-11-18T23:06:23Z")

</div>

Today I was just re-reading introductory Ruby docs as I prepare to teach a few newbies tomorrow and I find myself feeling newbie-ish. On ruby-lang.org’s Ruby from other languagage highlights Ruby From Other Languages …

---

## [Update on shoes?](https://www.ruby-forum.com/t/update-on-shoes/179169)

<div class="topic-metadata">

**Author:** [@nuby2ruby](https://www.ruby-forum.com/u/nuby2ruby)\
**Replies:** 5\
**Last updated:** [November 18, 2009, 10:53pm UTC](https://www.ruby-forum.com/t/update-on-shoes/179169 "2009-11-18T22:53:30Z")

</div>

I used to use shoes all the time. I just recently started again and realized that when you package an app it looks for hackeyhack.net to download shoes. I’m curious if there is a new URL I can change that to, or if th…

---

## [Each\_with\_index](https://www.ruby-forum.com/t/each-with-index/179168)

<div class="topic-metadata">

**Author:** [@ladyinred](https://www.ruby-forum.com/u/ladyinred)\
**Replies:** 2\
**Last updated:** [November 18, 2009, 10:47pm UTC](https://www.ruby-forum.com/t/each-with-index/179168 "2009-11-18T22:47:43Z")

</div>

Hi, I’m trying to get my file to take in a list of names (a firstname, surname and middlename) and to then list each part of the name with an index. For example one name “John, Smith, Paul” should be printed as 1.John …

---

## [Array within an array](https://www.ruby-forum.com/t/array-within-an-array/178981)

<div class="topic-metadata">

**Author:** [@mittina](https://www.ruby-forum.com/u/mittina)\
**Replies:** 4\
**Last updated:** [November 18, 2009, 9:46pm UTC](https://www.ruby-forum.com/t/array-within-an-array/178981 "2009-11-18T21:46:04Z")

</div>

$array\_floor = \[\] for i in (0…7) for n in (0…8) $array\_floor \[n,i\] = \[i\*var1,0.0,n\*var2\] end end I am trying to create a array, which basically forms a grid, which is evenly spaced in a Cartesian plane. The spacin…

---

## [Execution of command remotely](https://www.ruby-forum.com/t/execution-of-command-remotely/179163)

<div class="topic-metadata">

**Author:** [@nitu](https://www.ruby-forum.com/u/nitu)\
**Replies:** 1\
**Last updated:** [November 18, 2009, 7:26pm UTC](https://www.ruby-forum.com/t/execution-of-command-remotely/179163 "2009-11-18T19:26:17Z")

</div>

Hi folks, I need hint how to connect to window server machine from other server and want to execute command but i am unable to connect. I suspect it is win32ole.connect (“winmgmt:\\computername”) but it is not working. …

---

## [ROXML encoding](https://www.ruby-forum.com/t/roxml-encoding/179027)

<div class="topic-metadata">

**Author:** [@Pavel\_Strnad](https://www.ruby-forum.com/u/Pavel_Strnad)\
**Replies:** 2\
**Last updated:** [November 18, 2009, 4:11pm UTC](https://www.ruby-forum.com/t/roxml-encoding/179027 "2009-11-18T16:11:21Z")

</div>

Hello, I am facing a problem with ROXML. National characters are not well generated on output. Maybe some problem with encoding. Can you help me? Output looks like this: 0 Ã…Â½lutÃƒÂ½ kÃ…Â¯Ã…Âˆ Correct output…

---

## [How to dynamically include a module and update top level?](https://www.ruby-forum.com/t/how-to-dynamically-include-a-module-and-update-top-level/179064)

<div class="topic-metadata">

**Author:** [@alexandremutel](https://www.ruby-forum.com/u/alexandremutel)\
**Replies:** 6\
**Last updated:** [November 18, 2009, 3:41pm UTC](https://www.ruby-forum.com/t/how-to-dynamically-include-a-module-and-update-top-level/179064 "2009-11-18T15:41:51Z")

</div>

Hi, I’m new to Ruby programming, and I’m having some trouble to dynamically include a module into another module. This question may have been already posted, I tried to find it without any success, sorry to ask it pr…

---

## [Spree ecommarce](https://www.ruby-forum.com/t/spree-ecommarce/179149)

<div class="topic-metadata">

**Author:** [@divyanshutri](https://www.ruby-forum.com/u/divyanshutri)\
**Replies:** 1\
**Last updated:** [November 18, 2009, 3:05pm UTC](https://www.ruby-forum.com/t/spree-ecommarce/179149 "2009-11-18T15:05:56Z")

</div>

how cn we login in spree ecommarce… wh i write “localhost:8000/admin” it redirect ===\>https://localhost/login Failed to Connect Firefox can’t establish a connection to the server at localhost. Though the site seems …

---

## [\[Feature #2372\] read\_all() with buffering](https://www.ruby-forum.com/t/feature-2372-read-all-with-buffering/179001)

<div class="topic-metadata">

**Author:** [@SSwanabe](https://www.ruby-forum.com/u/SSwanabe)\
**Replies:** 9\
**Last updated:** [November 18, 2009, 2:52pm UTC](https://www.ruby-forum.com/t/feature-2372-read-all-with-buffering/179001 "2009-11-18T14:52:56Z")

</div>

Feature #2372: read\_all() with buffering http://redmine.ruby-lang.org/issues/show/2372 e$B5/I\<\<Te(B: \_ wanabe e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Low e$B%+%F%4%je(B: core, Target version: 1.9.x io.c e$B$Ne(B read\_…

---

## [Handle connection failure error](https://www.ruby-forum.com/t/handle-connection-failure-error/179145)

<div class="topic-metadata">

**Author:** [@vetrivel](https://www.ruby-forum.com/u/vetrivel)\
**Replies:** 0\
**Last updated:** [November 18, 2009, 12:50pm UTC](https://www.ruby-forum.com/t/handle-connection-failure-error/179145 "2009-11-18T12:50:49Z")

</div>

doubt in Postgres module in ruby . using PGConn i connect with database . Then I executed one query . def executeSql query1= "select \* from user\_info ; begin obj.query( query1 ) rescue PGError =\> e …

---

## [Pathname problem on old AIX server](https://www.ruby-forum.com/t/pathname-problem-on-old-aix-server/179142)

<div class="topic-metadata">

**Author:** [@Yannick\_F](https://www.ruby-forum.com/u/Yannick_F)\
**Replies:** 0\
**Last updated:** [November 18, 2009, 12:17pm UTC](https://www.ruby-forum.com/t/pathname-problem-on-old-aix-server/179142 "2009-11-18T12:17:14Z")

</div>

Hello, I hope it’s the good place to speak about that. After working on a new JRubyOnRails app for our client, we try to put it on test server (similar to their production server) and AIX with tomcat. We have this k…

---

## [Re: JRuby-Rack JMS support - RubyThread leak](https://www.ruby-forum.com/t/re-jruby-rack-jms-support-rubythread-leak/179097)

<div class="topic-metadata">

**Author:** [@caefer](https://www.ruby-forum.com/u/caefer)\
**Replies:** 6\
**Last updated:** [November 18, 2009, 11:21am UTC](https://www.ruby-forum.com/t/re-jruby-rack-jms-support-rubythread-leak/179097 "2009-11-18T11:21:03Z")

</div>

Hi, I spent four hours on Saturday to debug the very same leak… For now I patched JRuby, so it ditches terminated threads from the threadContextMap every once in a while. The leak seems to be fixed. Yes, I also notic…

---

## [Looking for Set implementation in C](https://www.ruby-forum.com/t/looking-for-set-implementation-in-c/179034)

<div class="topic-metadata">

**Author:** [@Shot\_SPiotr\_S.S](https://www.ruby-forum.com/u/Shot_SPiotr_S.S)\
**Replies:** 7\
**Last updated:** [November 18, 2009, 9:11am UTC](https://www.ruby-forum.com/t/looking-for-set-implementation-in-c/179034 "2009-11-18T09:11:07Z")

</div>

Hello, good folks of ruby-talk. The Set class in MRI is implemented in pure Ruby (lib/set.rb). I vaguely remember someone posting here a C (re)implementation of the class, but I canâ€™t remember the details and itâ€™s…

---

## [How to time something?](https://www.ruby-forum.com/t/how-to-time-something/179125)

<div class="topic-metadata">

**Author:** [@bguan](https://www.ruby-forum.com/u/bguan)\
**Replies:** 4\
**Last updated:** [November 18, 2009, 6:54am UTC](https://www.ruby-forum.com/t/how-to-time-something/179125 "2009-11-18T06:54:10Z")

</div>

Heres what I have right now but it does reset the sec. to zero it keeps going 61…62 def seconds\_minutes\_string(seconds\_elapsed) seconds = seconds\_elapsed % 59 minutes = seconds / 60 return minutes.to\_s + ‘:’ + seco…

---

## [Routing Error](https://www.ruby-forum.com/t/routing-error/179130)

<div class="topic-metadata">

**Author:** [@divyanshutri](https://www.ruby-forum.com/u/divyanshutri)\
**Replies:** 1\
**Last updated:** [November 18, 2009, 6:41am UTC](https://www.ruby-forum.com/t/routing-error/179130 "2009-11-18T06:41:18Z")

</div>

hey, this problem occour whn i want to login in rubu… “localhost:3000/admin” problem Routing Error No route matches “/login/add\_user” with {:method=\>:get}

---

## [Something went wrong](https://www.ruby-forum.com/t/something-went-wrong/179052)

<div class="topic-metadata">

**Author:** [@divyanshutri](https://www.ruby-forum.com/u/divyanshutri)\
**Replies:** 15\
**Last updated:** [November 18, 2009, 6:36am UTC](https://www.ruby-forum.com/t/something-went-wrong/179052 "2009-11-18T06:36:37Z")

</div>

hi any one cn solve this problem We’re sorry, but something went wrong. We’ve been notified about this issue and we’ll take a look at it shortly.

---

## [\[ANN\] Rumai 3.2.0](https://www.ruby-forum.com/t/ann-rumai-3-2-0/179131)

<div class="topic-metadata">

**Author:** [@snk](https://www.ruby-forum.com/u/snk)\
**Replies:** 0\
**Last updated:** [November 18, 2009, 6:26am UTC](https://www.ruby-forum.com/t/ann-rumai-3-2-0/179131 "2009-11-18T06:26:52Z")

</div>

Rumai 3.2.0 Ruby interface to the wmii window manager http://snk.tuxfamily.org/lib/rumai/ Rumai is a \[1\]Ruby interface to the \[2\]wmii window manager. Version 3.2.0 (2009-1…

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

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