# Ruby

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

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

---

## [Library documenting tutorial](https://www.ruby-forum.com/t/library-documenting-tutorial/87874)

<div class="topic-metadata">

**Author:** [@Victor\_SZverokSS\_Sh](https://www.ruby-forum.com/u/Victor_SZverokSS_Sh)\
**Replies:** 3\
**Last updated:** [March 6, 2007, 8:17pm UTC](https://www.ruby-forum.com/t/library-documenting-tutorial/87874 "2007-03-06T20:17:20Z")

</div>

Hi all. Is there something like tutorial on documenting my own libraries with RDoc? I’m interested not in technical details, but in ideological advices and common practicies. Thanks. V.

---

## [Permission of files installed from rubygems](https://www.ruby-forum.com/t/permission-of-files-installed-from-rubygems/87899)

<div class="topic-metadata">

**Author:** [@reflex](https://www.ruby-forum.com/u/reflex)\
**Replies:** 0\
**Last updated:** [March 6, 2007, 6:47pm UTC](https://www.ruby-forum.com/t/permission-of-files-installed-from-rubygems/87899 "2007-03-06T18:47:02Z")

</div>

Hello I have some system administration libraries that I would like to install as a gem on my servers. However, these servers also have local users who should not be able to require those libraries from their scripts…

---

## [Error when specifying proxy](https://www.ruby-forum.com/t/error-when-specifying-proxy/87898)

<div class="topic-metadata">

**Author:** [@Behrang\_S](https://www.ruby-forum.com/u/Behrang_S)\
**Replies:** 1\
**Last updated:** [March 6, 2007, 6:45pm UTC](https://www.ruby-forum.com/t/error-when-specifying-proxy/87898 "2007-03-06T18:45:01Z")

</div>

Hi, When I set the HTTP\_PROXY env var to user:pass@http://proxy.monash.edu.au:8080 and run gem to install Rials, I get the following error: C:\\Documents and Settings\\Behrang\>gem install rails --remote ERROR: While …

---

## [Thread reading from a pipe blocks other threads, why?](https://www.ruby-forum.com/t/thread-reading-from-a-pipe-blocks-other-threads-why/87829)

<div class="topic-metadata">

**Author:** [@Anders\_Lindgren](https://www.ruby-forum.com/u/Anders_Lindgren)\
**Replies:** 3\
**Last updated:** [March 6, 2007, 4:50pm UTC](https://www.ruby-forum.com/t/thread-reading-from-a-pipe-blocks-other-threads-why/87829 "2007-03-06T16:50:33Z")

</div>

Hi! I’m implementing an application where the main Ruby program spawns off a number of external programs using pipes. Each pipe is handled by its own thread. Well, so far so good… Unfortunately, I’m having problems s…

---

## [Gops (#116)](https://www.ruby-forum.com/t/gops-116/87423)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 17\
**Last updated:** [March 6, 2007, 4:32pm UTC](https://www.ruby-forum.com/t/gops-116/87423 "2007-03-06T16:32:29Z")

</div>

The three rules of Ruby Q.: Please do not post any solutions or spoiler discussion for this quiz until 48 hours have passed from the time on this message. Support Ruby Q. by submitting ideas as often as you can: …

---

## [JRuby 0.9.8 released](https://www.ruby-forum.com/t/jruby-0-9-8-released/87803)

<div class="topic-metadata">

**Author:** [@Thomas\_E](https://www.ruby-forum.com/u/Thomas_E)\
**Replies:** 1\
**Last updated:** [March 6, 2007, 3:43pm UTC](https://www.ruby-forum.com/t/jruby-0-9-8-released/87803 "2007-03-06T15:43:17Z")

</div>

The JRuby team is pleased to announce the release of JRuby 0.9.8. Homepage: http://www.jruby.org/ Download: http://dist.codehaus.org/jruby/ This release has some great improvements: Ruby on Rails support. We have be…

---

## [Require within a module: path question](https://www.ruby-forum.com/t/require-within-a-module-path-question/87865)

<div class="topic-metadata">

**Author:** [@dfg59](https://www.ruby-forum.com/u/dfg59)\
**Replies:** 1\
**Last updated:** [March 6, 2007, 3:32pm UTC](https://www.ruby-forum.com/t/require-within-a-module-path-question/87865 "2007-03-06T15:32:15Z")

</div>

All - It seems to me that if I create a module, a.rb, and a script that require’s that module, b.rb, something interesting happens. In this case, my a relies on other external files in the project, so I must require …

---

## [Silly(?) request](https://www.ruby-forum.com/t/silly-request/87783)

<div class="topic-metadata">

**Author:** [@kyle\_s](https://www.ruby-forum.com/u/kyle_s)\
**Replies:** 11\
**Last updated:** [March 6, 2007, 3:29pm UTC](https://www.ruby-forum.com/t/silly-request/87783 "2007-03-06T15:29:14Z")

</div>

Does anyone know if it’s possible to pipe the output of a command to a running instance of irb? I said it was silly. But it seems like it would be really useful. Something along the lines of #nix\>find ./ -name ".fo…

---

## [Error connecting to Oracle 10g w/ ActiveRecord](https://www.ruby-forum.com/t/error-connecting-to-oracle-10g-w-activerecord/87785)

<div class="topic-metadata">

**Author:** [@dfg59](https://www.ruby-forum.com/u/dfg59)\
**Replies:** 2\
**Last updated:** [March 6, 2007, 3:17pm UTC](https://www.ruby-forum.com/t/error-connecting-to-oracle-10g-w-activerecord/87785 "2007-03-06T15:17:57Z")

</div>

All - I’m attempting to connect to an Oracle 10g DB with ActiveRecord. The code is working fine on a different machine, so I’m assuming I’ve somehow installed oci (although this machine is on an office internal netwo…

---

## [Pls help me am new how can i set session and cow can i retr](https://www.ruby-forum.com/t/pls-help-me-am-new-how-can-i-set-session-and-cow-can-i-retr/87847)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [March 6, 2007, 2:59pm UTC](https://www.ruby-forum.com/t/pls-help-me-am-new-how-can-i-set-session-and-cow-can-i-retr/87847 "2007-03-06T14:59:03Z")

</div>

in php : set the session session start() $\_SESSION(“uid”)=“damu”; retrieve:from session $username=$\_SESSION(“uid”) similarly how can i set session in ruby on rails… and retrive explain clearly…please…

---

## [Can say the login window code how to check the loigin names](https://www.ruby-forum.com/t/can-say-the-login-window-code-how-to-check-the-loigin-names/87845)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [March 6, 2007, 2:59pm UTC](https://www.ruby-forum.com/t/can-say-the-login-window-code-how-to-check-the-loigin-names/87845 "2007-03-06T14:59:03Z")

</div>

iam new one to ruby am write the code to login.rhtml page: \<%= text\_field ‘login’ , ‘usname’ %\> \<%= password\_field ‘login’, ‘passd’ %\> \<%=button\_to “chk”, :action =\> ‘authorized’%\> if i want to click the chk button…

---

## [Best way to determine the memory footprint of an object](https://www.ruby-forum.com/t/best-way-to-determine-the-memory-footprint-of-an-object/87827)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 3\
**Last updated:** [March 6, 2007, 2:51pm UTC](https://www.ruby-forum.com/t/best-way-to-determine-the-memory-footprint-of-an-object/87827 "2007-03-06T14:51:02Z")

</div>

I’d like to be able to estimate how much memory a given object requires. What is the best/easiest way to do this? One thing that occurred to me was the Marshal.dump the object to a file and look at that, although loo…

---

## [Rbconfig (LoadError)](https://www.ruby-forum.com/t/rbconfig-loaderror/87814)

<div class="topic-metadata">

**Author:** [@chrisolsen](https://www.ruby-forum.com/u/chrisolsen)\
**Replies:** 8\
**Last updated:** [March 6, 2007, 2:51pm UTC](https://www.ruby-forum.com/t/rbconfig-loaderror/87814 "2007-03-06T14:51:02Z")

</div>

I am trying to install ruby on ubuntu Edgy, but this is the error that I am getting. I should mention that when I first tried to install ruby I got an error after running “ruby setup.rb” (yip it did work at one point…

---

## [Yahoo!'s Ruby Developer Center](https://www.ruby-forum.com/t/yahoo-s-ruby-developer-center/87819)

<div class="topic-metadata">

**Author:** [@zakifataya](https://www.ruby-forum.com/u/zakifataya)\
**Replies:** 3\
**Last updated:** [March 6, 2007, 2:33pm UTC](https://www.ruby-forum.com/t/yahoo-s-ruby-developer-center/87819 "2007-03-06T14:33:00Z")

</div>

"Welcome to the Ruby Developer Center Ruby is a very popular open-source language which lends itself especially well to object-oriented programming for the Web. If you’ve ever thought about combining Ruby with Yahoo…

---

## [Rcairo 1.4.0](https://www.ruby-forum.com/t/rcairo-1-4-0/87863)

<div class="topic-metadata">

**Author:** [@Kouhei\_S](https://www.ruby-forum.com/u/Kouhei_S)\
**Replies:** 0\
**Last updated:** [March 6, 2007, 2:23pm UTC](https://www.ruby-forum.com/t/rcairo-1-4-0/87863 "2007-03-06T14:23:58Z")

</div>

Hi, I released rcairo 1.4.0 that supports cairo 1.4.0 release at 3 hours ago: http://cairographics.org/releases/rcairo-1.4.0.tar.gz http://cairographics.org/releases/rcairo-1.4.0.tar.gz.md5 efb370e819e5ce354d42a01f5…

---

## [Are there texinfo documentations available?](https://www.ruby-forum.com/t/are-there-texinfo-documentations-available/87851)

<div class="topic-metadata">

**Author:** [@Christoph\_Conrad](https://www.ruby-forum.com/u/Christoph_Conrad)\
**Replies:** 1\
**Last updated:** [March 6, 2007, 12:16pm UTC](https://www.ruby-forum.com/t/are-there-texinfo-documentations-available/87851 "2007-03-06T12:16:13Z")

</div>

Hi, i would like to integrate the doc into emacs. Are texinfo docs of the language and the packages available? Best regards, Christoph

---

## [XMLRPC Problem](https://www.ruby-forum.com/t/xmlrpc-problem/87764)

<div class="topic-metadata">

**Author:** [@deadinplastic](https://www.ruby-forum.com/u/deadinplastic)\
**Replies:** 4\
**Last updated:** [March 6, 2007, 11:19am UTC](https://www.ruby-forum.com/t/xmlrpc-problem/87764 "2007-03-06T11:19:22Z")

</div>

Hello, I am trying to run a small test case here and it times out on me all the time: Here is my code: require ‘xmlrpc/client’ require ‘pp’ applicationName = “Demo AcceptanceTestingApp” server = XMLRPC::Client.ne…

---

## [MD5.md5 in RubyGems](https://www.ruby-forum.com/t/md5-md5-in-rubygems/87833)

<div class="topic-metadata">

**Author:** [@Kazuhiro\_Y](https://www.ruby-forum.com/u/Kazuhiro_Y)\
**Replies:** 2\
**Last updated:** [March 6, 2007, 11:17am UTC](https://www.ruby-forum.com/t/md5-md5-in-rubygems/87833 "2007-03-06T11:17:22Z")

</div>

moriqe$B$G$9!#e(B e$B\<!$N$h$&$Ke(B RubyGems e$B$Ge(B require ‘md5’ e$B$r;H$C$F$$$k$N$Ge(B ruby-1.8.6 e$B$K\>e$2$k$H$&$^$/$$$+$J$/$J$j$=$&$G$9!#e(B rubygems-0.9.2/lib/rubygems/validator.rb: ## # Given a gem file's cont…

---

## [Re: How do I find a Windows process with a specific Window T](https://www.ruby-forum.com/t/re-how-do-i-find-a-windows-process-with-a-specific-window-t/87841)

<div class="topic-metadata">

**Author:** [@scoundrel](https://www.ruby-forum.com/u/scoundrel)\
**Replies:** 0\
**Last updated:** [March 6, 2007, 11:02am UTC](https://www.ruby-forum.com/t/re-how-do-i-find-a-windows-process-with-a-specific-window-t/87841 "2007-03-06T11:02:19Z")

</div>

Hi there. I’m still kind of new to scripting with Ruby. I have written a small Ruby/Fox app that displays a message in a window at regular intervals. The ‘regular intervals’ part is done using the Windows Task Sch…

---

## [RubyInline](https://www.ruby-forum.com/t/rubyinline/87456)

<div class="topic-metadata">

**Author:** [@markcasio](https://www.ruby-forum.com/u/markcasio)\
**Replies:** 18\
**Last updated:** [March 6, 2007, 10:03am UTC](https://www.ruby-forum.com/t/rubyinline/87456 "2007-03-06T10:03:09Z")

</div>

I’m using RubyInline-3.6.2 and am having trouble getting this simple example to work. require ‘rubygems’ require ‘inline’ class Example inline do |builder| builder.c " int simple() { int x = 10; return x; }" e…

---

## [Nifty one-liner to search ObjectSpace?](https://www.ruby-forum.com/t/nifty-one-liner-to-search-objectspace/87793)

<div class="topic-metadata">

**Author:** [@Giles\_B](https://www.ruby-forum.com/u/Giles_B)\
**Replies:** 12\
**Last updated:** [March 6, 2007, 9:26am UTC](https://www.ruby-forum.com/t/nifty-one-liner-to-search-objectspace/87793 "2007-03-06T09:26:03Z")

</div>

Say I’ve got a class and I know it has subclasses. I’m absolutely sure there must be an irb ObjectSpace one-liner to give me all the subclasses of an arbitrary class. The best I have right now is based on a solution t…

---

## [Excel date conversion](https://www.ruby-forum.com/t/excel-date-conversion/87719)

<div class="topic-metadata">

**Author:** [@wkc](https://www.ruby-forum.com/u/wkc)\
**Replies:** 4\
**Last updated:** [March 6, 2007, 9:24am UTC](https://www.ruby-forum.com/t/excel-date-conversion/87719 "2007-03-06T09:24:01Z")

</div>

Is there a way to convert the excel date number i.e. 34516 into a datestring: 01-Jul-94 Thanks

---

## [Ok, Uncle on Rmagic](https://www.ruby-forum.com/t/ok-uncle-on-rmagic/87699)

<div class="topic-metadata">

**Author:** [@divotdave](https://www.ruby-forum.com/u/divotdave)\
**Replies:** 6\
**Last updated:** [March 6, 2007, 9:20am UTC](https://www.ruby-forum.com/t/ok-uncle-on-rmagic/87699 "2007-03-06T09:20:10Z")

</div>

I am a total newb in RoR. But this community looks awesome. Am really looking forward to learning Ruby and its elements. Having said that, the following is a really crummy problem. Am running Fedora Core 6. Ruby in…

---

## [PlanMachine9 - any interest?](https://www.ruby-forum.com/t/planmachine9-any-interest/87069)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 24\
**Last updated:** [March 6, 2007, 9:16am UTC](https://www.ruby-forum.com/t/planmachine9-any-interest/87069 "2007-03-06T09:16:00Z")

</div>

In my spare time I created a library in Ruby that mimics something I needed at work. I call it PlanMachine9 (from outer space), and you can find what I threw together here: http://phrogz.net/RubyLibs/PlanMachine9/ I’…

---

## [Marshal.dump/load limitations on size?](https://www.ruby-forum.com/t/marshal-dump-load-limitations-on-size/87792)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 4\
**Last updated:** [March 6, 2007, 8:14am UTC](https://www.ruby-forum.com/t/marshal-dump-load-limitations-on-size/87792 "2007-03-06T08:14:54Z")

</div>

All, Does anyone know if there are any implicit limitations to the size of an object that Marshal.dump/load can handle? I have a biiig object that I’m trying to dump and load and it seems to be failing and I just wan…

---

## [ThreadError on shell.rb](https://www.ruby-forum.com/t/threaderror-on-shell-rb/87583)

<div class="topic-metadata">

**Author:** [@Akira\_ODA](https://www.ruby-forum.com/u/Akira_ODA)\
**Replies:** 7\
**Last updated:** [March 6, 2007, 7:27am UTC](https://www.ruby-forum.com/t/threaderror-on-shell-rb/87583 "2007-03-06T07:27:48Z")

</div>

e$B$O$8$a$^$7$F!"HxED$H$$$$$^$9!#e(B shell.rb e$B$r;H$C$?$A$g$C$H$7$?%9%/%j%W%H$r=q$$$FBgNL$N%U%!%$%ke(B(3000e$B%U%!%$%k!(e(B 11GB)e$B$re(B e$B=hM}$7$F$$$?$iESCf$G;\_$^$C$F$7$^$$$^$7$?!#e(B e$B%9%/%j%W%H\<+BN$KLdBj$O$…

---

## [Ruby/TK packForget method](https://www.ruby-forum.com/t/ruby-tk-packforget-method/87723)

<div class="topic-metadata">

**Author:** [@alexd](https://www.ruby-forum.com/u/alexd)\
**Replies:** 1\
**Last updated:** [March 6, 2007, 5:10am UTC](https://www.ruby-forum.com/t/ruby-tk-packforget-method/87723 "2007-03-06T05:10:39Z")

</div>

Is there a Ruby/TK equivalent to the Perl/TK packForget or gridForget methods, which will remove a widget from display, but doesn’t destroy the widget?

---

## [ActiveRecord-JDBC 0.2.3 Released](https://www.ruby-forum.com/t/activerecord-jdbc-0-2-3-released/87810)

<div class="topic-metadata">

**Author:** [@nicksnels](https://www.ruby-forum.com/u/nicksnels)\
**Replies:** 0\
**Last updated:** [March 6, 2007, 4:41am UTC](https://www.ruby-forum.com/t/activerecord-jdbc-0-2-3-released/87810 "2007-03-06T04:41:37Z")

</div>

ActiveRecord-JDBC version 0.2.3 has been released! http://jruby-extras.rubyforge.org/ActiveRecord-JDBC ActiveRecord-JDBC is a database adapter for Rails’ ActiveRecord component that can be used with JRuby \[http://www.…

---

## [How to run a command line command](https://www.ruby-forum.com/t/how-to-run-a-command-line-command/87755)

<div class="topic-metadata">

**Author:** [@nephish](https://www.ruby-forum.com/u/nephish)\
**Replies:** 5\
**Last updated:** [March 6, 2007, 4:00am UTC](https://www.ruby-forum.com/t/how-to-run-a-command-line-command/87755 "2007-03-06T04:00:34Z")

</div>

lo there all i have an app that i want to launch an application from. i use linux with a bash shell. If i want to launch a program from my terminal, i use ./myprogram or /home/myuser/myprogram how could i do somet…

---

## [Newbie Question](https://www.ruby-forum.com/t/newbie-question/87290)

<div class="topic-metadata">

**Author:** [@dick](https://www.ruby-forum.com/u/dick)\
**Replies:** 22\
**Last updated:** [March 6, 2007, 3:46am UTC](https://www.ruby-forum.com/t/newbie-question/87290 "2007-03-06T03:46:33Z")

</div>

Hi, I am new to Ruby. This is the very first class I am writing and it doesn’t seem that Ruby is designed to handle what I thought should work. Why doesn’t the below work? class Song \< ActiveRecord::Base @@dcounts …

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

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