# Ruby

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

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

---

## [Help choose my project for Ruby Mendicant](https://www.ruby-forum.com/t/help-choose-my-project-for-ruby-mendicant/197062)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 5:55pm UTC](https://www.ruby-forum.com/t/help-choose-my-project-for-ruby-mendicant/197062 "2008-03-24T17:55:40Z")

</div>

Hi folks, So far, the Ruby Mendicant (rubymendicant.wikidot.com) fundraising campaign has been going great. == News About Donations == Over the last couple weeks, I’ve received contributions from 53 people, running …

---

## [Mysql ruby prob](https://www.ruby-forum.com/t/mysql-ruby-prob/132774)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [March 24, 2008, 5:10pm UTC](https://www.ruby-forum.com/t/mysql-ruby-prob/132774 "2008-03-24T17:10:07Z")

</div>

Hi, after hours of reading and searching i can’t get the solution code: require ‘mysql’ my = Mysql.new(“localhost”, “user”, “”, “database”) data = my.query(“select \* from books Limit 5”) p “first time” data.each {…

---

## [: Mole, a Ruby browser](https://www.ruby-forum.com/t/mole-a-ruby-browser/132770)

<div class="topic-metadata">

**Author:** [@pedro](https://www.ruby-forum.com/u/pedro)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 4:12pm UTC](https://www.ruby-forum.com/t/mole-a-ruby-browser/132770 "2008-03-24T16:12:01Z")

</div>

Hi, I would like to have some feedback in this \[1\] google summer of code proposal. " \[… \] The goal of this project is create an interactive interface that make easy to inspect (at run-time) the state of the environm…

---

## [GSoC 2008 Project Ideas page not found!](https://www.ruby-forum.com/t/gsoc-2008-project-ideas-page-not-found/132762)

<div class="topic-metadata">

**Author:** [@michaeln](https://www.ruby-forum.com/u/michaeln)\
**Replies:** 2\
**Last updated:** [March 24, 2008, 3:37pm UTC](https://www.ruby-forum.com/t/gsoc-2008-project-ideas-page-not-found/132762 "2008-03-24T15:37:46Z")

</div>

Hi, The Project Ideas link on http://code.google.com/soc/2008/ruby/about.html leads to a non-existing page! Could someone please fix that? Regards, Michael

---

## [Card reader or bar code reader in ruby ? URGENT HELP](https://www.ruby-forum.com/t/card-reader-or-bar-code-reader-in-ruby-urgent-help/132734)

<div class="topic-metadata">

**Author:** [@mokkai](https://www.ruby-forum.com/u/mokkai)\
**Replies:** 1\
**Last updated:** [March 24, 2008, 3:12pm UTC](https://www.ruby-forum.com/t/card-reader-or-bar-code-reader-in-ruby-urgent-help/132734 "2008-03-24T15:12:21Z")

</div>

hai all i am new to ruby on rails how to manipulate (read/write) card readers (or bar code reader ) in ruby program ? give me any sample code or tutorials or tools or etc (whatever). i am new to this card reader ca…

---

## [Process.daemon kills other threads](https://www.ruby-forum.com/t/process-daemon-kills-other-threads/132760)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 2:28pm UTC](https://www.ruby-forum.com/t/process-daemon-kills-other-threads/132760 "2008-03-24T14:28:25Z")

</div>

e$B;W$$=P$7$?$s$G$9$,!"8=:\_$Ne(B Ruby 1.9 e$B$Ne(B Process.daemon e$B$G$OB\>e(B e$B$N%9%l%C%I$,;\`$K$^$9!#e(B % ./ruby -e ’ Thread.new { loop { p :a; sleep 0.1 } } sleep 1 Process.daemon(false, false) sleep 10 ’ :…

---

## [Improving Fixnum#gcd(Fixnum)](https://www.ruby-forum.com/t/improving-fixnum-gcd-fixnum/132752)

<div class="topic-metadata">

**Author:** [@Akinori\_MUSHA](https://www.ruby-forum.com/u/Akinori_MUSHA)\
**Replies:** 1\
**Last updated:** [March 24, 2008, 2:25pm UTC](https://www.ruby-forum.com/t/improving-fixnum-gcd-fixnum/132752 "2008-03-24T14:25:28Z")

</div>

ã€€å¸¸ã« Integer#gcd(Integer) ã‚’ä½¿ã†ã®ã¯é…ã„ã®ã§ Fixnum#gcd(Fixnum) ã‚’ ç”¨æ„ã™ã‚Œã° Rational ã‚’å§‹ã‚ã¨ã—ã¦æ€§èƒ½ãŒå¤§å¹…æ”¹å–„ã™ã‚‹ã‚ˆã€ã¨ã®ã“ã¨ã€‚ http://rubyforge.org/tracker/index.php?func=…

---

## [Backporting features from 1.9 to 1.8](https://www.ruby-forum.com/t/backporting-features-from-1-9-to-1-8/132755)

<div class="topic-metadata">

**Author:** [@Akinori\_MUSHA](https://www.ruby-forum.com/u/Akinori_MUSHA)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 2:05pm UTC](https://www.ruby-forum.com/t/backporting-features-from-1-9-to-1-8/132755 "2008-03-24T14:05:55Z")

</div>

ã€€ä¸€æ—¥é…ã‚Œã¾ã—ãŸãŒã€Ruby 1.8.7ã«å‘ã‘ã€1.9ã‹ã‚‰ãƒãƒƒã‚¯ãƒãƒ¼ãƒˆã™ã‚‹ æ©Ÿèƒ½ã®è¦æœ›ã‚’ç· ã‚åˆ‡ã‚Šã¾ã—ãŸã€‚ http://rubyforge.org/tracker/?atid=22040&group\_id=426&func=browse ã€€ä½œæ¥­é‡ã®è¦‹ç©ã…

---

## [Sytem hook for instance names?](https://www.ruby-forum.com/t/sytem-hook-for-instance-names/132692)

<div class="topic-metadata">

**Author:** [@jeffpritchard](https://www.ruby-forum.com/u/jeffpritchard)\
**Replies:** 14\
**Last updated:** [March 24, 2008, 11:52am UTC](https://www.ruby-forum.com/t/sytem-hook-for-instance-names/132692 "2008-03-24T11:52:17Z")

</div>

Is there a system hook that allows a method to get an instance’s symbol from its’ object id? i.e. a=SomeObject.new SomeSystemhook(a) =\> :a (or “a” I suppose) For the curious, here’s a rather long winded explanation …

---

## [I can't install the rails 2's plugin scaffolding](https://www.ruby-forum.com/t/i-cant-install-the-rails-2s-plugin-scaffolding/132743)

<div class="topic-metadata">

**Author:** [@YoungKing](https://www.ruby-forum.com/u/YoungKing)\
**Replies:** 1\
**Last updated:** [March 24, 2008, 11:26am UTC](https://www.ruby-forum.com/t/i-cant-install-the-rails-2s-plugin-scaffolding/132743 "2008-03-24T11:26:49Z")

</div>

When I entered the following command: ruby script/plugin install scaffolding it promoted as follows: ./MIT-LICENSE ./README ./Rakefile Plugin not found: \[“scaffolding”\] Even I do it this ways, ruby script/plugi…

---

## [Question about Array#\*](https://www.ruby-forum.com/t/question-about-array/132744)

<div class="topic-metadata">

**Author:** [@Magicloud\_M](https://www.ruby-forum.com/u/Magicloud_M)\
**Replies:** 2\
**Last updated:** [March 24, 2008, 11:22am UTC](https://www.ruby-forum.com/t/question-about-array/132744 "2008-03-24T11:22:40Z")

</div>

Hello, In ri 'Array#\*', it says that the result is the concatenation of copies of self if the argument is an int. So, it is “COPY”. Then why something like ‘\[\[0\]\] \* 10’, returns an array, that each element is a poin…

---

## [Example in ruby for implimenting scheduling by rufus-schedul](https://www.ruby-forum.com/t/example-in-ruby-for-implimenting-scheduling-by-rufus-schedul/132745)

<div class="topic-metadata">

**Author:** [@bishnubapi](https://www.ruby-forum.com/u/bishnubapi)\
**Replies:** 1\
**Last updated:** [March 24, 2008, 10:54am UTC](https://www.ruby-forum.com/t/example-in-ruby-for-implimenting-scheduling-by-rufus-schedul/132745 "2008-03-24T10:54:23Z")

</div>

hi all, I am new to ruby on rail. my requirement is to add two numbers in ruby using rufus-scheduler . my code is as follows:- require ‘rubygems’ require ‘rufus/scheduler’ scheduler =Rufus::Scheduler.new scheduler…

---

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

<div class="topic-metadata">

**Author:** [@chaiyya](https://www.ruby-forum.com/u/chaiyya)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 10:05am UTC](https://www.ruby-forum.com/t/no-subject/132742 "2008-03-24T10:05:00Z")

</div>

unsubscribe

---

## [Is license of gserver.rb in Ruby package "freeware"? Thanks](https://www.ruby-forum.com/t/is-license-of-gserver-rb-in-ruby-package-freeware-thanks/132527)

<div class="topic-metadata">

**Author:** [@XiaoLiang\_Liu](https://www.ruby-forum.com/u/XiaoLiang_Liu)\
**Replies:** 6\
**Last updated:** [March 24, 2008, 2:33am UTC](https://www.ruby-forum.com/t/is-license-of-gserver-rb-in-ruby-package-freeware-thanks/132527 "2008-03-24T02:33:55Z")

</div>

Hello, I found that in Ruby package there’s a file named gserver.rb, the licence of which is “freeware”. I searched freeware licence on internet, but I didn’t find the content of the licence. Does anyone know freew…

---

## [Extending ruby with C++](https://www.ruby-forum.com/t/extending-ruby-with-c/132486)

<div class="topic-metadata">

**Author:** [@7stud](https://www.ruby-forum.com/u/7stud)\
**Replies:** 16\
**Last updated:** [March 24, 2008, 12:03am UTC](https://www.ruby-forum.com/t/extending-ruby-with-c/132486 "2008-03-24T00:03:32Z")

</div>

I’m using this old (2001) mini tutorial: http://www.angelfire.com/electronic2/issac/rb\_cpp\_ext\_tut.txt When I run make, I get this error: $ make cc -bundle -L"/usr/lib" -o Test.bundle Test.o -lruby -lpthread -ldl …

---

## [Open Web Vancouver 2008: A Conference on Open Web Technologies](https://www.ruby-forum.com/t/open-web-vancouver-2008-a-conference-on-open-web-technologies/132716)

<div class="topic-metadata">

**Author:** [@Mike\_Cantelon](https://www.ruby-forum.com/u/Mike_Cantelon)\
**Replies:** 0\
**Last updated:** [March 23, 2008, 11:52pm UTC](https://www.ruby-forum.com/t/open-web-vancouver-2008-a-conference-on-open-web-technologies/132716 "2008-03-23T23:52:23Z")

</div>

When: Monday April 14 - Tuesday April 15th 2008 Where: Vancouver Convention & Exhibition Centre (VCEC), 999 Canada Place. What: A conference showcasing open source technologies, communities and culture. We are featur…

---

## [Food Database (#159)](https://www.ruby-forum.com/t/food-database-159/131894)

<div class="topic-metadata">

**Author:** [@mansfiem](https://www.ruby-forum.com/u/mansfiem)\
**Replies:** 14\
**Last updated:** [March 23, 2008, 10:37pm UTC](https://www.ruby-forum.com/t/food-database-159/131894 "2008-03-23T22:37:39Z")

</div>

Note that because I am traveling tomorrow, I’ve posted this week’s quiz a bit early. The three rules of Ruby Q. 2: Please do not post any solutions or spoiler discussion for this quiz until 48 hours have passed fro…

---

## [A script that keeps track of your favorite Git/SVN projects?](https://www.ruby-forum.com/t/a-script-that-keeps-track-of-your-favorite-git-svn-projects/132711)

<div class="topic-metadata">

**Author:** [@SSKyrre\_NygSSSSrdSS](https://www.ruby-forum.com/u/SSKyrre_NygSSSSrdSS)\
**Replies:** 1\
**Last updated:** [March 23, 2008, 10:11pm UTC](https://www.ruby-forum.com/t/a-script-that-keeps-track-of-your-favorite-git-svn-projects/132711 "2008-03-23T22:11:05Z")

</div>

Hi there, Has anybody ever written a script that keeps track of your favorite Git (and SVN) projects? E.g. sends you an e-mail every time a revision has been made, with details like the summary, time and date, author …

---

## [Re: Planning to change IronRuby.sln to a VS 2008	project](https://www.ruby-forum.com/t/re-planning-to-change-ironruby-sln-to-a-vs-2008-project/132700)

<div class="topic-metadata">

**Author:** [@John\_LSSDLR](https://www.ruby-forum.com/u/John_LSSDLR)\
**Replies:** 3\
**Last updated:** [March 23, 2008, 8:39pm UTC](https://www.ruby-forum.com/t/re-planning-to-change-ironruby-sln-to-a-vs-2008-project/132700 "2008-03-23T20:39:56Z")

</div>

Last time i talked to Miguel, he said that they were done implementing linq modulo bugs. John Sent from my phone From: Matthew M. removed\_email\_address@domain.invalid Sent: Sunday, March 23, 2008 10:08 AM To: rem…

---

## [Stale ActiveRecord Object](https://www.ruby-forum.com/t/stale-activerecord-object/132704)

<div class="topic-metadata">

**Author:** [@jh100000](https://www.ruby-forum.com/u/jh100000)\
**Replies:** 1\
**Last updated:** [March 23, 2008, 7:46pm UTC](https://www.ruby-forum.com/t/stale-activerecord-object/132704 "2008-03-23T19:46:35Z")

</div>

In a non-rails application, I am using AR as my ORM. I am using an AR object in multiple places in my application. At one point, I update the AR object and commit the changes to the db. Later, I access that AR object…

---

## [Online console for IronRuby... Any Plans...?](https://www.ruby-forum.com/t/online-console-for-ironruby-any-plans/132635)

<div class="topic-metadata">

**Author:** [@rahil](https://www.ruby-forum.com/u/rahil)\
**Replies:** 5\
**Last updated:** [March 23, 2008, 6:41pm UTC](https://www.ruby-forum.com/t/online-console-for-ironruby-any-plans/132635 "2008-03-23T18:41:28Z")

</div>

Hi, Its nice to know few new things today. As per this blog… http://www.hanselman.com/blog/IronPythonAndTheDLRMarchOn.aspx (1) Iron python has reached 2.0 beta 1 version (2) Djano is running on IronPython with SqlSe…

---

## [IronPython & Silverlight 2 Tutorial with Demos and	Downloads](https://www.ruby-forum.com/t/ironpython-silverlight-2-tutorial-with-demos-and-downloads/132666)

<div class="topic-metadata">

**Author:** [@mifi](https://www.ruby-forum.com/u/mifi)\
**Replies:** 4\
**Last updated:** [March 23, 2008, 6:26pm UTC](https://www.ruby-forum.com/t/ironpython-silverlight-2-tutorial-with-demos-and-downloads/132666 "2008-03-23T18:26:11Z")

</div>

Hello all, My first post to the IronRuby list, sorry it is mainly about IronPython (and sorry for the HTML in the post - I plead special circumstances and won’t do it again). I’ve just put up articles and demos based…

---

## [A shell provider's choice of Ruby IRC bots and bouncers](https://www.ruby-forum.com/t/a-shell-providers-choice-of-ruby-irc-bots-and-bouncers/132693)

<div class="topic-metadata">

**Author:** [@SSKyrre\_NygSSSSrdSS](https://www.ruby-forum.com/u/SSKyrre_NygSSSSrdSS)\
**Replies:** 0\
**Last updated:** [March 23, 2008, 4:28pm UTC](https://www.ruby-forum.com/t/a-shell-providers-choice-of-ruby-irc-bots-and-bouncers/132693 "2008-03-23T16:28:57Z")

</div>

Hello, I have a friend who runs a server providing IRC services like Eggdrop and psyBNC. Wait! I’ve told him time and time again that there’s no money (nor prestige) in this type of business, but he won’t listen. Sin…

---

## [Is 'Class.new(Class)' valid?](https://www.ruby-forum.com/t/is-class-new-class-valid/132690)

<div class="topic-metadata">

**Author:** [@rucila](https://www.ruby-forum.com/u/rucila)\
**Replies:** 0\
**Last updated:** [March 23, 2008, 3:48pm UTC](https://www.ruby-forum.com/t/is-class-new-class-valid/132690 "2008-03-23T15:48:57Z")

</div>

nagachika e$B$H?=$7$^$9!#e(B RHGe$B$N5U=1$K8~$1$Fe(B class.c e$B$rFI$s$G$$$F5$$,$D$$$?$N$G$9$,e(B e$B!"e(B class … end e$B9=J8$G%/%i%9$rDj5A$9$k\>l9g$Oe(B superclass e$B$Ke(B Class e$B$r;XDj$9$k$HNc30$,H/@8$7$^$9$,!"e…

---

## [Active Record Invalid Statement](https://www.ruby-forum.com/t/active-record-invalid-statement/132680)

<div class="topic-metadata">

**Author:** [@jh100000](https://www.ruby-forum.com/u/jh100000)\
**Replies:** 1\
**Last updated:** [March 23, 2008, 1:11pm UTC](https://www.ruby-forum.com/t/active-record-invalid-statement/132680 "2008-03-23T13:11:39Z")

</div>

Can anyone help identify the cause of the exception below? Mysql::Error: Lost connection to MySQL server during query: SELECT \* FROM pages WHERE (pages.url = ‘http://vidsys.com/Solutions/Surveillance-Solutions/tabid…

---

## [\#meta](https://www.ruby-forum.com/t/meta/132651)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 15\
**Last updated:** [March 23, 2008, 1:06pm UTC](https://www.ruby-forum.com/t/meta/132651 "2008-03-23T13:06:19Z")

</div>

I’ve come across a number of occasions where methods like #class\_attr\_accessor, or #module\_alias\_method are defined. It’s nice to have those, but it seems to me this isn’t very DRY since the methods for these things a…

---

## [XCode, Mac OS X, Ruby C Extension](https://www.ruby-forum.com/t/xcode-mac-os-x-ruby-c-extension/197061)

<div class="topic-metadata">

**Author:** [@wladjmir](https://www.ruby-forum.com/u/wladjmir)\
**Replies:** 5\
**Last updated:** [March 23, 2008, 11:26am UTC](https://www.ruby-forum.com/t/xcode-mac-os-x-ruby-c-extension/197061 "2008-03-23T11:26:43Z")

</div>

Hi, i 've a problem trying to compile a simple C Extension, that actually do nothing, only print an hello message. If from XCode i create and build a new Ruby C Extension, then i try to recall it from a ruby script, …

---

## [Any Idea?](https://www.ruby-forum.com/t/any-idea/132656)

<div class="topic-metadata">

**Author:** [@eder](https://www.ruby-forum.com/u/eder)\
**Replies:** 8\
**Last updated:** [March 23, 2008, 8:58am UTC](https://www.ruby-forum.com/t/any-idea/132656 "2008-03-23T08:58:03Z")

</div>

How to make something similar to this kind of stuff(the highlighted code): http://redhanded.hobix.com/inspect/randomNumberInAFeedForPipesMaybe.html#comments

---

## [Can't install rmagick](https://www.ruby-forum.com/t/cant-install-rmagick/132670)

<div class="topic-metadata">

**Author:** [@rajatgarg](https://www.ruby-forum.com/u/rajatgarg)\
**Replies:** 2\
**Last updated:** [March 23, 2008, 7:51am UTC](https://www.ruby-forum.com/t/cant-install-rmagick/132670 "2008-03-23T07:51:15Z")

</div>

Hi Guys, I am trying to install gem - rmagick on Windows and not able to do so. I get following error message (run through Netbeans IDE) INFO: gem install -y is now default and will be removed INFO: use --ignore-…

---

## [Planning to change IronRuby.sln to a VS 2008 project](https://www.ruby-forum.com/t/planning-to-change-ironruby-sln-to-a-vs-2008-project/132577)

<div class="topic-metadata">

**Author:** [@John\_LSSDLR](https://www.ruby-forum.com/u/John_LSSDLR)\
**Replies:** 15\
**Last updated:** [March 23, 2008, 5:54am UTC](https://www.ruby-forum.com/t/planning-to-change-ironruby-sln-to-a-vs-2008-project/132577 "2008-03-23T05:54:40Z")

</div>

If anyone strongly objects, please let me know ASAP. Thanks, -John

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

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