# Ruby

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

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

---

## [Errors while updating gems](https://www.ruby-forum.com/t/errors-while-updating-gems/195001)

<div class="topic-metadata">

**Author:** [@erubin](https://www.ruby-forum.com/u/erubin)\
**Replies:** 2\
**Last updated:** [September 16, 2010, 1:00am UTC](https://www.ruby-forum.com/t/errors-while-updating-gems/195001 "2010-09-16T01:00:21Z")

</div>

I’m new to Ruby, so please forgive me if this seems a tad bit obvious :slight\_smile: While updating my gems so I could get Rails 3.0, I got many of the following errors (as in this example, it’s sqlite): Updating sqli…

---

## [\[Ruby 1.9-Bug#3830\] ruby 1.9.2 $B$G(B Net::Telnet $B$N(B close $B$,(B undefined method $B$H$](https://www.ruby-forum.com/t/ruby-1-9-bug-3830-ruby-1-9-2-b-g-b-net-telnet-b-n-b-close-b-b-undefined-method-b-h/195053)

<div class="topic-metadata">

**Author:** [@happolati](https://www.ruby-forum.com/u/happolati)\
**Replies:** 0\
**Last updated:** [September 15, 2010, 10:51pm UTC](https://www.ruby-forum.com/t/ruby-1-9-bug-3830-ruby-1-9-2-b-g-b-net-telnet-b-n-b-close-b-b-undefined-method-b-h/195053 "2010-09-15T22:51:31Z")

</div>

ãƒã‚±ãƒƒãƒˆ #3830 ãŒæ›´æ–°ã•ã‚Œã¾ã—ãŸã€‚ (by Erik H.) ãƒ•ã‚¡ã‚¤ãƒ« telnet\_close\_docs.patch.gz è¿½åŠ ãƒ•ã‚¡ã‚¤ãƒ« telnet\_close\_method.patch.gz è¿½åŠ Included are two patches which may be alternatives to the MM ap…

---

## [OT Japanese for NLP](https://www.ruby-forum.com/t/ot-japanese-for-nlp/195039)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 4\
**Last updated:** [September 15, 2010, 8:21pm UTC](https://www.ruby-forum.com/t/ot-japanese-for-nlp/195039 "2010-09-15T20:21:05Z")

</div>

Anyone know the Japanese equivalent to “Natural Language Processing” (in English transliteration)?

---

## [\[Ruby 1.9-Bug#3831\] ruby 1.9.1-p430 $B$G!"(BNet::Telnet $B$N(B login $B$,(B undefined method](https://www.ruby-forum.com/t/ruby-1-9-bug-3831-ruby-1-9-1-p430-b-g-bnet-telnet-b-n-b-login-b-b-undefined-method/195044)

<div class="topic-metadata">

**Author:** [@happolati](https://www.ruby-forum.com/u/happolati)\
**Replies:** 0\
**Last updated:** [September 15, 2010, 8:12pm UTC](https://www.ruby-forum.com/t/ruby-1-9-bug-3831-ruby-1-9-1-p430-b-g-bnet-telnet-b-n-b-login-b-b-undefined-method/195044 "2010-09-15T20:12:18Z")

</div>

e$B%A%1%C%He(B #3831 e$B$,99?7$5$l$^$7$?!#e(B (by Erik H.) Could not replicate this on 1.9.2 with the script provided. http://redmine.ruby-lang.org/issues/show/3831

---

## [Ruby gooeys](https://www.ruby-forum.com/t/ruby-gooeys/195021)

<div class="topic-metadata">

**Author:** [@tensaiji](https://www.ruby-forum.com/u/tensaiji)\
**Replies:** 9\
**Last updated:** [September 15, 2010, 8:01pm UTC](https://www.ruby-forum.com/t/ruby-gooeys/195021 "2010-09-15T20:01:10Z")

</div>

Hi, I’m looking for recommendations on GUI’s. Primarily OSX, I’m not bothered at all about it working on Windows. I don’t care if it’s Ruby or JRuby or MacRuby (which I’ve been trying with varied success), just that …

---

## [1.9.2-rc2 -\> 1.9.2-p0 breaks Sinatra](https://www.ruby-forum.com/t/1-9-2-rc2-1-9-2-p0-breaks-sinatra/193609)

<div class="topic-metadata">

**Author:** [@jeremyheiler](https://www.ruby-forum.com/u/jeremyheiler)\
**Replies:** 6\
**Last updated:** [September 15, 2010, 7:13pm UTC](https://www.ruby-forum.com/t/1-9-2-rc2-1-9-2-p0-breaks-sinatra/193609 "2010-09-15T19:13:04Z")

</div>

My Sinatra apps work with 1.9.2-rc2. After upgrading to 1.9.2-p0 they terminate immediately (no output, exit status 0). Can anyone reproduce this? I would appreciate help investigating this, as this make…

---

## [Require\_all 1.2.0](https://www.ruby-forum.com/t/require-all-1-2-0/195042)

<div class="topic-metadata">

**Author:** [@juuser](https://www.ruby-forum.com/u/juuser)\
**Replies:** 0\
**Last updated:** [September 15, 2010, 7:00pm UTC](https://www.ruby-forum.com/t/require-all-1-2-0/195042 "2010-09-15T19:00:52Z")

</div>

Hello! I’ve released a new version of the gem called require\_all which was previously owned and maintained by Tony A… require\_all - A wonderfully simple way to load your code Changes in this version: Add load\_all, …

---

## [Serialport script hangs during sp.gets](https://www.ruby-forum.com/t/serialport-script-hangs-during-sp-gets/140608)

<div class="topic-metadata">

**Author:** [@japplewhite](https://www.ruby-forum.com/u/japplewhite)\
**Replies:** 3\
**Last updated:** [September 15, 2010, 6:06pm UTC](https://www.ruby-forum.com/t/serialport-script-hangs-during-sp-gets/140608 "2010-09-15T18:06:18Z")

</div>

Hi ruby friends! I’m using the ruby serialport library. The OS is windows. I’m sending command strings over serial to an epson projector. The projector then interprets and executes the command and returns a string ba…

---

## [Monkeybars and rawr](https://www.ruby-forum.com/t/monkeybars-and-rawr/195004)

<div class="topic-metadata">

**Author:** [@ericrchr](https://www.ruby-forum.com/u/ericrchr)\
**Replies:** 1\
**Last updated:** [September 15, 2010, 6:03pm UTC](https://www.ruby-forum.com/t/monkeybars-and-rawr/195004 "2010-09-15T18:03:30Z")

</div>

I’m wondering what the present state of Monkeybars and rawr is; specifically, where their development sites and mailing lists are (if any). I did some googling and came up with these, but I want to make sure these ar…

---

## [How to tell Terminal which version of Ruby to use?](https://www.ruby-forum.com/t/how-to-tell-terminal-which-version-of-ruby-to-use/194956)

<div class="topic-metadata">

**Author:** [@shrapnel](https://www.ruby-forum.com/u/shrapnel)\
**Replies:** 4\
**Last updated:** [September 15, 2010, 5:50pm UTC](https://www.ruby-forum.com/t/how-to-tell-terminal-which-version-of-ruby-to-use/194956 "2010-09-15T17:50:37Z")

</div>

Hello, I have two entry level questions that I was hoping someone could help out with. I recently installed Ruby 1.9.2 on my Mac (running Snow Leopard 10.6.4) and I havenâ€™t been able to figure out how to get Termi…

---

## [Ruby\_init\_loadpath() vs Win32](https://www.ruby-forum.com/t/ruby-init-loadpath-vs-win32/195024)

<div class="topic-metadata">

**Author:** [@Phlip](https://www.ruby-forum.com/u/Phlip)\
**Replies:** 1\
**Last updated:** [September 15, 2010, 5:35pm UTC](https://www.ruby-forum.com/t/ruby-init-loadpath-vs-win32/195024 "2010-09-15T17:35:23Z")

</div>

If I set RUBYLIB to “C:\\phlip\\tools\\ruby-1.9.1-p0” before running an embedded project - linked via Visual Studio to freshly-built LIBs in that build tree - I get $: load paths with site\_ruby off in evil-land: \[“C:\\phl…

---

## [Regexp property under windows](https://www.ruby-forum.com/t/regexp-property-under-windows/195014)

<div class="topic-metadata">

**Author:** [@ntysdd](https://www.ruby-forum.com/u/ntysdd)\
**Replies:** 1\
**Last updated:** [September 15, 2010, 5:30pm UTC](https://www.ruby-forum.com/t/regexp-property-under-windows/195014 "2010-09-15T17:30:42Z")

</div>

though properties of regexp under Linux is OK,ruby under windows doesn’t support that. such as /\\p{Han}/, you will always get an error. irb(main):001:0\> /\\p{Han}/ SyntaxError: (irb):1: invalid character property nam…

---

## [Property short cut for read-ony instance access, but](https://www.ruby-forum.com/t/property-short-cut-for-read-ony-instance-access-but/195033)

<div class="topic-metadata">

**Author:** [@mydarkpassenger](https://www.ruby-forum.com/u/mydarkpassenger)\
**Replies:** 1\
**Last updated:** [September 15, 2010, 5:14pm UTC](https://www.ruby-forum.com/t/property-short-cut-for-read-ony-instance-access-but/195033 "2010-09-15T17:14:18Z")

</div>

Hello, Is there a short cut for creating a property that has read-only access from instance variables and read/write access for derived classes? Was looking for something like… attr\_reader :prompt attr\_writer protec…

---

## [Best ruby web framework?](https://www.ruby-forum.com/t/best-ruby-web-framework/195009)

<div class="topic-metadata">

**Author:** [@mrashi12](https://www.ruby-forum.com/u/mrashi12)\
**Replies:** 8\
**Last updated:** [September 15, 2010, 4:10pm UTC](https://www.ruby-forum.com/t/best-ruby-web-framework/195009 "2010-09-15T16:10:30Z")

</div>

As my subject line says the question is about ruby web framework Which is the best ruby web framework? Is it good in performance and speed to use ruby without any framework (running on Apache) ?

---

## [How to send whole file and get response from webservice](https://www.ruby-forum.com/t/how-to-send-whole-file-and-get-response-from-webservice/194999)

<div class="topic-metadata">

**Author:** [@djoshi26](https://www.ruby-forum.com/u/djoshi26)\
**Replies:** 3\
**Last updated:** [September 15, 2010, 3:17pm UTC](https://www.ruby-forum.com/t/how-to-send-whole-file-and-get-response-from-webservice/194999 "2010-09-15T15:17:54Z")

</div>

Hi, I have problem doing the following. I need to pass an xml file to a webservice URL and get the reponse. I have the URL of the webservice. I have the URL to view WSDL file. I have the file which i want to send. C…

---

## [\[Ruby 1.9-Bug#3831\]\[Open\] ruby 1.9.1-p430 $B$G!"(BNet::Telnet $B$N(B login $B$,(B undefined m](https://www.ruby-forum.com/t/ruby-1-9-bug-3831-open-ruby-1-9-1-p430-b-g-bnet-telnet-b-n-b-login-b-b-undefined-m/195026)

<div class="topic-metadata">

**Author:** [@Kiyoto\_HAMANO](https://www.ruby-forum.com/u/Kiyoto_HAMANO)\
**Replies:** 0\
**Last updated:** [September 15, 2010, 2:46pm UTC](https://www.ruby-forum.com/t/ruby-1-9-bug-3831-open-ruby-1-9-1-p430-b-g-bnet-telnet-b-n-b-login-b-b-undefined-m/195026 "2010-09-15T14:46:47Z")

</div>

Bug #3831: ruby 1.9.1-p430 e$B$G!"e(BNet::Telnet e$B$Ne(B login e$B$,e(B undefined method e$B$H$J$j\<B9T$G$-$J$$e(B http://redmine.ruby-lang.org/issues/show/3831 e$B5/I\<\<Te(B: Kiyoto HAMANO e$B%9%F!\<%?%9e(B: Open, e$B…

---

## [406 error in calling REST API's](https://www.ruby-forum.com/t/406-error-in-calling-rest-apis/194953)

<div class="topic-metadata">

**Author:** [@arunachandu](https://www.ruby-forum.com/u/arunachandu)\
**Replies:** 1\
**Last updated:** [September 15, 2010, 2:29pm UTC](https://www.ruby-forum.com/t/406-error-in-calling-rest-apis/194953 "2010-09-15T14:29:13Z")

</div>

Hi , i have written Java code to call REST API’s . i have written the code like public List view\_blogsbytagXml(String tag,String limit) { System.out.println(tag+""+limit); final String VIEW\_BLOGSBYTAG1=“api/blog…

---

## [Iterate over a cartesian product](https://www.ruby-forum.com/t/iterate-over-a-cartesian-product/194968)

<div class="topic-metadata">

**Author:** [@Handy\_G](https://www.ruby-forum.com/u/Handy_G)\
**Replies:** 8\
**Last updated:** [September 15, 2010, 2:16pm UTC](https://www.ruby-forum.com/t/iterate-over-a-cartesian-product/194968 "2010-09-15T14:16:55Z")

</div>

I have an array of N arrays A\_i: \[A\_1,A\_2,…,A\_N\]. I want to iterate over the cartesian product A\_1xA\_2…xA\_N. Is there a simple way of doing this without specifying N?

---

## [\[Ruby 1.9-Bug#3830\]\[Open\] ruby 1.9.2 $B$G(B Net::Telnet $B$N(B close $B$,(B undefined method](https://www.ruby-forum.com/t/ruby-1-9-bug-3830-open-ruby-1-9-2-b-g-b-net-telnet-b-n-b-close-b-b-undefined-method/195022)

<div class="topic-metadata">

**Author:** [@SSSSSSSSS\_SSSS\_S\_SS](https://www.ruby-forum.com/u/SSSSSSSSS_SSSS_S_SS)\
**Replies:** 0\
**Last updated:** [September 15, 2010, 2:08pm UTC](https://www.ruby-forum.com/t/ruby-1-9-bug-3830-open-ruby-1-9-2-b-g-b-net-telnet-b-n-b-close-b-b-undefined-method/195022 "2010-09-15T14:08:08Z")

</div>

Bug #3830: ruby 1.9.2 e$B$Ge(B Net::Telnet e$B$Ne(B close e$B$,e(B undefined method e$B$H$J$j\<B9T$G$-$J$$e(B http://redmine.ruby-lang.org/issues/show/3830 e$B5/I\<\<Te(B: e$B@;?Me(B e$B\_@Lne(B e$B%9%F!\<%?%9e(B: Open, e…

---

## [Nokogiri was built against LibXML version 2.7.7, but has dynamically loaded 2.7.3](https://www.ruby-forum.com/t/nokogiri-was-built-against-libxml-version-2-7-7-but-has-dynamically-loaded-2-7-3/195013)

<div class="topic-metadata">

**Author:** [@Une\_BSSSSvue](https://www.ruby-forum.com/u/Une_BSSSSvue)\
**Replies:** 0\
**Last updated:** [September 15, 2010, 11:35am UTC](https://www.ruby-forum.com/t/nokogiri-was-built-against-libxml-version-2-7-7-but-has-dynamically-loaded-2-7-3/195013 "2010-09-15T11:35:56Z")

</div>

each time i’m using a nokigori script, i get the following warning : Nokogiri was built against LibXML version 2.7.7, but has dynamically loaded 2.7.3 I’m running over Mac OS X latest and used macports in order to ins…

---

## [How to install ib ruby api?](https://www.ruby-forum.com/t/how-to-install-ib-ruby-api/194936)

<div class="topic-metadata">

**Author:** [@luofeiyu](https://www.ruby-forum.com/u/luofeiyu)\
**Replies:** 9\
**Last updated:** [September 15, 2010, 9:26am UTC](https://www.ruby-forum.com/t/how-to-install-ib-ruby-api/194936 "2010-09-15T09:26:33Z")

</div>

in my console, laptop:~$ svn checkout svn://rubyforge.org/var/svn/ib-ruby A ib-ruby/trunk A ib-ruby/trunk/datatypes.rb A ib-ruby/trunk/LICENSE require ‘rubygems’ =\> true irb(main):003:0\> require ‘ib’ L…

---

## [Android apps using ruby](https://www.ruby-forum.com/t/android-apps-using-ruby/190129)

<div class="topic-metadata">

**Author:** [@luckydev](https://www.ruby-forum.com/u/luckydev)\
**Replies:** 15\
**Last updated:** [September 15, 2010, 12:34am UTC](https://www.ruby-forum.com/t/android-apps-using-ruby/190129 "2010-09-15T00:34:34Z")

</div>

Hi, I just like to build apps for Android apps. I am a rubyist btw, and how can I develop android apps using ruby ? Is there any cross compiler or any other tool available for this purpose ?

---

## [Http post](https://www.ruby-forum.com/t/http-post/194933)

<div class="topic-metadata">

**Author:** [@radkin](https://www.ruby-forum.com/u/radkin)\
**Replies:** 7\
**Last updated:** [September 14, 2010, 11:42pm UTC](https://www.ruby-forum.com/t/http-post/194933 "2010-09-14T23:42:52Z")

</div>

New to ruby and trying to do a HTTP POST. From looking at documentation it states “In version 1.1 (ruby 1.6), this method returns a pair of objects, a Net::HTTPResponse object and an entity body string. In version 1.2…

---

## [Declarative relations between object attributes](https://www.ruby-forum.com/t/declarative-relations-between-object-attributes/194875)

<div class="topic-metadata">

**Author:** [@nome](https://www.ruby-forum.com/u/nome)\
**Replies:** 15\
**Last updated:** [September 14, 2010, 11:26pm UTC](https://www.ruby-forum.com/t/declarative-relations-between-object-attributes/194875 "2010-09-14T23:26:05Z")

</div>

Some time ago I stumbled over Cells\[1\], a Common Lisp extension allowing one to declare relations between instance variables (called slots in CL); i.e. a change to one variable will automatically recompute other vari…

---

## [Beginner's q about eval and/or code blocks](https://www.ruby-forum.com/t/beginners-q-about-eval-and-or-code-blocks/194984)

<div class="topic-metadata">

**Author:** [@sithadmin](https://www.ruby-forum.com/u/sithadmin)\
**Replies:** 4\
**Last updated:** [September 14, 2010, 11:12pm UTC](https://www.ruby-forum.com/t/beginners-q-about-eval-and-or-code-blocks/194984 "2010-09-14T23:12:23Z")

</div>

This ruby program successfully prints all 5-letter words starting with ‘j’ (in a text file containing all current U.S. English Scrabble words). fp = File.open(‘C:\\Documents and Settings\\User\\twl06FromMac.txt’) fp.eac…

---

## [Help deploying a Rails app to Jetty](https://www.ruby-forum.com/t/help-deploying-a-rails-app-to-jetty/193948)

<div class="topic-metadata">

**Author:** [@thewordnerd](https://www.ruby-forum.com/u/thewordnerd)\
**Replies:** 8\
**Last updated:** [September 14, 2010, 9:52pm UTC](https://www.ruby-forum.com/t/help-deploying-a-rails-app-to-jetty/193948 "2010-09-14T21:52:26Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello. I’ve been trying to resolve this for most of the day but can’t seem to figure it out. What makes it worse is that I’m not terribly knowledgable about Java deployme…

---

## [Encoding error while installing rails on ruby 1.9.2](https://www.ruby-forum.com/t/encoding-error-while-installing-rails-on-ruby-1-9-2/194959)

<div class="topic-metadata">

**Author:** [@bekis3](https://www.ruby-forum.com/u/bekis3)\
**Replies:** 10\
**Last updated:** [September 14, 2010, 9:10pm UTC](https://www.ruby-forum.com/t/encoding-error-while-installing-rails-on-ruby-1-9-2/194959 "2010-09-14T21:10:52Z")

</div>

Hello everybody, I am making my first steps on Ruby on Rails. I have a very simple question. When I am trying to install rails (as well as every gem) I am getting this error: ERROR: While executing gem … (Encoding::…

---

## [How does one get an absolute absolute file path?](https://www.ruby-forum.com/t/how-does-one-get-an-absolute-absolute-file-path/194975)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 4\
**Last updated:** [September 14, 2010, 8:02pm UTC](https://www.ruby-forum.com/t/how-does-one-get-an-absolute-absolute-file-path/194975 "2010-09-14T20:02:50Z")

</div>

I have a situation where I call a ruby script from a directory that is a logical link to the actual one. So for instance the actual path is: /home/me/projects/bin/script.rb But the path used to call the script is /h…

---

## [Arraystrange behaviour](https://www.ruby-forum.com/t/arraystrange-behaviour/194886)

<div class="topic-metadata">

**Author:** [@Mikel\_L](https://www.ruby-forum.com/u/Mikel_L)\
**Replies:** 6\
**Last updated:** [September 14, 2010, 7:49pm UTC](https://www.ruby-forum.com/t/arraystrange-behaviour/194886 "2010-09-14T19:49:30Z")

</div>

Hi all, Running Ruby 1.8.7. And I saw Jim W.'s post about the Ruby Koans, and I thought, what the hey! Lets do them! So I downloaded, and what do you know! I found something I didn’t understand!! :slight\_smile: A…

---

## [Fwd: Memory problem with embedded jruby](https://www.ruby-forum.com/t/fwd-memory-problem-with-embedded-jruby/194720)

<div class="topic-metadata">

**Author:** [@mknw](https://www.ruby-forum.com/u/mknw)\
**Replies:** 2\
**Last updated:** [September 14, 2010, 7:47pm UTC](https://www.ruby-forum.com/t/fwd-memory-problem-with-embedded-jruby/194720 "2010-09-14T19:47:09Z")

</div>

Hi, I am writing a test framework in Java. The framework would run a bunch of ruby scripts. The scripts should be independent (they should not share any global variables). They would only share a single Java object w…

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

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