# Ruby

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

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

---

## [Proxy server library?](https://www.ruby-forum.com/t/proxy-server-library/121462)

<div class="topic-metadata">

**Author:** [@pood](https://www.ruby-forum.com/u/pood)\
**Replies:** 2\
**Last updated:** [November 28, 2007, 3:22pm UTC](https://www.ruby-forum.com/t/proxy-server-library/121462 "2007-11-28T15:22:23Z")

</div>

Is there a library that’ll allow me to use different internet proxies for my ruby program? I’m extracting some info off of google, if you grab query too many times, it blocks me for a hour or so.

---

## [The great](https://www.ruby-forum.com/t/the-great/121496)

<div class="topic-metadata">

**Author:** [@shoaibrupom](https://www.ruby-forum.com/u/shoaibrupom)\
**Replies:** 0\
**Last updated:** [November 28, 2007, 1:36pm UTC](https://www.ruby-forum.com/t/the-great/121496 "2007-11-28T13:36:06Z")

</div>

ruby is best for forum using shoaibrupom http://www.spysureonline.com

---

## [Run ruby from MFC](https://www.ruby-forum.com/t/run-ruby-from-mfc/121478)

<div class="topic-metadata">

**Author:** [@surezu](https://www.ruby-forum.com/u/surezu)\
**Replies:** 4\
**Last updated:** [November 28, 2007, 12:02pm UTC](https://www.ruby-forum.com/t/run-ruby-from-mfc/121478 "2007-11-28T12:02:21Z")

</div>

Hi all, I would like to run Ruby from my MFC application! IF it is possible? If yes,let me know. Now i’m using visual studio 2005… thanks in advance surezu

---

## [Books on Ruby](https://www.ruby-forum.com/t/books-on-ruby/121451)

<div class="topic-metadata">

**Author:** [@barcaroller](https://www.ruby-forum.com/u/barcaroller)\
**Replies:** 8\
**Last updated:** [November 28, 2007, 10:26am UTC](https://www.ruby-forum.com/t/books-on-ruby/121451 "2007-11-28T10:26:39Z")

</div>

Can someone kindly recommend some good books on the following: Ruby for beginners Ruby for advanced users Ruby On Rails for beginners Ruby On Rails for advanced users Is there a bible like Larry Wall’s Programming Per…

---

## [Object Oriented Help](https://www.ruby-forum.com/t/object-oriented-help/121344)

<div class="topic-metadata">

**Author:** [@burrowsm](https://www.ruby-forum.com/u/burrowsm)\
**Replies:** 2\
**Last updated:** [November 28, 2007, 10:19am UTC](https://www.ruby-forum.com/t/object-oriented-help/121344 "2007-11-28T10:19:52Z")

</div>

We have been using Ruby/Watir for quite some time now. It is a useful combination. The object-oriented nature of Ruby with Modules, classes and mixins works really well. Now my dilema… Currently we have one databas…

---

## [Accessing a file server with ruby](https://www.ruby-forum.com/t/accessing-a-file-server-with-ruby/121400)

<div class="topic-metadata">

**Author:** [@anthony](https://www.ruby-forum.com/u/anthony)\
**Replies:** 14\
**Last updated:** [November 28, 2007, 9:32am UTC](https://www.ruby-forum.com/t/accessing-a-file-server-with-ruby/121400 "2007-11-28T09:32:22Z")

</div>

This seems like it should be a simple solution, but I don’t know enough Ruby to do it. I am using Ruby 1.8.4. What I want to do is browse a directory on a different computer (server) than the one running Ruby. I know …

---

## [How to redirect a "system" standard output to a variable](https://www.ruby-forum.com/t/how-to-redirect-a-system-standard-output-to-a-variable/121427)

<div class="topic-metadata">

**Author:** [@Venks](https://www.ruby-forum.com/u/Venks)\
**Replies:** 2\
**Last updated:** [November 28, 2007, 9:03am UTC](https://www.ruby-forum.com/t/how-to-redirect-a-system-standard-output-to-a-variable/121427 "2007-11-28T09:03:43Z")

</div>

Hi, I need to redirect any standard output thrown when using a system call into a Ruby variable. I tried to search for a solution but couldn’t find anything that worked. May be I am not using the right search terms. …

---

## [Hpricot on my Solaris x-86 box. cc bad , gcc good](https://www.ruby-forum.com/t/hpricot-on-my-solaris-x-86-box-cc-bad-gcc-good/121243)

<div class="topic-metadata">

**Author:** [@HoboHoward](https://www.ruby-forum.com/u/HoboHoward)\
**Replies:** 2\
**Last updated:** [November 28, 2007, 8:23am UTC](https://www.ruby-forum.com/t/hpricot-on-my-solaris-x-86-box-cc-bad-gcc-good/121243 "2007-11-28T08:23:53Z")

</div>

Dear List, I want to install hpricot on my Solaris x-86 box. The makefile generated by the hpricot-installer wants me to use the ‘cc’ c-compiler. I dont have ‘cc’. I have ‘gcc’. Is it possible for me to force the h…

---

## [Parsing XML file](https://www.ruby-forum.com/t/parsing-xml-file/121278)

<div class="topic-metadata">

**Author:** [@martin\_mercy2001](https://www.ruby-forum.com/u/martin_mercy2001)\
**Replies:** 3\
**Last updated:** [November 28, 2007, 7:33am UTC](https://www.ruby-forum.com/t/parsing-xml-file/121278 "2007-11-28T07:33:38Z")

</div>

Hi friends, I have created a Buffer class with read, write and print methods. Now i need to implement this class in my parser class. could any one help me to do methods def tag end def tag\_end end def next! end …

---

## [Binary Logic, Bug or Feature?](https://www.ruby-forum.com/t/binary-logic-bug-or-feature/121460)

<div class="topic-metadata">

**Author:** [@Malcolm\_L](https://www.ruby-forum.com/u/Malcolm_L)\
**Replies:** 4\
**Last updated:** [November 28, 2007, 7:30am UTC](https://www.ruby-forum.com/t/binary-logic-bug-or-feature/121460 "2007-11-28T07:30:42Z")

</div>

Hi Guys, I have been pulling my hair out for the last 20 minutes trying to find out what is wrong in my app that has some pretty basic binary logic. Here is a concise example in an irb session that shows my problem (…

---

## [Loose Equality (was equal? versus eql? versus == versus === verus \<=\> )](https://www.ruby-forum.com/t/loose-equality-was-equal-versus-eql-versus-versus-verus/121469)

<div class="topic-metadata">

**Author:** [@pfharlock](https://www.ruby-forum.com/u/pfharlock)\
**Replies:** 0\
**Last updated:** [November 28, 2007, 7:07am UTC](https://www.ruby-forum.com/t/loose-equality-was-equal-versus-eql-versus-versus-verus/121469 "2007-11-28T07:07:19Z")

</div>

hash keys by key impractical. foo.eql? still seems a little inconsistent (and surprising) to me. Essentially, it’s == except when comparing hashes, at which point it suddenly becomes foo.equal?. This isn’t really…

---

## [Failry simple(?) active record question](https://www.ruby-forum.com/t/failry-simple-active-record-question/121350)

<div class="topic-metadata">

**Author:** [@kyle\_s](https://www.ruby-forum.com/u/kyle_s)\
**Replies:** 4\
**Last updated:** [November 28, 2007, 6:03am UTC](https://www.ruby-forum.com/t/failry-simple-active-record-question/121350 "2007-11-28T06:03:24Z")

</div>

I’m plodding my way through active record right now, and running into some things that seem odd. Take a really simple example #!/usr/bin/ruby require ‘rubygems’ require ‘active\_record’ ActiveRecord::Base.establish\_…

---

## ['gem update' making wrong choice](https://www.ruby-forum.com/t/gem-update-making-wrong-choice/121070)

<div class="topic-metadata">

**Author:** [@micheldogger](https://www.ruby-forum.com/u/micheldogger)\
**Replies:** 8\
**Last updated:** [November 28, 2007, 5:51am UTC](https://www.ruby-forum.com/t/gem-update-making-wrong-choice/121070 "2007-11-28T05:51:23Z")

</div>

I work on a Win box, without compiler. But ‘gem environment’ gives two PLATFORMs, win32 and ruby. Then ‘gem update’ try to load the wrong gem… How may I clean the environment variable ? Thanks for help…

---

## [RubyGems 0.9.5](https://www.ruby-forum.com/t/rubygems-0-9-5/120719)

<div class="topic-metadata">

**Author:** [@miracleofmagick](https://www.ruby-forum.com/u/miracleofmagick)\
**Replies:** 55\
**Last updated:** [November 28, 2007, 5:50am UTC](https://www.ruby-forum.com/t/rubygems-0-9-5/120719 "2007-11-28T05:50:12Z")

</div>

RubyGems 0.9.5 adds several new features and fixes several bugs. To upgrade to the latest RubyGems: gem update --system To upgrade to the latest RubyGems by hand: Download RubyGems from http://rubyforge.org/frs/? g…

---

## [(no subject)](https://www.ruby-forum.com/t/no-subject/121456)

<div class="topic-metadata">

**Author:** [@Paul\_Friedman](https://www.ruby-forum.com/u/Paul_Friedman)\
**Replies:** 1\
**Last updated:** [November 28, 2007, 5:43am UTC](https://www.ruby-forum.com/t/no-subject/121456 "2007-11-28T05:43:52Z")

</div>

chaddr removed\_email\_address@domain.invalid removed\_email\_address@domain.invalid

---

## [Chat in network](https://www.ruby-forum.com/t/chat-in-network/121455)

<div class="topic-metadata">

**Author:** [@mokkai](https://www.ruby-forum.com/u/mokkai)\
**Replies:** 0\
**Last updated:** [November 28, 2007, 4:44am UTC](https://www.ruby-forum.com/t/chat-in-network/121455 "2007-11-28T04:44:21Z")

</div>

i am new to networking can anyone give me a small ruby chat program(server and client ) in network

---

## [Unable to load 'System.Windows.Forms'](https://www.ruby-forum.com/t/unable-to-load-system-windows-forms/121119)

<div class="topic-metadata">

**Author:** [@nfe](https://www.ruby-forum.com/u/nfe)\
**Replies:** 3\
**Last updated:** [November 28, 2007, 4:42am UTC](https://www.ruby-forum.com/t/unable-to-load-system-windows-forms/121119 "2007-11-28T04:42:25Z")

</div>

Hi, After building IronRuby with the ‘rake compile config=release’ option (according to http://ironruby.rubyforge.org/wiki/wiki.pl?BuildingIronRuby), I am having problems with \>\>\> require ‘System.Windows.Forms’…this …

---

## [Oci8 roles and permissions](https://www.ruby-forum.com/t/oci8-roles-and-permissions/119439)

<div class="topic-metadata">

**Author:** [@sean\_n](https://www.ruby-forum.com/u/sean_n)\
**Replies:** 1\
**Last updated:** [November 28, 2007, 4:31am UTC](https://www.ruby-forum.com/t/oci8-roles-and-permissions/119439 "2007-11-28T04:31:53Z")

</div>

I’m not that knowlegeable in Oracle roles and permissions. I just know that when I use a certain Oracle account, I have read access to the data through toad. But when I use the same account using a script (ruby / oc…

---

## [JRuby On Rails ready for prime time?](https://www.ruby-forum.com/t/jruby-on-rails-ready-for-prime-time/121450)

<div class="topic-metadata">

**Author:** [@jeffpritchard](https://www.ruby-forum.com/u/jeffpritchard)\
**Replies:** 0\
**Last updated:** [November 28, 2007, 4:02am UTC](https://www.ruby-forum.com/t/jruby-on-rails-ready-for-prime-time/121450 "2007-11-28T04:02:53Z")

</div>

Way back at the Portland Rails conference at the beginning of 2007, a large portion of the “buzz” was regarding JRuby and how it was going to revolutionize the speed of Rails apps. In looking through the Rails Deploym…

---

## [Still trying to install ruby/tk](https://www.ruby-forum.com/t/still-trying-to-install-ruby-tk/121239)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 2\
**Last updated:** [November 28, 2007, 3:57am UTC](https://www.ruby-forum.com/t/still-trying-to-install-ruby-tk/121239 "2007-11-28T03:57:24Z")

</div>

I finally gave up on trying to get the tcltklib file to work. By the way, it is in /ruby/ruby1.8.5/ext/tk directory now, not the /etc/tcltk directory (which doesn’t seem to exist). I finally found the ruby-tcltk rpm…

---

## [Looking for a rubyforge mirror](https://www.ruby-forum.com/t/looking-for-a-rubyforge-mirror/121437)

<div class="topic-metadata">

**Author:** [@markthomas](https://www.ruby-forum.com/u/markthomas)\
**Replies:** 0\
**Last updated:** [November 27, 2007, 11:50pm UTC](https://www.ruby-forum.com/t/looking-for-a-rubyforge-mirror/121437 "2007-11-27T23:50:35Z")

</div>

Due to security restructions in my environment, I am currently unable to request a new firewall rule to allow access to a rubyforge mirror (to perform gem installs). However, we currently have grandfathered-in approve…

---

## [How to redirect a "system" standard output and standard error to a variable (Linux)](https://www.ruby-forum.com/t/how-to-redirect-a-system-standard-output-and-standard-error-to-a-variable-linux/121429)

<div class="topic-metadata">

**Author:** [@Venks](https://www.ruby-forum.com/u/Venks)\
**Replies:** 5\
**Last updated:** [November 27, 2007, 10:55pm UTC](https://www.ruby-forum.com/t/how-to-redirect-a-system-standard-output-and-standard-error-to-a-variable-linux/121429 "2007-11-27T22:55:45Z")

</div>

To clarify further I want to capture any standard output or standard error. Thanks, ---------- Forwarded message ---------- From: Venks removed\_email\_address@domain.invalid Date: Nov 27, 2007 3:58 PM Subject: How t…

---

## [Strange code or Zerotons instead of Singletons](https://www.ruby-forum.com/t/strange-code-or-zerotons-instead-of-singletons/121368)

<div class="topic-metadata">

**Author:** [@flatekmonkey](https://www.ruby-forum.com/u/flatekmonkey)\
**Replies:** 12\
**Last updated:** [November 27, 2007, 10:19pm UTC](https://www.ruby-forum.com/t/strange-code-or-zerotons-instead-of-singletons/121368 "2007-11-27T22:19:47Z")

</div>

Hi list I am kind of attached to strange code in that moment, it somehow shows up on it’s own, I needed a singleton class and of course I had to reinvent the wheel. Actually, singletons do not always make sense, some…

---

## [Flv tool](https://www.ruby-forum.com/t/flv-tool/121428)

<div class="topic-metadata">

**Author:** [@Gabe\_Sena\_SNewSite](https://www.ruby-forum.com/u/Gabe_Sena_SNewSite)\
**Replies:** 0\
**Last updated:** [November 27, 2007, 9:58pm UTC](https://www.ruby-forum.com/t/flv-tool/121428 "2007-11-27T21:58:00Z")

</div>

I’m having problems downloading your flv tool. Any suggestions?

---

## [How to use Builder?](https://www.ruby-forum.com/t/how-to-use-builder/121426)

<div class="topic-metadata">

**Author:** [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Replies:** 0\
**Last updated:** [November 27, 2007, 9:57pm UTC](https://www.ruby-forum.com/t/how-to-use-builder/121426 "2007-11-27T21:57:30Z")

</div>

Hello. I’m a Ruby newbie, so please bear with me. I have an object named Contact that has attributes first\_name, last\_name, address1, etc. I want to create an XML file in the following format: \<?xml version="1.0" en…

---

## [Ruby 1.8.6 patchlevel 111 on Ubuntu 7.10 - How?](https://www.ruby-forum.com/t/ruby-1-8-6-patchlevel-111-on-ubuntu-7-10-how/121317)

<div class="topic-metadata">

**Author:** [@lirit](https://www.ruby-forum.com/u/lirit)\
**Replies:** 3\
**Last updated:** [November 27, 2007, 9:38pm UTC](https://www.ruby-forum.com/t/ruby-1-8-6-patchlevel-111-on-ubuntu-7-10-how/121317 "2007-11-27T21:38:01Z")

</div>

The ruby from Ubuntu’s repository is 1.8.6 patch 36. So I download the 1.8.6 p111 source and: ./configure make make install I have ruby 1.8.6 p111 installed. However, I got some loaderror like readline… How can I …

---

## [Rake Tasks... undefined method \`get\_alerts'](https://www.ruby-forum.com/t/rake-tasks-undefined-method-get-alerts/121375)

<div class="topic-metadata">

**Author:** [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Replies:** 2\
**Last updated:** [November 27, 2007, 8:29pm UTC](https://www.ruby-forum.com/t/rake-tasks-undefined-method-get-alerts/121375 "2007-11-27T20:29:05Z")

</div>

Hi i’m finishing off my RAKE Task to send out alert emails to all the active users, and using RAKE Tasks to do this. I’ve written a task to do the work and placed this in /lib/utils.rake of my app. running it via… r…

---

## [How to change all values for object](https://www.ruby-forum.com/t/how-to-change-all-values-for-object/121376)

<div class="topic-metadata">

**Author:** [@Bober](https://www.ruby-forum.com/u/Bober)\
**Replies:** 3\
**Last updated:** [November 27, 2007, 7:20pm UTC](https://www.ruby-forum.com/t/how-to-change-all-values-for-object/121376 "2007-11-27T19:20:50Z")

</div>

Hello! I need change all values of Active Record Object // Post - obiekt AR @invo = Post.find(params\[:id\]) @a = @invo.attributes @a.each { |m, n| @invo.m = “new\_value” } But, I see "undefined method \`m=’ " what …

---

## [Executing ruby script on a Dreamhost account?](https://www.ruby-forum.com/t/executing-ruby-script-on-a-dreamhost-account/121354)

<div class="topic-metadata">

**Author:** [@pood](https://www.ruby-forum.com/u/pood)\
**Replies:** 4\
**Last updated:** [November 27, 2007, 6:46pm UTC](https://www.ruby-forum.com/t/executing-ruby-script-on-a-dreamhost-account/121354 "2007-11-27T18:46:07Z")

</div>

So far, from what I’ve read, I should use eRuby if I want to execute my program online. I’ve got Dreamhost and I know they have RoR support. There’s a couple libraries I’m using, how do I install these libraries onli…

---

## [Match every word except a substring](https://www.ruby-forum.com/t/match-every-word-except-a-substring/121393)

<div class="topic-metadata">

**Author:** [@t5in9tao](https://www.ruby-forum.com/u/t5in9tao)\
**Replies:** 2\
**Last updated:** [November 27, 2007, 6:19pm UTC](https://www.ruby-forum.com/t/match-every-word-except-a-substring/121393 "2007-11-27T18:19:14Z")

</div>

Hi, I try to write a regexp which match all possible chars, except a substring (like tag in my case). @Regexp = ‘.\*(){0}’ text = ‘…a simple string’ puts text.scan(/#{@Regexp}/).to\_s Normaly, that could be okay bec…

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

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