# Ruby

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

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

---

## [Image\_science 1.2.1 Released](https://www.ruby-forum.com/t/image-science-1-2-1-released/173764)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 0\
**Last updated:** [August 14, 2009, 10:32am UTC](https://www.ruby-forum.com/t/image-science-1-2-1-released/173764 "2009-08-14T10:32:39Z")

</div>

image\_science version 1.2.1 has been released! http://seattlerb.rubyforge.org/ImageScience.html http://rubyforge.org/projects/seattlerb ImageScience is a clean and happy Ruby library that generates thumbnails – and k…

---

## [Zenprofile 1.2.0 Released](https://www.ruby-forum.com/t/zenprofile-1-2-0-released/173761)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 0\
**Last updated:** [August 14, 2009, 10:29am UTC](https://www.ruby-forum.com/t/zenprofile-1-2-0-released/173761 "2009-08-14T10:29:08Z")

</div>

zenprofile version 1.2.0 has been released! http://rubyforge.org/projects/seattlerb zenprofiler helps answer WHAT is being called the most. spy\_on helps answer WHERE those calls are being made. ZenProfiler provides a…

---

## [Flay 1.4.0 Released](https://www.ruby-forum.com/t/flay-1-4-0-released/173760)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 0\
**Last updated:** [August 14, 2009, 10:26am UTC](https://www.ruby-forum.com/t/flay-1-4-0-released/173760 "2009-08-14T10:26:12Z")

</div>

flay version 1.4.0 has been released! http://ruby.sadi.st/ http://rubyforge.org/projects/seattlerb Flay analyzes code for structural similarities. Differences in literal values, variable, class, method names, whitesp…

---

## [Ruby2ruby 1.2.4 Released](https://www.ruby-forum.com/t/ruby2ruby-1-2-4-released/173756)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 0\
**Last updated:** [August 14, 2009, 10:21am UTC](https://www.ruby-forum.com/t/ruby2ruby-1-2-4-released/173756 "2009-08-14T10:21:31Z")

</div>

ruby2ruby version 1.2.4 has been released! http://seattlerb.rubyforge.org/ http://rubyforge.org/projects/seattlerb ruby2ruby provides a means of generating pure ruby code easily from RubyParser compatible Sexps. This…

---

## [Simple If](https://www.ruby-forum.com/t/simple-if/173681)

<div class="topic-metadata">

**Author:** [@pmckinstry](https://www.ruby-forum.com/u/pmckinstry)\
**Replies:** 7\
**Last updated:** [August 14, 2009, 10:05am UTC](https://www.ruby-forum.com/t/simple-if/173681 "2009-08-14T10:05:08Z")

</div>

Sorry for total newbie question here - in a method a particular id could be passed as a variable or as part of the has - how what would be the equivalent in ruby of the following Perl ? my $id = (exists $hash-\>{id}) ?…

---

## [Ri commandline interface chnages](https://www.ruby-forum.com/t/ri-commandline-interface-chnages/173738)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 2\
**Last updated:** [August 14, 2009, 8:43am UTC](https://www.ruby-forum.com/t/ri-commandline-interface-chnages/173738 "2009-08-14T08:43:12Z")

</div>

What happened to ri command’s --list-names option? A script of mine was dependent on that and now that I’ve upgraded my rdoc installation it’s gone.

---

## [Problem with rubyscript2exe](https://www.ruby-forum.com/t/problem-with-rubyscript2exe/173748)

<div class="topic-metadata">

**Author:** [@woodzer](https://www.ruby-forum.com/u/woodzer)\
**Replies:** 2\
**Last updated:** [August 14, 2009, 7:30am UTC](https://www.ruby-forum.com/t/problem-with-rubyscript2exe/173748 "2009-08-14T07:30:38Z")

</div>

I’ve installed the gem and required it in my script. Then I navigate to the directory of my script and type: rubyscript2exe Sequence.rb I get: The filename, directory name, or volume label syntax is incorrect. rubys…

---

## [ChangeLog for r2004 (ruby-mode.el)](https://www.ruby-forum.com/t/changelog-for-r2004-ruby-mode-el/173544)

<div class="topic-metadata">

**Author:** [@TAKAHASHI\_Kaoru](https://www.ruby-forum.com/u/TAKAHASHI_Kaoru)\
**Replies:** 3\
**Last updated:** [August 14, 2009, 6:32am UTC](https://www.ruby-forum.com/t/changelog-for-r2004-ruby-mode-el/173544 "2009-08-14T06:32:05Z")

</div>

é«˜æ©‹@TNTã§ã™ã€‚ \[ruby-list:33415\] \[ruby-list:33417\] ã«é–¢ã™ã‚‹ ChangeLog ã¸ã®ãƒ‘ãƒƒãƒã‚’ æ·»ä»˜ã„ãŸã—ã¾ã™ã€‚svnã§ã¯ r2004 ã®åˆ†ã§ã™ã€‚ Emacs 23.1ã«å…¥ã£ã¦ã„ã‚‹ruby-mode.elã«ã‚‚ã“ã®ã‚³ãƒ¼ãƒ‰ã…

---

## [Move a file](https://www.ruby-forum.com/t/move-a-file/173672)

<div class="topic-metadata">

**Author:** [@bloodniece](https://www.ruby-forum.com/u/bloodniece)\
**Replies:** 4\
**Last updated:** [August 14, 2009, 6:06am UTC](https://www.ruby-forum.com/t/move-a-file/173672 "2009-08-14T06:06:20Z")

</div>

I looked around here and could not find a similar example. please help. My goal is to mv a file like so: mv /tmp/dev.log /usr/local/dev.log.tst using Ruby 1.8.7 ruby /tmp/test /tmp/test:8: syntax error, unexpected ‘…

---

## [Treequel 1.0.0](https://www.ruby-forum.com/t/treequel-1-0-0/173742)

<div class="topic-metadata">

**Author:** [@mgreenly](https://www.ruby-forum.com/u/mgreenly)\
**Replies:** 0\
**Last updated:** [August 14, 2009, 2:40am UTC](https://www.ruby-forum.com/t/treequel-1-0-0/173742 "2009-08-14T02:40:19Z")

</div>

Version 1.0.0 of Treequel has been released. Treequel is an LDAP toolkit for Ruby. It is intended to allow quick, easy access to LDAP directories in a manner consistent with LDAP’s hierarchical, free-form nature. I…

---

## [A few quick newbie questions](https://www.ruby-forum.com/t/a-few-quick-newbie-questions/173728)

<div class="topic-metadata">

**Author:** [@peterbe](https://www.ruby-forum.com/u/peterbe)\
**Replies:** 2\
**Last updated:** [August 14, 2009, 12:19am UTC](https://www.ruby-forum.com/t/a-few-quick-newbie-questions/173728 "2009-08-14T00:19:24Z")

</div>

Hi A few things I’m wondering - if anyone can answer without too much trouble! (I know if I google enough I could learn what’s going on…) I’m trying to make a string of url parameters, like this: “&#{unless category…

---

## [On Close Application Event Action](https://www.ruby-forum.com/t/on-close-application-event-action/173703)

<div class="topic-metadata">

**Author:** [@simonsaid](https://www.ruby-forum.com/u/simonsaid)\
**Replies:** 2\
**Last updated:** [August 13, 2009, 11:39pm UTC](https://www.ruby-forum.com/t/on-close-application-event-action/173703 "2009-08-13T23:39:35Z")

</div>

Ok I am editting google sketchups base and I have built a ruby plugin however I want an event to happen on close. So when you open sketchup it opens somthing called a components panel which I am doing with, status = …

---

## [Ruby on Rails Opportunity: New York, NY](https://www.ruby-forum.com/t/ruby-on-rails-opportunity-new-york-ny/173731)

<div class="topic-metadata">

**Author:** [@rubyrecruiter11](https://www.ruby-forum.com/u/rubyrecruiter11)\
**Replies:** 0\
**Last updated:** [August 13, 2009, 11:16pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-opportunity-new-york-ny/173731 "2009-08-13T23:16:03Z")

</div>

Ruby Software Engineer- 6 month contract plus extensions, if an ideal candidate, may be taken perm Project Description: The Programmer/Analyst is a Ruby on Rails developer participating in high-profile technology pro…

---

## [The ordinal 284 could not be located](https://www.ruby-forum.com/t/the-ordinal-284-could-not-be-located/173723)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 1\
**Last updated:** [August 13, 2009, 10:22pm UTC](https://www.ruby-forum.com/t/the-ordinal-284-could-not-be-located/173723 "2009-08-13T22:22:23Z")

</div>

At work I just switched over to a new computer, and when I did I tried to run some ruby scrips to update some fields on the database and I get the following error: The ordinal 284 could not be located in the dynamic l…

---

## [Ohai](https://www.ruby-forum.com/t/ohai/173724)

<div class="topic-metadata">

**Author:** [@Black\_Hat\_Sowhat](https://www.ruby-forum.com/u/Black_Hat_Sowhat)\
**Replies:** 0\
**Last updated:** [August 13, 2009, 10:20pm UTC](https://www.ruby-forum.com/t/ohai/173724 "2009-08-13T22:20:44Z")

</div>

hi everyone!, i’m new here! http://archivoperdido.com

---

## [Skip\_before\_filter (Do I need a lesson in modules/mixins?)](https://www.ruby-forum.com/t/skip-before-filter-do-i-need-a-lesson-in-modules-mixins/173663)

<div class="topic-metadata">

**Author:** [@cristie](https://www.ruby-forum.com/u/cristie)\
**Replies:** 12\
**Last updated:** [August 13, 2009, 8:50pm UTC](https://www.ruby-forum.com/t/skip-before-filter-do-i-need-a-lesson-in-modules-mixins/173663 "2009-08-13T20:50:36Z")

</div>

Gurus, I am reading the O’Reilly book “Rails: Up and Running, 2nd Edition” and the author told me to add the following line of code: skip\_before\_filter :verify\_authenticity\_token as follows: class SlidesController \< …

---

## [SOAP access Ruby](https://www.ruby-forum.com/t/soap-access-ruby/173697)

<div class="topic-metadata">

**Author:** [@bogea](https://www.ruby-forum.com/u/bogea)\
**Replies:** 3\
**Last updated:** [August 13, 2009, 8:24pm UTC](https://www.ruby-forum.com/t/soap-access-ruby/173697 "2009-08-13T20:24:14Z")

</div>

Hey, I am having trouble calling a web service with ruby. factory = SOAP::WSDLDriverFactory.new(‘https://api.affili.net/V2.0/Logon.svc?wsdl’) driver = factory.create\_rpc\_driver parameters = { ‘Username’ =\> ‘’, ‘Pa…

---

## [How to use Net::HTTP.get to retrieve passed parameter?](https://www.ruby-forum.com/t/how-to-use-net-http-get-to-retrieve-passed-parameter/173719)

<div class="topic-metadata">

**Author:** [@davidstokar](https://www.ruby-forum.com/u/davidstokar)\
**Replies:** 1\
**Last updated:** [August 13, 2009, 8:10pm UTC](https://www.ruby-forum.com/t/how-to-use-net-http-get-to-retrieve-passed-parameter/173719 "2009-08-13T20:10:46Z")

</div>

A third party has written a program that passes a parameter via the GET method. I need to use it to call a Ruby script and pass a parameter. I have researched and experimented for days and cannot figure out how to re…

---

## [Destroying related objects doubt ... basic oop question](https://www.ruby-forum.com/t/destroying-related-objects-doubt-basic-oop-question/173513)

<div class="topic-metadata">

**Author:** [@sohdubom](https://www.ruby-forum.com/u/sohdubom)\
**Replies:** 15\
**Last updated:** [August 13, 2009, 6:37pm UTC](https://www.ruby-forum.com/t/destroying-related-objects-doubt-basic-oop-question/173513 "2009-08-13T18:37:40Z")

</div>

::Destroying related objects doubt One thing that is confusing me is regarding the lifecycle of the associated objects and the related data in the database. Suppose we have an example of object composition and in this…

---

## [One Way to Write VCRuntime-Independent Extensions on Windows](https://www.ruby-forum.com/t/one-way-to-write-vcruntime-independent-extensions-on-windows/173712)

<div class="topic-metadata">

**Author:** [@night\_stalker](https://www.ruby-forum.com/u/night_stalker)\
**Replies:** 0\
**Last updated:** [August 13, 2009, 6:07pm UTC](https://www.ruby-forum.com/t/one-way-to-write-vcruntime-independent-extensions-on-windows/173712 "2009-08-13T18:07:23Z")

</div>

Solve (rather stupid): Don’t use ruby’s includes and libs. Use Win32 API GetProcAddress(hmodule, strFunction) to locate ruby’s C-APIs. The following is a simple experiment with VC2008 Express and ruby191-mswin32\_90 a…

---

## [Setting Default Character Encodings ruby 1.9](https://www.ruby-forum.com/t/setting-default-character-encodings-ruby-1-9/173706)

<div class="topic-metadata">

**Author:** [@bfsog](https://www.ruby-forum.com/u/bfsog)\
**Replies:** 1\
**Last updated:** [August 13, 2009, 4:49pm UTC](https://www.ruby-forum.com/t/setting-default-character-encodings-ruby-1-9/173706 "2009-08-13T16:49:44Z")

</div>

This is probably something stupid simple I’m overlooking… but… here it goes. I’m trying to set the default character encoding at the command line like this: ruby19 -E ASCII-8BIT:ASCII-8BIT scratch.rb my scratch.rb f…

---

## [Background on why Ruby doesn't support ++](https://www.ruby-forum.com/t/background-on-why-ruby-doesnt-support/173677)

<div class="topic-metadata">

**Author:** [@b1gtuna](https://www.ruby-forum.com/u/b1gtuna)\
**Replies:** 5\
**Last updated:** [August 13, 2009, 4:13pm UTC](https://www.ruby-forum.com/t/background-on-why-ruby-doesnt-support/173677 "2009-08-13T16:13:26Z")

</div>

Hi All, I’m a big Ruby fan and I’m not trying to complain. I’m just curious as to why Ruby doesn’t support the ++ or – operators. Is there some syntactical ambiguity that’s associated with it or something. Anyone kn…

---

## [Noob question on combining variables](https://www.ruby-forum.com/t/noob-question-on-combining-variables/173696)

<div class="topic-metadata">

**Author:** [@bingobob](https://www.ruby-forum.com/u/bingobob)\
**Replies:** 7\
**Last updated:** [August 13, 2009, 3:40pm UTC](https://www.ruby-forum.com/t/noob-question-on-combining-variables/173696 "2009-08-13T15:40:20Z")

</div>

Sorry for such an uber noob question but I could do with a quick pointer on this. How do I combine file\_ and another variable NOT like this clearly… count = 1 file\_"#{count}".save count += 1 file\_"#{count}".save …

---

## [Use Ruby to create Win executable?](https://www.ruby-forum.com/t/use-ruby-to-create-win-executable/173552)

<div class="topic-metadata">

**Author:** [@xinelo](https://www.ruby-forum.com/u/xinelo)\
**Replies:** 10\
**Last updated:** [August 13, 2009, 2:05pm UTC](https://www.ruby-forum.com/t/use-ruby-to-create-win-executable/173552 "2009-08-13T14:05:58Z")

</div>

Hi, I would like to post a general question about the convenience of using Ruby to program a simple application consisting of an interface where the user inputs some options and that interacts with another program’s …

---

## [Class(es) become NIL .. how?](https://www.ruby-forum.com/t/class-es-become-nil-how/173689)

<div class="topic-metadata">

**Author:** [@KollSSSSr\_LSSSSszl](https://www.ruby-forum.com/u/KollSSSSr_LSSSSszl)\
**Replies:** 0\
**Last updated:** [August 13, 2009, 11:37am UTC](https://www.ruby-forum.com/t/class-es-become-nil-how/173689 "2009-08-13T11:37:15Z")

</div>

Hi, I’ve written a mail gateway in ruby. It is in the log-run (stress)test phase. I’ve encounter the following weird phenomen: The daemon suddenly forgot one of its class that is rather the class became to NIL. Soon …

---

## [\[ANN\] geodesic 1.0.0 released](https://www.ruby-forum.com/t/ann-geodesic-1-0-0-released/173687)

<div class="topic-metadata">

**Author:** [@kookjr](https://www.ruby-forum.com/u/kookjr)\
**Replies:** 0\
**Last updated:** [August 13, 2009, 10:34am UTC](https://www.ruby-forum.com/t/ann-geodesic-1-0-0-released/173687 "2009-08-13T10:34:17Z")

</div>

geodesic version 1.0.0 has been released! http://github.com/kookjr/geodesic Geodesic is a Ruby library for calculating distance and bearing on the Earth’s surface using longitude and latitude. I found it helpful in …

---

## [Dnssd 1.2 Released](https://www.ruby-forum.com/t/dnssd-1-2-released/173676)

<div class="topic-metadata">

**Author:** [@Chad\_F](https://www.ruby-forum.com/u/Chad_F)\
**Replies:** 1\
**Last updated:** [August 13, 2009, 7:37am UTC](https://www.ruby-forum.com/t/dnssd-1-2-released/173676 "2009-08-13T07:37:15Z")

</div>

dnssd version 1.2 has been released! http://rubyforge.org/projects/dnssd http://github.com/tenderlove/dnssd DNS Service Discovery (aka Bonjour, MDNS) API for Ruby. Implements browsing, resolving, registration and d…

---

## [In-memory implementation of IO class](https://www.ruby-forum.com/t/in-memory-implementation-of-io-class/173674)

<div class="topic-metadata">

**Author:** [@ate50eggs](https://www.ruby-forum.com/u/ate50eggs)\
**Replies:** 4\
**Last updated:** [August 13, 2009, 7:23am UTC](https://www.ruby-forum.com/t/in-memory-implementation-of-io-class/173674 "2009-08-13T07:23:12Z")

</div>

Is there an implementation of the IO class that operates on in-memory byte arrays (or other data structure)? I haven’t seen anything in the core/stdlib.

---

## [Configuring Textmate for Ruby 1.9.1](https://www.ruby-forum.com/t/configuring-textmate-for-ruby-1-9-1/173643)

<div class="topic-metadata">

**Author:** [@exile](https://www.ruby-forum.com/u/exile)\
**Replies:** 8\
**Last updated:** [August 13, 2009, 4:05am UTC](https://www.ruby-forum.com/t/configuring-textmate-for-ruby-1-9-1/173643 "2009-08-13T04:05:45Z")

</div>

I had just installed Ruby 1.9.1 using MacPorts, but TextMate still interprets Ruby 1.8.6. I had gone into my Shell Variables under preferences and set the following: Variable: TM\_RUBY Path: ./opt/local/bin/ruby1.9 (…

---

## [Ruby 1.9 evaled from C doesn't load libraries properly](https://www.ruby-forum.com/t/ruby-1-9-evaled-from-c-doesnt-load-libraries-properly/173525)

<div class="topic-metadata">

**Author:** [@alexmic](https://www.ruby-forum.com/u/alexmic)\
**Replies:** 3\
**Last updated:** [August 13, 2009, 12:43am UTC](https://www.ruby-forum.com/t/ruby-1-9-evaled-from-c-doesnt-load-libraries-properly/173525 "2009-08-13T00:43:56Z")

</div>

Ok, so I’m using C++ in a project called Titanium and trying to evaluate Ruby (1.9). The code looks something like this: ruby\_init(); ruby\_init\_loadpath(); rb\_set\_safe\_level(0); ruby\_script("ruby"); rb\_eval\_stri…

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

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