# Ruby

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

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

---

## [Implementig a XCAP web server: Ebb and Rack?](https://www.ruby-forum.com/t/implementig-a-xcap-web-server-ebb-and-rack/197096)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 2\
**Last updated:** [August 29, 2009, 4:21am UTC](https://www.ruby-forum.com/t/implementig-a-xcap-web-server-ebb-and-rack/197096 "2009-08-29T04:21:04Z")

</div>

Hi, I plan to deploy a web server to implement a XCAP service (it’s basically a web server which handles body with specific XML content). Some examples: The client requests a XML document (GET) so the server replie…

---

## [How to access file that requires credentials?](https://www.ruby-forum.com/t/how-to-access-file-that-requires-credentials/174579)

<div class="topic-metadata">

**Author:** [@farmerss](https://www.ruby-forum.com/u/farmerss)\
**Replies:** 0\
**Last updated:** [August 29, 2009, 1:34am UTC](https://www.ruby-forum.com/t/how-to-access-file-that-requires-credentials/174579 "2009-08-29T01:34:37Z")

</div>

Hi, I’m coding some Ruby in a Windows environment. I have some code that accesses some files using the FileUtils library. Now that I’m shifting into production, my code will run in a location from which I need to spe…

---

## [WIN32OLE.ole\_show\_help problem](https://www.ruby-forum.com/t/win32ole-ole-show-help-problem/174572)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 1\
**Last updated:** [August 28, 2009, 11:55pm UTC](https://www.ruby-forum.com/t/win32ole-ole-show-help-problem/174572 "2009-08-28T23:55:17Z")

</div>

Hi, ruby 1.8.6 (2009-03-31 patchlevel 368) \[i386-mswin32\_90\] Vista Home Premium Excel 2007 Here’s the documentation for WIN32OLE.ole\_show\_help in win32ole.c: /\* call-seq: WIN32OLE.ole\_show\_help(obj \[,helpcontext\]…

---

## [Mechanize Download File w/o Loading it All in Memory](https://www.ruby-forum.com/t/mechanize-download-file-w-o-loading-it-all-in-memory/174524)

<div class="topic-metadata">

**Author:** [@nappin](https://www.ruby-forum.com/u/nappin)\
**Replies:** 2\
**Last updated:** [August 28, 2009, 11:27pm UTC](https://www.ruby-forum.com/t/mechanize-download-file-w-o-loading-it-all-in-memory/174524 "2009-08-28T23:27:26Z")

</div>

Is there a way to get Mechanize to download a csv file, without loading it all into memory first? As I understand even if I used a pluggable parser, it will still download the whole file into memory before saving it …

---

## [Embedding Ruby 1.9 in a win32 app](https://www.ruby-forum.com/t/embedding-ruby-1-9-in-a-win32-app/174576)

<div class="topic-metadata">

**Author:** [@cwt137](https://www.ruby-forum.com/u/cwt137)\
**Replies:** 0\
**Last updated:** [August 28, 2009, 11:21pm UTC](https://www.ruby-forum.com/t/embedding-ruby-1-9-in-a-win32-app/174576 "2009-08-28T23:21:10Z")

</div>

I’m trying to embed ruby 1.9.1 in my Windows application and running into some problems. I successfully embedded ruby 1.8.4 in the application, but I’d like to update to use 1.9.1. I’m currently linking to the .lib an…

---

## [Ruby-debug-ide for Ruby 1.9 released](https://www.ruby-forum.com/t/ruby-debug-ide-for-ruby-1-9-released/174455)

<div class="topic-metadata">

**Author:** [@mark](https://www.ruby-forum.com/u/mark)\
**Replies:** 8\
**Last updated:** [August 28, 2009, 10:46pm UTC](https://www.ruby-forum.com/t/ruby-debug-ide-for-ruby-1-9-released/174455 "2009-08-28T22:46:12Z")

</div>

“gem install ruby-debug-ide” now works for both Ruby 1.8 and 1.9 (version 0.4.7).

---

## [\*a$B$X$NBeF~$K$D$$$F(B](https://www.ruby-forum.com/t/a-b-x-nbef-k-d-f-b/174537)

<div class="topic-metadata">

**Author:** [@Yukihiro\_M](https://www.ruby-forum.com/u/Yukihiro_M)\
**Replies:** 2\
**Last updated:** [August 28, 2009, 9:39pm UTC](https://www.ruby-forum.com/t/a-b-x-nbef-k-d-f-b/174537 "2009-08-28T21:39:28Z")

</div>

e$B$^$D$b$He(B e$B$f$-$R$m$G$9e(B e$B8=:\_=P@JCf$Ne(BLoneStar RubyConfe$B$Ge(BJames Edward G. II(e$B"(e(B)e$B$+$i;Xe(B e$BE&$5$l$?$N$G$9$,!"e(B \*a = \[1,2,3\] e$B$,!"e(B1.8e$B$G$Oe(B\[\[1,2,3\]\]e$B!"e(B1.9e$B$G$Oe(B\[1,2,3…

---

## [Rack must not dictate how to create a middleware](https://www.ruby-forum.com/t/rack-must-not-dictate-how-to-create-a-middleware/174453)

<div class="topic-metadata">

**Author:** [@sysppp](https://www.ruby-forum.com/u/sysppp)\
**Replies:** 14\
**Last updated:** [August 28, 2009, 7:57pm UTC](https://www.ruby-forum.com/t/rack-must-not-dictate-how-to-create-a-middleware/174453 "2009-08-28T19:57:50Z")

</div>

In current realization of Rack::Builder the method :use dictates that middlewares must be instances of some class by internal invoking :new initializer. Thus Rack’s Builder demands to delegate creation of middleware o…

---

## [\[Feature #1968\] Looser splat for 1.8](https://www.ruby-forum.com/t/feature-1968-looser-splat-for-1-8/174094)

<div class="topic-metadata">

**Author:** [@Shyouhei\_U](https://www.ruby-forum.com/u/Shyouhei_U)\
**Replies:** 2\
**Last updated:** [August 28, 2009, 6:49pm UTC](https://www.ruby-forum.com/t/feature-1968-looser-splat-for-1-8/174094 "2009-08-28T18:49:44Z")

</div>

Feature #1968: Looser splat for 1.8 http://redmine.ruby-lang.org/issues/show/1968 e$B5/I\<\<Te(B: Shyouhei U. e$B%9%F!\<%?%9e(B: Assigned, e$BM%@hEYe(B: Low e$BC4Ev\<Te(B: Akinori MUSHA, e$B%+%F%4%je(B: core, Target vers…

---

## [Found a ruby bug in the URI class, what do I do?](https://www.ruby-forum.com/t/found-a-ruby-bug-in-the-uri-class-what-do-i-do/174494)

<div class="topic-metadata">

**Author:** [@victorp](https://www.ruby-forum.com/u/victorp)\
**Replies:** 4\
**Last updated:** [August 28, 2009, 6:12pm UTC](https://www.ruby-forum.com/t/found-a-ruby-bug-in-the-uri-class-what-do-i-do/174494 "2009-08-28T18:12:50Z")

</div>

Hi, i have to open an uri with open-uri but URI is raising me an error that an URL is an invalid uri: p URI.split(“http://xpto.com/index.asp?action=showproduct&id={D3E21D33-6DFF-4355-9324-AE1395CEB247}”) URI::Inval…

---

## [Mass Assignment on Clas](https://www.ruby-forum.com/t/mass-assignment-on-clas/174544)

<div class="topic-metadata">

**Author:** [@pmckinstry](https://www.ruby-forum.com/u/pmckinstry)\
**Replies:** 10\
**Last updated:** [August 28, 2009, 6:06pm UTC](https://www.ruby-forum.com/t/mass-assignment-on-clas/174544 "2009-08-28T18:06:24Z")

</div>

Hi there, I am a total newbie to Ruby, so please bare with me. I want to be able to be able to initialise a Class with a hash. For instance If I have the class class Vehicle attr\_accessor :vtype, :description, :veh…

---

## [Postponed: Black/Kastner Ruby training](https://www.ruby-forum.com/t/postponed-black-kastner-ruby-training/174562)

<div class="topic-metadata">

**Author:** [@David\_ASBlack](https://www.ruby-forum.com/u/David_ASBlack)\
**Replies:** 0\
**Last updated:** [August 28, 2009, 5:56pm UTC](https://www.ruby-forum.com/t/postponed-black-kastner-ruby-training/174562 "2009-08-28T17:56:26Z")

</div>

Hi – The Ruby training with me and Erik Kastner that was to have been held in New Jersey in September has been postponed. Plan B hasn’t been finally determined yet, but we’ll keep you posted! David – David A. Black…

---

## [Defining {file,line,name} methods for each backtrace entry](https://www.ruby-forum.com/t/defining-file-line-name-methods-for-each-backtrace-entry/174548)

<div class="topic-metadata">

**Author:** [@Akinori\_MUSHA](https://www.ruby-forum.com/u/Akinori_MUSHA)\
**Replies:** 4\
**Last updated:** [August 28, 2009, 3:56pm UTC](https://www.ruby-forum.com/t/defining-file-line-name-methods-for-each-backtrace-entry/174548 "2009-08-28T15:56:59Z")

</div>

ã€€ãƒãƒƒã‚¯ãƒˆãƒ¬ãƒ¼ã‚¹ã®å„è¡Œã¯æ•´å½¢æ¸ˆã¿æ–‡å­—åˆ—ã«ãªã£ã¦ã„ã¾ã™ãŒã€ãã‚Œã‚’ ã¾ãŸãƒ‘ãƒ¼ã‚¹ã—ã¦åˆ‡ã‚Šå‡ºã™ã‚ˆã†ãªå‡¦ç†ãŒã©ã†ã«ã‚‚è¦‹ã¦ã„ã‚‰ã‚Œã¾ã›ã‚“ã€‚ {file,line,name} ã®ã‚ˆã†ãªã‚¢ã…

---

## [How to delete a file in Win XP](https://www.ruby-forum.com/t/how-to-delete-a-file-in-win-xp/142584)

<div class="topic-metadata">

**Author:** [@mawiniarski](https://www.ruby-forum.com/u/mawiniarski)\
**Replies:** 17\
**Last updated:** [August 28, 2009, 3:02pm UTC](https://www.ruby-forum.com/t/how-to-delete-a-file-in-win-xp/142584 "2009-08-28T15:02:28Z")

</div>

Greetings, How to delete a file in Win XP ? code: File.chmod(0644, file) File.delete(file) does not working. THX

---

## [Data sctructure](https://www.ruby-forum.com/t/data-sctructure/174540)

<div class="topic-metadata">

**Author:** [@Juliano\_SSS\_SSSS\_SS](https://www.ruby-forum.com/u/Juliano_SSS_SSSS_SS)\
**Replies:** 4\
**Last updated:** [August 28, 2009, 1:20pm UTC](https://www.ruby-forum.com/t/data-sctructure/174540 "2009-08-28T13:20:42Z")

</div>

Hello guys. I’ve just started using ruby and I come from Python… I’m still learning to think the Ruby way… Of course, any beginning is hard, but even so I’ve been having a lot of fun learning Ruby. The problem is th…

---

## [Inst. of sqlite3](https://www.ruby-forum.com/t/inst-of-sqlite3/174541)

<div class="topic-metadata">

**Author:** [@mosar](https://www.ruby-forum.com/u/mosar)\
**Replies:** 1\
**Last updated:** [August 28, 2009, 12:53pm UTC](https://www.ruby-forum.com/t/inst-of-sqlite3/174541 "2009-08-28T12:53:46Z")

</div>

Hi! As a first step the installation goes smoothly (with sudo apt-get install sqlite3). (My system is ubuntu) Afterwards when I type require ‘rubygems’ require ‘sqlite3’ puts “It’s all okay” if defined?(SQlite3::Da…

---

## [\# sign does not work as expected form irb](https://www.ruby-forum.com/t/sign-does-not-work-as-expected-form-irb/174399)

<div class="topic-metadata">

**Author:** [@ssanjuan](https://www.ruby-forum.com/u/ssanjuan)\
**Replies:** 14\
**Last updated:** [August 28, 2009, 11:38am UTC](https://www.ruby-forum.com/t/sign-does-not-work-as-expected-form-irb/174399 "2009-08-28T11:38:39Z")

</div>

I have just started Ruby. I have tried to do some exercises usin irb but this is what happens if I write the following code msg = "Hello " #{name} ": irb:157:0\> #msg "Hello, irb:158:0\>\* As as soon as I enter the # s…

---

## [Unsubscribe](https://www.ruby-forum.com/t/unsubscribe/174523)

<div class="topic-metadata">

**Author:** [@chenpassion](https://www.ruby-forum.com/u/chenpassion)\
**Replies:** 0\
**Last updated:** [August 28, 2009, 4:57am UTC](https://www.ruby-forum.com/t/unsubscribe/174523 "2009-08-28T04:57:53Z")

</div>

unsubscribe Thanks. Wesley C…

---

## [\[Bug #1997\] memory leak on redefining method](https://www.ruby-forum.com/t/bug-1997-memory-leak-on-redefining-method/174438)

<div class="topic-metadata">

**Author:** [@Usaku\_NAKAMURA](https://www.ruby-forum.com/u/Usaku_NAKAMURA)\
**Replies:** 2\
**Last updated:** [August 28, 2009, 4:48am UTC](https://www.ruby-forum.com/t/bug-1997-memory-leak-on-redefining-method/174438 "2009-08-28T04:48:31Z")

</div>

Bug #1997: memory leak on redefining method http://redmine.ruby-lang.org/issues/show/1997 e$B5/I\<\<Te(B: Usaku NAKAMURA e$B%9%F!\<%?%9e(B: Assigned, e$BM%@hEYe(B: Normal e$BC4Ev\<Te(B: Nobuyoshi N., e$B%+%F%4%je(B: core…

---

## [RMagick reacts very oddly to an incorrect file](https://www.ruby-forum.com/t/rmagick-reacts-very-oddly-to-an-incorrect-file/174518)

<div class="topic-metadata">

**Author:** [@pitosalas](https://www.ruby-forum.com/u/pitosalas)\
**Replies:** 3\
**Last updated:** [August 28, 2009, 2:46am UTC](https://www.ruby-forum.com/t/rmagick-reacts-very-oddly-to-an-incorrect-file/174518 "2009-08-28T02:46:11Z")

</div>

I am not sure if this is me or Rmagick. I ‘accidentally’ used an input file which was a 40Meg multi-image TIF with 50 or so images and my mac os x went totally haywire. As I traced down into the problem I got to this: …

---

## [Gmail\_contacts 1.6 Released](https://www.ruby-forum.com/t/gmail-contacts-1-6-released/174520)

<div class="topic-metadata">

**Author:** [@miracleofmagick](https://www.ruby-forum.com/u/miracleofmagick)\
**Replies:** 0\
**Last updated:** [August 28, 2009, 12:35am UTC](https://www.ruby-forum.com/t/gmail-contacts-1-6-released/174520 "2009-08-28T00:35:37Z")

</div>

gmail\_contacts version 1.6 has been released! http://seattlerb.rubyforge.org/gmail\_contacts Simple Gmail contacts extraction using GData. gmail\_contacts development was sponsored by AT&T Interactive. Changes: 1.6 …

---

## [Implementig a XCAP web server: Ebb and Rack?](https://www.ruby-forum.com/t/implementig-a-xcap-web-server-ebb-and-rack/174519)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 0\
**Last updated:** [August 28, 2009, 12:06am UTC](https://www.ruby-forum.com/t/implementig-a-xcap-web-server-ebb-and-rack/174519 "2009-08-28T00:06:20Z")

</div>

Hi, I plan to deploy a web server to implement a XCAP service (it’s basically a web server which handles body with specific XML content). Some examples: The client requests a XML document (GET) so the server replie…

---

## [Ruby fork from C program](https://www.ruby-forum.com/t/ruby-fork-from-c-program/174422)

<div class="topic-metadata">

**Author:** [@barjunk](https://www.ruby-forum.com/u/barjunk)\
**Replies:** 1\
**Last updated:** [August 27, 2009, 11:51pm UTC](https://www.ruby-forum.com/t/ruby-fork-from-c-program/174422 "2009-08-27T23:51:07Z")

</div>

As a learning exercise I’m goofing around with ruby’s fork within a C program. I’ve posted my current testing code here: http://pastie.org/591998 It seems to give me the output I was expecting however, it waits the e…

---

## [QTRuby Strategy for setting up an addition twixt 2 lineEdits](https://www.ruby-forum.com/t/qtruby-strategy-for-setting-up-an-addition-twixt-2-lineedits/226047)

<div class="topic-metadata">

**Author:** [@matthewmurcia](https://www.ruby-forum.com/u/matthewmurcia)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 11:42pm UTC](https://www.ruby-forum.com/t/qtruby-strategy-for-setting-up-an-addition-twixt-2-lineedits/226047 "2009-08-27T23:42:56Z")

</div>

Hello- Thanks to some help previously received here (thanks to Ken B.), I have managed to practice using blocks of code with the connect method to assign values to several class variables using lineEdit objects and d…

---

## [Using a Model](https://www.ruby-forum.com/t/using-a-model/174009)

<div class="topic-metadata">

**Author:** [@pmckinstry](https://www.ruby-forum.com/u/pmckinstry)\
**Replies:** 5\
**Last updated:** [August 27, 2009, 10:50pm UTC](https://www.ruby-forum.com/t/using-a-model/174009 "2009-08-27T22:50:13Z")

</div>

Not sure if this should be on the rails or ruby forum, so my apologies if I got it wrong! So I have created a new rails application, however I want to load data from a file into a database table which has a Model asso…

---

## [Expert Systems and Ruby](https://www.ruby-forum.com/t/expert-systems-and-ruby/174498)

<div class="topic-metadata">

**Author:** [@masonkessinger](https://www.ruby-forum.com/u/masonkessinger)\
**Replies:** 2\
**Last updated:** [August 27, 2009, 9:48pm UTC](https://www.ruby-forum.com/t/expert-systems-and-ruby/174498 "2009-08-27T21:48:46Z")

</div>

I’m taking an advanced artificial intelligence course in graduate school at UCF and, among other things, I am studying expert systems including: ConceptNet3, Wordnet, Yago, CYC, Dendral, Macsyma, and Mycin. The topic …

---

## ["jobs in georgia" "jobs in georgia" "jobs in georgia " "jobs in georgia" "jobs in georgia" "jobs in](https://www.ruby-forum.com/t/jobs-in-georgia-jobs-in-georgia-jobs-in-georgia-jobs-in-georgia-jobs-in-georgia-jobs-in/174504)

<div class="topic-metadata">

**Author:** [@ijaz\_khi](https://www.ruby-forum.com/u/ijaz_khi)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 7:45pm UTC](https://www.ruby-forum.com/t/jobs-in-georgia-jobs-in-georgia-jobs-in-georgia-jobs-in-georgia-jobs-in-georgia-jobs-in/174504 "2009-08-27T19:45:51Z")

</div>

“JOBS IN GEORGIA” “JOBS IN GEORGIA” “JOBS IN GEORGIA” “JOBS IN GEORGIA” “JOBS IN GEORGIA” “JOBS IN GEORGIA” “JOBS IN GEORGIA” “JOBS IN GEORGIA” “JOBS IN GEORGIA” “JOBS IN GEOR"JOBS IN GEORGIA” “JOBS IN GEORGIA” “JOBS …

---

## [Ruby 1.8.7 automatically loads RubyGems?](https://www.ruby-forum.com/t/ruby-1-8-7-automatically-loads-rubygems/174424)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 7\
**Last updated:** [August 27, 2009, 7:35pm UTC](https://www.ruby-forum.com/t/ruby-1-8-7-automatically-loads-rubygems/174424 "2009-08-27T19:35:19Z")

</div>

Does Ruby 1.8.7 automatically load gems? I took -rubygems out of my RUBYOPT, and discovered my gems were still getting loaded. Is that true? $ ruby -v ruby 1.8.7 (2008-08-11 patchlevel 72) \[x86\_64-linux\] T.

---

## [Invoking Perl Module from Ruby](https://www.ruby-forum.com/t/invoking-perl-module-from-ruby/174485)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [August 27, 2009, 6:59pm UTC](https://www.ruby-forum.com/t/invoking-perl-module-from-ruby/174485 "2009-08-27T18:59:36Z")

</div>

How can I invoke a perl code from ruby. Is there anything similar to “PyPerl” Thanks, Sriram

---

## [Need Voice, Data, Fiber Optic cabling installations and services?](https://www.ruby-forum.com/t/need-voice-data-fiber-optic-cabling-installations-and-services/174502)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 6:40pm UTC](https://www.ruby-forum.com/t/need-voice-data-fiber-optic-cabling-installations-and-services/174502 "2009-08-27T18:40:52Z")

</div>

We do Voice, Data, Fiber Optic cabling installations and service in Southern California. We can also do the following: PA Systems, CCTV, VOIP, Copper Backbone Extensions, Fiber T-1 Circuit Extensions, New Installatio…

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

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