# Ruby

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

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

---

## [Irb not recognized in windows command line](https://www.ruby-forum.com/t/irb-not-recognized-in-windows-command-line/142281)

<div class="topic-metadata">

**Author:** [@bert\_a](https://www.ruby-forum.com/u/bert_a)\
**Replies:** 8\
**Last updated:** [April 19, 2009, 10:10pm UTC](https://www.ruby-forum.com/t/irb-not-recognized-in-windows-command-line/142281 "2009-04-19T22:10:19Z")

</div>

I’m reading Beginning Ruby and followed the installation process , using the one-click installer for Windows from Ruby Forge. I successfully loaded fxri. Received the following message after typing irb in the Windows…

---

## [Some for fun benchmarking of JRuby Trunk](https://www.ruby-forum.com/t/some-for-fun-benchmarking-of-jruby-trunk/165512)

<div class="topic-metadata">

**Author:** [@Zachary\_Brown](https://www.ruby-forum.com/u/Zachary_Brown)\
**Replies:** 2\
**Last updated:** [April 19, 2009, 9:57pm UTC](https://www.ruby-forum.com/t/some-for-fun-benchmarking-of-jruby-trunk/165512 "2009-04-19T21:57:18Z")

</div>

Hi all, Did some benchmarking on MRI/JRuby to see if there’d be a noticeable increase in performance in some of the work I typically do. For background, most of what I use Ruby for these days is processing data outp…

---

## [REG: How can we debug a ruby script](https://www.ruby-forum.com/t/reg-how-can-we-debug-a-ruby-script/164266)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [April 19, 2009, 7:24pm UTC](https://www.ruby-forum.com/t/reg-how-can-we-debug-a-ruby-script/164266 "2009-04-19T19:24:17Z")

</div>

Hi, I want to debug a ruby script using -rdebug option. The following is the source code: with file fact.rb. Fact.rb def fact(n) return 1 if n == 0 f = 1 n.downto(1) do |i| f \*= i end return f end print fact(…

---

## [Using pipe, but subprocess didn't flush](https://www.ruby-forum.com/t/using-pipe-but-subprocess-didnt-flush/165896)

<div class="topic-metadata">

**Author:** [@kim\_jun\_young](https://www.ruby-forum.com/u/kim_jun_young)\
**Replies:** 1\
**Last updated:** [April 19, 2009, 6:20pm UTC](https://www.ruby-forum.com/t/using-pipe-but-subprocess-didnt-flush/165896 "2009-04-19T18:20:30Z")

</div>

hi, all, I wanna to execute subprocess and catch subprocess’ output from a pipe in a parent process. but, unfortunately, a subprocess didn’t flush it’s output in stdout. As a result, the parent process cannot recogni…

---

## [Delete Enitre column in excel using ruby code](https://www.ruby-forum.com/t/delete-enitre-column-in-excel-using-ruby-code/165905)

<div class="topic-metadata">

**Author:** [@rubist](https://www.ruby-forum.com/u/rubist)\
**Replies:** 1\
**Last updated:** [April 19, 2009, 5:46pm UTC](https://www.ruby-forum.com/t/delete-enitre-column-in-excel-using-ruby-code/165905 "2009-04-19T17:46:06Z")

</div>

Hi All, I need to delete entire column(GB) in excel using ruby code. let me whether i should write some code or is there a way to call an macro in excel. whichever is simpler or easy way to maintain.

---

## [Ruby - gems not](https://www.ruby-forum.com/t/ruby-gems-not/165888)

<div class="topic-metadata">

**Author:** [@devirv](https://www.ruby-forum.com/u/devirv)\
**Replies:** 2\
**Last updated:** [April 19, 2009, 4:47pm UTC](https://www.ruby-forum.com/t/ruby-gems-not/165888 "2009-04-19T16:47:28Z")

</div>

Hi I am trying to load Ruby and Gems on my laptop right from 24 hours. I installed and uninstalled the whole modules, 3 times but of no use. there is one error being thrownout when loading the gems. But at the irb —i…

---

## [Junctions for Ruby1.9 (Lab419::functional-0.1.2)](https://www.ruby-forum.com/t/junctions-for-ruby1-9-lab419-functional-0-1-2/165831)

<div class="topic-metadata">

**Author:** [@flatekmonkey](https://www.ruby-forum.com/u/flatekmonkey)\
**Replies:** 13\
**Last updated:** [April 19, 2009, 4:23pm UTC](https://www.ruby-forum.com/t/junctions-for-ruby1-9-lab419-functional-0-1-2/165831 "2009-04-19T16:23:47Z")

</div>

Hi list Lab419::functional contains an implementation of Perl6’s junctions now http://rubyforge.org/frs/?group\_id=3824&release\_id=33503 Enjoy Junctions A pure Ruby implementation of Junctions as planned for Perl6. \[…

---

## [\[Bug #1163\] gem\_prelude raise NoMethodError if require uninsalled gem with version](https://www.ruby-forum.com/t/bug-1163-gem-prelude-raise-nomethoderror-if-require-uninsalled-gem-with-version/160360)

<div class="topic-metadata">

**Author:** [@Kyosuke\_MOROHASHI](https://www.ruby-forum.com/u/Kyosuke_MOROHASHI)\
**Replies:** 2\
**Last updated:** [April 19, 2009, 6:28am UTC](https://www.ruby-forum.com/t/bug-1163-gem-prelude-raise-nomethoderror-if-require-uninsalled-gem-with-version/160360 "2009-04-19T06:28:04Z")

</div>

Bug #1163: gem\_prelude raise NoMethodError if require uninsalled gem with version. http://redmine.ruby-lang.org/issues/show/1163 e$B5/I\<\<Te(B: Kyosuke MOROHASHI e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal ruby -v: …

---

## [Question about running ant test on JRuby 1.2 in github](https://www.ruby-forum.com/t/question-about-running-ant-test-on-jruby-1-2-in-github/165884)

<div class="topic-metadata">

**Author:** [@stevej](https://www.ruby-forum.com/u/stevej)\
**Replies:** 2\
**Last updated:** [April 19, 2009, 5:31am UTC](https://www.ruby-forum.com/t/question-about-running-ant-test-on-jruby-1-2-in-github/165884 "2009-04-19T05:31:21Z")

</div>

Hi Gang, I’m new to JRuby and am trying to run the test suite for the first time on the jruby-1\_2 branch from github. Running ant test I get the following error: $ ant test \[…\] test-rake-targets: \[echo\] compile=OF…

---

## [Wait until the Window is closed](https://www.ruby-forum.com/t/wait-until-the-window-is-closed/165869)

<div class="topic-metadata">

**Author:** [@reittier](https://www.ruby-forum.com/u/reittier)\
**Replies:** 1\
**Last updated:** [April 19, 2009, 5:03am UTC](https://www.ruby-forum.com/t/wait-until-the-window-is-closed/165869 "2009-04-19T05:03:12Z")

</div>

Hi all, I have a problem with a Frame. I open a new Window calendar = Calendar.new(self) calendar.show #here i want wait set\_date\_from and I want wo wait until the Window is closed to execute the next function. I…

---

## [tkToplvel remove close,restore and minimize buttons](https://www.ruby-forum.com/t/tktoplvel-remove-close-restore-and-minimize-buttons/164156)

<div class="topic-metadata">

**Author:** [@jesus](https://www.ruby-forum.com/u/jesus)\
**Replies:** 6\
**Last updated:** [April 19, 2009, 12:51am UTC](https://www.ruby-forum.com/t/tktoplvel-remove-close-restore-and-minimize-buttons/164156 "2009-04-19T00:51:40Z")

</div>

i need to remove close,restore and minimize buttons from tk toplevel

---

## [Goodbye "Goodbye Ruby"](https://www.ruby-forum.com/t/goodbye-goodbye-ruby/165859)

<div class="topic-metadata">

**Author:** [@rjsquire](https://www.ruby-forum.com/u/rjsquire)\
**Replies:** 7\
**Last updated:** [April 18, 2009, 11:37pm UTC](https://www.ruby-forum.com/t/goodbye-goodbye-ruby/165859 "2009-04-18T23:37:59Z")

</div>

Will someone please kill off this puerile, off-topic thread? I woke up to 17 ruby-talk messages, 30% devoted to this topic. This amounts to spam. Bob Schaaf

---

## [Logging (version 1.0.0)](https://www.ruby-forum.com/t/logging-version-1-0-0/165847)

<div class="topic-metadata">

**Author:** [@timperrett](https://www.ruby-forum.com/u/timperrett)\
**Replies:** 2\
**Last updated:** [April 18, 2009, 7:43pm UTC](https://www.ruby-forum.com/t/logging-version-1-0-0/165847 "2009-04-18T19:43:52Z")

</div>

Logging version 1.0.0 by Tim P. http://logging.rubyforge.org/ == DESCRIPTION Logging is a flexible logging library for use in Ruby programs based on the design of Java’s log4j library. It features a hierarchical lo…

---

## [Gettext-2.0.1, gettext\_activerecord-2.0.1, gettext\_rails-2.0.1](https://www.ruby-forum.com/t/gettext-2-0-1-gettext-activerecord-2-0-1-gettext-rails-2-0-1/165872)

<div class="topic-metadata">

**Author:** [@Masao\_M](https://www.ruby-forum.com/u/Masao_M)\
**Replies:** 0\
**Last updated:** [April 18, 2009, 7:03pm UTC](https://www.ruby-forum.com/t/gettext-2-0-1-gettext-activerecord-2-0-1-gettext-rails-2-0-1/165872 "2009-04-18T19:03:27Z")

</div>

Hi, Ruby-GetText-Package-2.0.1 and the families (gettext-2.0.1, gettext\_activerecord-2.0.1 and gettext\_rails-2.0.1) are now available. Ruby-GetText-Package is the library/tools for message localization. gettext - M…

---

## [Locale-2.0.1, locale\_rails-2.0.1](https://www.ruby-forum.com/t/locale-2-0-1-locale-rails-2-0-1/165870)

<div class="topic-metadata">

**Author:** [@Masao\_M](https://www.ruby-forum.com/u/Masao_M)\
**Replies:** 0\
**Last updated:** [April 18, 2009, 7:01pm UTC](https://www.ruby-forum.com/t/locale-2-0-1-locale-rails-2-0-1/165870 "2009-04-18T19:01:42Z")

</div>

Hi, Ruby-Locale(locale-2.0.1) and Ruby-Locale for Ruby on Rails(locale\_rails-2.0.1) are now available. Ruby-Locale is the library to manage/detect various format of locale IDs(language tags), and provide ISO 639-3, …

---

## [Localmemcache-0.3.0: A persistent key-value database based on mmap()'ed shared memory](https://www.ruby-forum.com/t/localmemcache-0-3-0-a-persistent-key-value-database-based-on-mmap-ed-shared-memory/165755)

<div class="topic-metadata">

**Author:** [@Sven\_CSKoehler](https://www.ruby-forum.com/u/Sven_CSKoehler)\
**Replies:** 8\
**Last updated:** [April 18, 2009, 5:41pm UTC](https://www.ruby-forum.com/t/localmemcache-0-3-0-a-persistent-key-value-database-based-on-mmap-ed-shared-memory/165755 "2009-04-18T17:41:10Z")

</div>

Hi, Localmemcache-0.3.0 is ready! Persistence is officially supported now so it’s now a real key-value database like GDBM and the like. Localmemcache is a library for C and ruby that aims to provide an interface simi…

---

## [Deployment with warbler](https://www.ruby-forum.com/t/deployment-with-warbler/165857)

<div class="topic-metadata">

**Author:** [@josefslerka](https://www.ruby-forum.com/u/josefslerka)\
**Replies:** 0\
**Last updated:** [April 18, 2009, 2:24pm UTC](https://www.ruby-forum.com/t/deployment-with-warbler/165857 "2009-04-18T14:24:35Z")

</div>

Hi guys, How can I run the rake db:migrate in production once i deployed my app to glassfish. I created the war file with warbler, and i have noticed that it doesnt include the rakefile in WEB-INF. What can i do? TI…

---

## [Simple (?) question regarding the "&&" and "and" operators](https://www.ruby-forum.com/t/simple-question-regarding-the-and-and-operators/165795)

<div class="topic-metadata">

**Author:** [@pmak](https://www.ruby-forum.com/u/pmak)\
**Replies:** 4\
**Last updated:** [April 18, 2009, 9:35am UTC](https://www.ruby-forum.com/t/simple-question-regarding-the-and-and-operators/165795 "2009-04-18T09:35:40Z")

</div>

Hi, why is a = Something.new b = Something.new a and b =\> b ? I would expect it to return true. Same thing goes for the && operator Regards Philip

---

## [XXXXXXXXXXXX Come join my friend network. XXXXXXXXXXXX](https://www.ruby-forum.com/t/xxxxxxxxxxxx-come-join-my-friend-network-xxxxxxxxxxxx/165852)

<div class="topic-metadata">

**Author:** [@seenu](https://www.ruby-forum.com/u/seenu)\
**Replies:** 0\
**Last updated:** [April 18, 2009, 9:17am UTC](https://www.ruby-forum.com/t/xxxxxxxxxxxx-come-join-my-friend-network-xxxxxxxxxxxx/165852 "2009-04-18T09:17:32Z")

</div>

Health and physical fitness includes information on men's and women's health and physical fitness including advanced nutritional products for the immune ... For more more details click the below link...... ~~…

---

## [$LOADED\_FEATURES.map(&:encoding)](https://www.ruby-forum.com/t/loaded-features-map-encoding/165785)

<div class="topic-metadata">

**Author:** [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Replies:** 1\
**Last updated:** [April 18, 2009, 6:03am UTC](https://www.ruby-forum.com/t/loaded-features-map-encoding/165785 "2009-04-18T06:03:26Z")

</div>

e$B@\>;3OB9-$G$9!#e(B $LOADED\_FEATURES e$B$KF~$C$F$$$kJ8;zNs$Ne(B encoding e$B$Ke(B ASCII-8BIT e$B$He(B US-ASCII e$B$He(B locale encoding(?) e$B$,e(B e$B:.$6$C$F$$$k$N$O0U?^$7$?5sF0$G$7$g$&$+e(B? % ruby-trunk -v -r pp…

---

## [Ruby sqlite/gem error: Could not load sqlite adapter](https://www.ruby-forum.com/t/ruby-sqlite-gem-error-could-not-load-sqlite-adapter/165712)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [April 18, 2009, 2:56am UTC](https://www.ruby-forum.com/t/ruby-sqlite-gem-error-could-not-load-sqlite-adapter/165712 "2009-04-18T02:56:02Z")

</div>

The sample “c:\\tmp’Test\_sqlite.rb” generates the error: Could not load sqlite adapter, Yet, when the example is executed in the sqlite3-ruby directory, no error occur. Any suggestion or changes to the sample to r…

---

## [Ruby 1.8.6-p368 released](https://www.ruby-forum.com/t/ruby-1-8-6-p368-released/164358)

<div class="topic-metadata">

**Author:** [@Urabe\_S](https://www.ruby-forum.com/u/Urabe_S)\
**Replies:** 5\
**Last updated:** [April 18, 2009, 1:21am UTC](https://www.ruby-forum.com/t/ruby-1-8-6-p368-released/164358 "2009-04-18T01:21:29Z")

</div>

Hello all. It’s time for a new release. This time we’ve fixed dozens of bugs, including workarounds for CVE-2007-1558 and CVE-2008-1447. Many segfaults are also fixed. For a complete list of what has been fixed, pl…

---

## [Simple module method call question](https://www.ruby-forum.com/t/simple-module-method-call-question/165789)

<div class="topic-metadata">

**Author:** [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Replies:** 6\
**Last updated:** [April 18, 2009, 1:18am UTC](https://www.ruby-forum.com/t/simple-module-method-call-question/165789 "2009-04-18T01:18:06Z")

</div>

I’m making no progress on this, and so clearly have missed something basic. I have a class which requires a file containing module Utils\_db. There is another module ‘required’ in the program which instantiates this c…

---

## [Windows platform, test if a file is fully flushed to disk](https://www.ruby-forum.com/t/windows-platform-test-if-a-file-is-fully-flushed-to-disk/165828)

<div class="topic-metadata">

**Author:** [@brianwisti](https://www.ruby-forum.com/u/brianwisti)\
**Replies:** 2\
**Last updated:** [April 17, 2009, 11:53pm UTC](https://www.ruby-forum.com/t/windows-platform-test-if-a-file-is-fully-flushed-to-disk/165828 "2009-04-17T23:53:26Z")

</div>

Hi all, I’ve written a Ruby script that scans a directory for new files at a specified interval, using Directory\_Watcher (Thanks for the great gem Tim Pease!), and when a new file is added to the directory - it strea…

---

## [Re: platform\_is fix needed?](https://www.ruby-forum.com/t/re-platform-is-fix-needed/165829)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 1\
**Last updated:** [April 17, 2009, 10:46pm UTC](https://www.ruby-forum.com/t/re-platform-is-fix-needed/165829 "2009-04-17T22:46:42Z")

</div>

I’m doing an update to the specs right now, so can we wait until that goes through, then see if it is still an issue? Thanks

---

## [Testing classes making API calls](https://www.ruby-forum.com/t/testing-classes-making-api-calls/165822)

<div class="topic-metadata">

**Author:** [@alexander](https://www.ruby-forum.com/u/alexander)\
**Replies:** 2\
**Last updated:** [April 17, 2009, 10:11pm UTC](https://www.ruby-forum.com/t/testing-classes-making-api-calls/165822 "2009-04-17T22:11:30Z")

</div>

I am currently working on a project which gets a lot of info from the YouTube API and does some data mining with it. However I would really like to have the best test coverage possible. I thought about writing a mock …

---

## [Platform\_is fix needed?](https://www.ruby-forum.com/t/platform-is-fix-needed/165827)

<div class="topic-metadata">

**Author:** [@thbar](https://www.ruby-forum.com/u/thbar)\
**Replies:** 0\
**Last updated:** [April 17, 2009, 10:09pm UTC](https://www.ruby-forum.com/t/platform-is-fix-needed/165827 "2009-04-17T22:09:09Z")

</div>

Hi, system\_spec.rb fails all its tests because the before(:each) calls platform\_is(:windows) without a block, while it appears to require one. Can I just fix this specific spec by using platform\_is + platform\_is\_not…

---

## [Exif/iptc/xmp image metadata libraries?](https://www.ruby-forum.com/t/exif-iptc-xmp-image-metadata-libraries/165504)

<div class="topic-metadata">

**Author:** [@judge](https://www.ruby-forum.com/u/judge)\
**Replies:** 2\
**Last updated:** [April 17, 2009, 10:05pm UTC](https://www.ruby-forum.com/t/exif-iptc-xmp-image-metadata-libraries/165504 "2009-04-17T22:05:38Z")

</div>

I’m looking for an image metadata manipulation library, and so far I’ve only found a couple that look usable. ruby-exiv2 uses the C++ exiv2 library, but is incomplete (no xmp support, doesn’t seem to handle multiple i…

---

## [Verify-0.2](https://www.ruby-forum.com/t/verify-0-2/165820)

<div class="topic-metadata">

**Author:** [@flatekmonkey](https://www.ruby-forum.com/u/flatekmonkey)\
**Replies:** 0\
**Last updated:** [April 17, 2009, 9:13pm UTC](https://www.ruby-forum.com/t/verify-0-2/165820 "2009-04-17T21:13:22Z")

</div>

Hi list this is a bug fix of verify-0.1a introducing mockify. It adheres to the basic principles to be very, very simple. Hopefully it is useful to somebody, well it is to me :). http://rubyforge.org/frs/?group\_id=38…

---

## [Get the Windows OS Login name using Ruby?](https://www.ruby-forum.com/t/get-the-windows-os-login-name-using-ruby/165806)

<div class="topic-metadata">

**Author:** [@mmcolli00](https://www.ruby-forum.com/u/mmcolli00)\
**Replies:** 7\
**Last updated:** [April 17, 2009, 8:16pm UTC](https://www.ruby-forum.com/t/get-the-windows-os-login-name-using-ruby/165806 "2009-04-17T20:16:25Z")

</div>

Do you know if there is a way to get the Windows OS Login name using Ruby? I can do this with VB but haven’t found a way to do this in Ruby. Thanks MC

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

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