# Ruby

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

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

---

## [Update Ruby/Tk for Ruby(1.9|1.8) and Tcl/Tk8.5](https://www.ruby-forum.com/t/update-ruby-tk-for-ruby-1-9-1-8-and-tcl-tk8-5/133248)

<div class="topic-metadata">

**Author:** [@Hidetoshi\_NAGAI](https://www.ruby-forum.com/u/Hidetoshi_NAGAI)\
**Replies:** 1\
**Last updated:** [March 30, 2008, 8:10pm UTC](https://www.ruby-forum.com/t/update-ruby-tk-for-ruby-1-9-1-8-and-tcl-tk8-5/133248 "2008-03-30T20:10:40Z")

</div>

Hi, I committed updates of Ruby/Tk on SVN trunk and ruby\_1\_8. Now, almost all part of Ruby/Tk will work with Ruby 1.9. It’s a large change (e.g. the diff-file from previous Ruby 1.8 release has over 20,000 lines) to …

---

## [HTTP GET requests in a Ruby CGI Script](https://www.ruby-forum.com/t/http-get-requests-in-a-ruby-cgi-script/133227)

<div class="topic-metadata">

**Author:** [@ben](https://www.ruby-forum.com/u/ben)\
**Replies:** 5\
**Last updated:** [March 30, 2008, 8:06pm UTC](https://www.ruby-forum.com/t/http-get-requests-in-a-ruby-cgi-script/133227 "2008-03-30T20:06:11Z")

</div>

Website: http://unchartedmess.com/plaingoogle I’ve attached the script code and the website is listed above. I’m working on a google frontend that filters the resulting html code from the google searches and displays …

---

## [RMagick 2.3.0 for Windows](https://www.ruby-forum.com/t/rmagick-2-3-0-for-windows/133350)

<div class="topic-metadata">

**Author:** [@timhunter](https://www.ruby-forum.com/u/timhunter)\
**Replies:** 0\
**Last updated:** [March 30, 2008, 6:46pm UTC](https://www.ruby-forum.com/t/rmagick-2-3-0-for-windows/133350 "2008-03-30T18:46:16Z")

</div>

I’ve just uploaded RMagick 2.3.0 for Windows to RubyForge \[http://rubyforge.org/projects/rmagick/\]. Please allow a few hours for the mirrors to be updated. Here’s the ChangeLog for the changes since the previous relea…

---

## [Stumped](https://www.ruby-forum.com/t/stumped/133268)

<div class="topic-metadata">

**Author:** [@jeffpritchard](https://www.ruby-forum.com/u/jeffpritchard)\
**Replies:** 4\
**Last updated:** [March 30, 2008, 5:18pm UTC](https://www.ruby-forum.com/t/stumped/133268 "2008-03-30T17:18:35Z")

</div>

I’m learning ruby by writing a hardware simulator. Since the users will be first year EE majors with no software skills, it is important that the syntax they will use to describe circuits be as clean and intuitive as …

---

## [Boolean Operators](https://www.ruby-forum.com/t/boolean-operators/133223)

<div class="topic-metadata">

**Author:** [@mdaoust](https://www.ruby-forum.com/u/mdaoust)\
**Replies:** 4\
**Last updated:** [March 30, 2008, 2:35pm UTC](https://www.ruby-forum.com/t/boolean-operators/133223 "2008-03-30T14:35:53Z")

</div>

Quick question: I know that the ‘and’ and ‘or’ operators in ruby have the same precedence, and ‘&&’ has a higher one than ‘||’ - but is there a best practise for which one to use when precedence isn’t important? Than…

---

## [Remote ip address](https://www.ruby-forum.com/t/remote-ip-address/133314)

<div class="topic-metadata">

**Author:** [@ben](https://www.ruby-forum.com/u/ben)\
**Replies:** 8\
**Last updated:** [March 30, 2008, 10:37am UTC](https://www.ruby-forum.com/t/remote-ip-address/133314 "2008-03-30T10:37:56Z")

</div>

I am going to be using a simple ip limiting system on a site I’m working on and using php you can get the remote ip simply by calling something like \<?php echo $REMOTE\_ADDR; ?\> Is there a similar method in ruby? I am …

---

## [Mysql database access! possible without rails?](https://www.ruby-forum.com/t/mysql-database-access-possible-without-rails/132937)

<div class="topic-metadata">

**Author:** [@PB0711](https://www.ruby-forum.com/u/PB0711)\
**Replies:** 5\
**Last updated:** [March 30, 2008, 8:40am UTC](https://www.ruby-forum.com/t/mysql-database-access-possible-without-rails/132937 "2008-03-30T08:40:37Z")

</div>

Hello all, again, I am very new to the ruby world and I’m trying to get a pretty simple script to open a database connection read from it do stuff with the data, write to it and finally close it. However, in the proce…

---

## [Gem problem](https://www.ruby-forum.com/t/gem-problem/132929)

<div class="topic-metadata">

**Author:** [@eltonokada](https://www.ruby-forum.com/u/eltonokada)\
**Replies:** 6\
**Last updated:** [March 30, 2008, 6:56am UTC](https://www.ruby-forum.com/t/gem-problem/132929 "2008-03-30T06:56:26Z")

</div>

i installed atom-tools sudo gem install atom-tools and i try to use in my code: require ‘rubygems’ require ‘atom-tools’ i got this error: 1.8/rubygems/custom\_require.rb:27:in \`require’: no such file to load – atom…

---

## [Issue with uninitialized constant ARG (NameError)](https://www.ruby-forum.com/t/issue-with-uninitialized-constant-arg-nameerror/133292)

<div class="topic-metadata">

**Author:** [@tuka](https://www.ruby-forum.com/u/tuka)\
**Replies:** 2\
**Last updated:** [March 30, 2008, 12:40am UTC](https://www.ruby-forum.com/t/issue-with-uninitialized-constant-arg-nameerror/133292 "2008-03-30T00:40:41Z")

</div>

Hi, I have a really wierd issue going on with command line on windows: I have 2 files C:\\Data\\Projects\\Ruby\\tests\>ruby ParseTest.rb source.csv source.csv target.au3 C:\\Data\\Projects\\Ruby\\tests\>ruby StringTest.rb so…

---

## [Scope of class instance variables?](https://www.ruby-forum.com/t/scope-of-class-instance-variables/133269)

<div class="topic-metadata">

**Author:** [@rubyfreak](https://www.ruby-forum.com/u/rubyfreak)\
**Replies:** 5\
**Last updated:** [March 29, 2008, 11:08pm UTC](https://www.ruby-forum.com/t/scope-of-class-instance-variables/133269 "2008-03-29T23:08:56Z")

</div>

I am reading Hal F.'s “The Ruby Way” On page 57 he makes the statement: “Class instance variables cannot be referenced from within instance methods and, in general are not very useful” huh?.. This , in my feeble min…

---

## [How to get raw keyboard input in windows?](https://www.ruby-forum.com/t/how-to-get-raw-keyboard-input-in-windows/133256)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [March 29, 2008, 9:30pm UTC](https://www.ruby-forum.com/t/how-to-get-raw-keyboard-input-in-windows/133256 "2008-03-29T21:30:34Z")

</div>

I have this program, it just runs and anytime the clipboard changes and contains some large size, it run the speech thing through win-sapi. So I can go to any website, highlight some text and copy it to the clipboard …

---

## [(1..5) === 3 \> true 3 === (1..5) \> false](https://www.ruby-forum.com/t/1-5-3-true-3-1-5-false/120335)

<div class="topic-metadata">

**Author:** [@mcampbell](https://www.ruby-forum.com/u/mcampbell)\
**Replies:** 10\
**Last updated:** [March 29, 2008, 8:13pm UTC](https://www.ruby-forum.com/t/1-5-3-true-3-1-5-false/120335 "2008-03-29T20:13:52Z")

</div>

(1…5) === 3 \> true 3 === (1…5) \> false Is this a bug or expected behavior? From my understanding it shouldn’t matter on which side of an equal comparison an expression appears.

---

## [Errors When Attempting "irb"](https://www.ruby-forum.com/t/errors-when-attempting-irb/133098)

<div class="topic-metadata">

**Author:** [@jacobly](https://www.ruby-forum.com/u/jacobly)\
**Replies:** 3\
**Last updated:** [March 29, 2008, 7:10pm UTC](https://www.ruby-forum.com/t/errors-when-attempting-irb/133098 "2008-03-29T19:10:01Z")

</div>

I am unable to use ruby’s interactive shell because of this ugly thing: dyld: NSLinkModule() error dyld: Symbol not found: \_rl\_filename\_completion\_function Referenced from: /usr/local/lib/ruby/1.8/i686-darwin9.2.2/re…

---

## [Can rubyscript2exe wear Shoes?](https://www.ruby-forum.com/t/can-rubyscript2exe-wear-shoes/133266)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 0\
**Last updated:** [March 29, 2008, 4:24pm UTC](https://www.ruby-forum.com/t/can-rubyscript2exe-wear-shoes/133266 "2008-03-29T16:24:20Z")

</div>

Can rubyscript2exe bundle \_why’s Shoes? T.

---

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

<div class="topic-metadata">

**Author:** [@Kirk\_Quesnelle](https://www.ruby-forum.com/u/Kirk_Quesnelle)\
**Replies:** 0\
**Last updated:** [March 29, 2008, 3:19pm UTC](https://www.ruby-forum.com/t/no-subject/196617 "2008-03-29T15:19:21Z")

</div>

unsubscribe

---

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

<div class="topic-metadata">

**Author:** [@Kirk\_Quesnelle](https://www.ruby-forum.com/u/Kirk_Quesnelle)\
**Replies:** 0\
**Last updated:** [March 29, 2008, 3:09pm UTC](https://www.ruby-forum.com/t/no-subject/133260 "2008-03-29T15:09:53Z")

</div>

unsubscribe

---

## [Errors When Installing Ruby 1.9 From Source](https://www.ruby-forum.com/t/errors-when-installing-ruby-1-9-from-source/133089)

<div class="topic-metadata">

**Author:** [@jacobly](https://www.ruby-forum.com/u/jacobly)\
**Replies:** 1\
**Last updated:** [March 29, 2008, 2:30pm UTC](https://www.ruby-forum.com/t/errors-when-installing-ruby-1-9-from-source/133089 "2008-03-29T14:30:24Z")

</div>

I have installed my ruby/rails development environment according to Dan’s wonderful write-up over at Hivelogic (Thanks Dan!!): I’m now trying to install Ruby 1.9 in the same manner. Everything goes swell until “sudo…

---

## [How to make an installer for an FXRuby app?](https://www.ruby-forum.com/t/how-to-make-an-installer-for-an-fxruby-app/133118)

<div class="topic-metadata">

**Author:** [@dewie](https://www.ruby-forum.com/u/dewie)\
**Replies:** 3\
**Last updated:** [March 29, 2008, 1:03pm UTC](https://www.ruby-forum.com/t/how-to-make-an-installer-for-an-fxruby-app/133118 "2008-03-29T13:03:30Z")

</div>

I have FXRuby working on OS X. If I write an app in Ruby/FXRuby and get it working, how do I package it so that people on Windows, \*nix, and OS X all can have a one-click installer for my app?

---

## [Creating an exe package for a ruby program (not rubyscript2exe)](https://www.ruby-forum.com/t/creating-an-exe-package-for-a-ruby-program-not-rubyscript2exe/133245)

<div class="topic-metadata">

**Author:** [@llothar](https://www.ruby-forum.com/u/llothar)\
**Replies:** 1\
**Last updated:** [March 29, 2008, 11:26am UTC](https://www.ruby-forum.com/t/creating-an-exe-package-for-a-ruby-program-not-rubyscript2exe/133245 "2008-03-29T11:26:05Z")

</div>

I remember there was a tool from a japanese guy who created real exe files from ruby programs. Not a simple hidden unzipper like rubyscript2exe. It stored bytecodes for ruby source files and was also able to pack DLL’…

---

## [IronRuby in Action.... On its way](https://www.ruby-forum.com/t/ironruby-in-action-on-its-way/133252)

<div class="topic-metadata">

**Author:** [@rahil](https://www.ruby-forum.com/u/rahil)\
**Replies:** 0\
**Last updated:** [March 29, 2008, 11:17am UTC](https://www.ruby-forum.com/t/ironruby-in-action-on-its-way/133252 "2008-03-29T11:17:53Z")

</div>

Hello, Its nice to know that books are getting announced for IronRuby. I knew that Ivan Porto C., is writing a book on IronRuby, but was unaware about the Title. Ok… its now officially declared as " IronRuby in Actio…

---

## [Ruby Forum as Image Host](https://www.ruby-forum.com/t/ruby-forum-as-image-host/133249)

<div class="topic-metadata">

**Author:** [@darthastley](https://www.ruby-forum.com/u/darthastley)\
**Replies:** 0\
**Last updated:** [March 29, 2008, 8:56am UTC](https://www.ruby-forum.com/t/ruby-forum-as-image-host/133249 "2008-03-29T08:56:24Z")

</div>

Interesting observation: Ruby forum allows file uploads, with the resulting URL usable anywhere, not just from Ruby Forum. Has anyone tried using this as an ad-hoc image hosting hack? Darth Astley Never gonna give y…

---

## [CMS application doubts?](https://www.ruby-forum.com/t/cms-application-doubts/196613)

<div class="topic-metadata">

**Author:** [@varunkumargoel](https://www.ruby-forum.com/u/varunkumargoel)\
**Replies:** 1\
**Last updated:** [March 29, 2008, 8:49am UTC](https://www.ruby-forum.com/t/cms-application-doubts/196613 "2008-03-29T08:49:10Z")

</div>

Hi All, I am creating on CMS application and there i am providing feature to create document. I have some issue about scalibilty in CMS: How to make size limitation when user is going to create document. How to …

---

## [File download in Rails](https://www.ruby-forum.com/t/file-download-in-rails/133244)

<div class="topic-metadata">

**Author:** [@wujciol](https://www.ruby-forum.com/u/wujciol)\
**Replies:** 0\
**Last updated:** [March 29, 2008, 7:27am UTC](https://www.ruby-forum.com/t/file-download-in-rails/133244 "2008-03-29T07:27:18Z")

</div>

I’ve got problem with allow user to download file. This is sending method: class DownloadController \< ApplicationController def send @headers\[“Content-Type”\] = ("./public/files/"+params\[:path\]+"/"+params\[:name\]).con…

---

## [Accessing mixer values](https://www.ruby-forum.com/t/accessing-mixer-values/133086)

<div class="topic-metadata">

**Author:** [@ruud](https://www.ruby-forum.com/u/ruud)\
**Replies:** 3\
**Last updated:** [March 29, 2008, 5:42am UTC](https://www.ruby-forum.com/t/accessing-mixer-values/133086 "2008-03-29T05:42:57Z")

</div>

hi group I want to read the volume of the mixer device with a ruby script. Can anybody tell me what the ruby equivalent is of what the MIXER\_READ macro does in C? #define SOUND\_MIXER\_VOLUME 0 #define SOUND\_MIXER\_RE…

---

## [Betabrite 1.0.2 Released](https://www.ruby-forum.com/t/betabrite-1-0-2-released/133235)

<div class="topic-metadata">

**Author:** [@aaronpowell](https://www.ruby-forum.com/u/aaronpowell)\
**Replies:** 0\
**Last updated:** [March 29, 2008, 5:10am UTC](https://www.ruby-forum.com/t/betabrite-1-0-2-released/133235 "2008-03-29T05:10:57Z")

</div>

betabrite version 1.0.2 has been released! http://rubyforge.org/projects/betabrite/ http://betabrite.rubyforge.org/ removed\_email\_address@domain.invalid Provides a Ruby interface to BetaBrite LED signs. Changes: 1.…

---

## [Error installing libxml](https://www.ruby-forum.com/t/error-installing-libxml/133163)

<div class="topic-metadata">

**Author:** [@mihai](https://www.ruby-forum.com/u/mihai)\
**Replies:** 4\
**Last updated:** [March 29, 2008, 12:11am UTC](https://www.ruby-forum.com/t/error-installing-libxml/133163 "2008-03-29T00:11:10Z")

</div>

i have this error: gem install libxml-ruby Building native extensions. This could take a while… ERROR: Error installing libxml-ruby: ERROR: Failed to build gem native extension. c:/ruby/bin/ruby.exe extconf.rb ins…

---

## [Use of gruff, RMAgick for dynamic Graphying](https://www.ruby-forum.com/t/use-of-gruff-rmagick-for-dynamic-graphying/133210)

<div class="topic-metadata">

**Author:** [@ribes](https://www.ruby-forum.com/u/ribes)\
**Replies:** 4\
**Last updated:** [March 28, 2008, 10:46pm UTC](https://www.ruby-forum.com/t/use-of-gruff-rmagick-for-dynamic-graphying/133210 "2008-03-28T22:46:48Z")

</div>

Team, Last year, 12/10/2007, I submitted a question (Is there a Ruby utility for graphing?) about doing graph in Ruby. I received many good suggestions and recommendations, such as: ImageMagic, RMagick, gruff, gnu…

---

## [Rake only works once from rails](https://www.ruby-forum.com/t/rake-only-works-once-from-rails/133044)

<div class="topic-metadata">

**Author:** [@ddancer](https://www.ruby-forum.com/u/ddancer)\
**Replies:** 3\
**Last updated:** [March 28, 2008, 10:10pm UTC](https://www.ruby-forum.com/t/rake-only-works-once-from-rails/133044 "2008-03-28T22:10:18Z")

</div>

sorry this is rails related, but I think it’s more of a Rake thing I’ve made a rake task that I’m running from my rails, and it works - but only once. If I then restart the server (mongrel) it works again - once. I …

---

## [Instance\_variable\_et](https://www.ruby-forum.com/t/instance-variable-et/133052)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 11\
**Last updated:** [March 28, 2008, 10:04pm UTC](https://www.ruby-forum.com/t/instance-variable-et/133052 "2008-03-28T22:04:56Z")

</div>

Just spinning wheels this evening… Why does #instance\_variable\_get/set require an “@” sign in front of the variable name? It’s not like there is any other valid instance variable name, is there? And why can’t #instan…

---

## [Ruby-debug-ide error on Ubuntu](https://www.ruby-forum.com/t/ruby-debug-ide-error-on-ubuntu/133208)

<div class="topic-metadata">

**Author:** [@lubosp](https://www.ruby-forum.com/u/lubosp)\
**Replies:** 0\
**Last updated:** [March 28, 2008, 7:19pm UTC](https://www.ruby-forum.com/t/ruby-debug-ide-error-on-ubuntu/133208 "2008-03-28T19:19:20Z")

</div>

Hi, I am seeing following error when I use /ruby-debug-ide 0.1.10 from Eclipse 3.3: /var/lib/gems/1.8/gems/ruby-debug-ide-0.1.10/lib/ruby-debug.rb:87:in wait': stopping only thread (ThreadError) note: use sleep to s…

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

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