# Ruby

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

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

---

## [So, uh, where's my gem?](https://www.ruby-forum.com/t/so-uh-wheres-my-gem/155183)

<div class="topic-metadata">

**Author:** [@Zeekar](https://www.ruby-forum.com/u/Zeekar)\
**Replies:** 2\
**Last updated:** [December 10, 2008, 12:24am UTC](https://www.ruby-forum.com/t/so-uh-wheres-my-gem/155183 "2008-12-10T00:24:10Z")

</div>

$ sudo gem install net-sftp Successfully installed net-sftp-2.0.1 1 gem installed Installing ri documentation for net-sftp-2.0.1… Installing RDoc documentation for net-sftp-2.0.1… $ irb -rubygems -rnet-sftp /usr/li…

---

## [Conratulations](https://www.ruby-forum.com/t/conratulations/155260)

<div class="topic-metadata">

**Author:** [@john\_adam](https://www.ruby-forum.com/u/john_adam)\
**Replies:** 0\
**Last updated:** [December 9, 2008, 10:15pm UTC](https://www.ruby-forum.com/t/conratulations/155260 "2008-12-09T22:15:41Z")

</div>

conratulatios… Here’s my dear friend largest mobile library programs All you care programs : Witness all the programs in the modern world Alkmiotr Honored by your visit You’ll see in the blogger 1.If you are suffer…

---

## [Best UI library for JRuby?](https://www.ruby-forum.com/t/best-ui-library-for-jruby/154159)

<div class="topic-metadata">

**Author:** [@Kenneth\_McDonald](https://www.ruby-forum.com/u/Kenneth_McDonald)\
**Replies:** 9\
**Last updated:** [December 9, 2008, 9:44pm UTC](https://www.ruby-forum.com/t/best-ui-library-for-jruby/154159 "2008-12-09T21:44:30Z")

</div>

I’m wondering if any UI library has become a standard or is considered “best” by the JRuby community. Thanks in advance, Ken To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage\_email

---

## [JRuby and rspec-rails performance](https://www.ruby-forum.com/t/jruby-and-rspec-rails-performance/137902)

<div class="topic-metadata">

**Author:** [@bct](https://www.ruby-forum.com/u/bct)\
**Replies:** 10\
**Last updated:** [December 9, 2008, 9:23pm UTC](https://www.ruby-forum.com/t/jruby-and-rspec-rails-performance/137902 "2008-12-09T21:23:55Z")

</div>

Hello, on my current project, we experimented with JRuby 1.1.1. The specs passed but the spec suite was over 100% slower (from 19 to 45 seconds). Is also took over 20 seconds for the rails environment to load (before …

---

## [Http://raa.ruby-lang.org/project/diff-lcs/](https://www.ruby-forum.com/t/http-raa-ruby-lang-org-project-diff-lcs/155242)

<div class="topic-metadata">

**Author:** [@mmcolli00](https://www.ruby-forum.com/u/mmcolli00)\
**Replies:** 2\
**Last updated:** [December 9, 2008, 8:40pm UTC](https://www.ruby-forum.com/t/http-raa-ruby-lang-org-project-diff-lcs/155242 "2008-12-09T20:40:13Z")

</div>

Hi If you have used this before, did you have problems with the following line? require ‘diff/lcs’ For this line, I am getting this error: c:/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27:in gem\_origina…

---

## [JRuby 1.1.6 and json-jruby on Tomcat](https://www.ruby-forum.com/t/jruby-1-1-6-and-json-jruby-on-tomcat/155167)

<div class="topic-metadata">

**Author:** [@ed\_copony](https://www.ruby-forum.com/u/ed_copony)\
**Replies:** 6\
**Last updated:** [December 9, 2008, 8:06pm UTC](https://www.ruby-forum.com/t/jruby-1-1-6-and-json-jruby-on-tomcat/155167 "2008-12-09T20:06:16Z")

</div>

On the TriSano project, we’re attempting to upgrade to JRuby 1.1.6. Everything is looking good except for one issue we’re having requiring json-jruby 1.1.2. When deployed to Tomcat with Warbler, we encounter the stack…

---

## [Help on algorythm](https://www.ruby-forum.com/t/help-on-algorythm/155219)

<div class="topic-metadata">

**Author:** [@kay](https://www.ruby-forum.com/u/kay)\
**Replies:** 12\
**Last updated:** [December 9, 2008, 6:41pm UTC](https://www.ruby-forum.com/t/help-on-algorythm/155219 "2008-12-09T18:41:30Z")

</div>

Guys i have been trying to make this algorythm but with no sucess, can you help me out ? The problem is the follow for the following numberset like 1,2,3,4,5,6,7,8,9,10,11,12 i need to take all the five number combi…

---

## [Kernel.exec won't find a file that File.expand\_path can](https://www.ruby-forum.com/t/kernel-exec-wont-find-a-file-that-file-expand-path-can/155170)

<div class="topic-metadata">

**Author:** [@fritza](https://www.ruby-forum.com/u/fritza)\
**Replies:** 3\
**Last updated:** [December 9, 2008, 6:37pm UTC](https://www.ruby-forum.com/t/kernel-exec-wont-find-a-file-that-file-expand-path-can/155170 "2008-12-09T18:37:25Z")

</div>

I’m doing a fork/exec on a .rb file in the same directory as the parent .rb. On two systems, this has worked. On the third, to which I just moved, I get ./ecod-poll:254:in \`exec’: No such file or directory - /home/fr…

---

## [Newbie's question: getting parameters given to hello.rb file](https://www.ruby-forum.com/t/newbies-question-getting-parameters-given-to-hello-rb-file/155078)

<div class="topic-metadata">

**Author:** [@maiwald](https://www.ruby-forum.com/u/maiwald)\
**Replies:** 3\
**Last updated:** [December 9, 2008, 6:25pm UTC](https://www.ruby-forum.com/t/newbies-question-getting-parameters-given-to-hello-rb-file/155078 "2008-12-09T18:25:38Z")

</div>

hello, given i have a programme “hello.rb” and i execute it in terminal like this ./hello.rb lalala lala stuff how do i get the “lalala lala stuff” into my programme? thanks

---

## [Example of self contained jruby/sinatra/derby json web service](https://www.ruby-forum.com/t/example-of-self-contained-jruby-sinatra-derby-json-web-service/155198)

<div class="topic-metadata">

**Author:** [@jcapote](https://www.ruby-forum.com/u/jcapote)\
**Replies:** 1\
**Last updated:** [December 9, 2008, 6:21pm UTC](https://www.ruby-forum.com/t/example-of-self-contained-jruby-sinatra-derby-json-web-service/155198 "2008-12-09T18:21:32Z")

</div>

I whipped up a simple blog service that provides a RESTful json api using jruby/sinatra/derby. It took me a bit to figure out how to get it all working together, so I’m posting it here in case it may benefit someone e…

---

## [Beginner question about attributes](https://www.ruby-forum.com/t/beginner-question-about-attributes/155163)

<div class="topic-metadata">

**Author:** [@dark-omen](https://www.ruby-forum.com/u/dark-omen)\
**Replies:** 8\
**Last updated:** [December 9, 2008, 5:06pm UTC](https://www.ruby-forum.com/t/beginner-question-about-attributes/155163 "2008-12-09T17:06:20Z")

</div>

I don’t understand why my model (attached) isn’t working. I generated a scaffold for my ‘player’ data. If I uncomment the :validates\_presence\_of check in my model, the save on the ‘new’ page compalins about those fie…

---

## [Benchmarks of various Ruby interpreters](https://www.ruby-forum.com/t/benchmarks-of-various-ruby-interpreters/155223)

<div class="topic-metadata">

**Author:** [@typej](https://www.ruby-forum.com/u/typej)\
**Replies:** 1\
**Last updated:** [December 9, 2008, 4:54pm UTC](https://www.ruby-forum.com/t/benchmarks-of-various-ruby-interpreters/155223 "2008-12-09T16:54:51Z")

</div>

Hi guys, Wanted to pass this along in case you haven’t seen it already: It looks like JRuby is second in performance only to ruby 1.9. Jin (I am not the author)

---

## [Ruby QT Hiding the mouse](https://www.ruby-forum.com/t/ruby-qt-hiding-the-mouse/155184)

<div class="topic-metadata">

**Author:** [@mariachi77](https://www.ruby-forum.com/u/mariachi77)\
**Replies:** 5\
**Last updated:** [December 9, 2008, 4:40pm UTC](https://www.ruby-forum.com/t/ruby-qt-hiding-the-mouse/155184 "2008-12-09T16:40:34Z")

</div>

I’m currently trying to build an application using Ruby with QT which just shows output from a log with colors and logos etc. I would like to hide the mouse cursor if possible. I have managed to hide the cursor on th…

---

## [Problem with array ... object inside disappear](https://www.ruby-forum.com/t/problem-with-array-object-inside-disappear/155220)

<div class="topic-metadata">

**Author:** [@mrdamien](https://www.ruby-forum.com/u/mrdamien)\
**Replies:** 3\
**Last updated:** [December 9, 2008, 3:25pm UTC](https://www.ruby-forum.com/t/problem-with-array-object-inside-disappear/155220 "2008-12-09T15:25:25Z")

</div>

Hi dudes, I am becoming crazy with an array behaviour. Here is the stuff. I have an objet PackageList that keep an internal list of packages inside an array. class PackageList def initialize @list = Array.new end …

---

## [Why is 1.9 not the standard?](https://www.ruby-forum.com/t/why-is-1-9-not-the-standard/155210)

<div class="topic-metadata">

**Author:** [@dan](https://www.ruby-forum.com/u/dan)\
**Replies:** 0\
**Last updated:** [December 9, 2008, 12:50pm UTC](https://www.ruby-forum.com/t/why-is-1-9-not-the-standard/155210 "2008-12-09T12:50:13Z")

</div>

Daniel Malcolm Webb \[dbw\] wrote: Can anyone explain why 1.9 isn’t being pushed as standard? Because there’s no stable release of ruby 1.9 yet. PS: Please don’t post your questions as replies to other posts which ha…

---

## [AR\_TO\_JDBC\_TYPES and custom driver](https://www.ruby-forum.com/t/ar-to-jdbc-types-and-custom-driver/155140)

<div class="topic-metadata">

**Author:** [@4711](https://www.ruby-forum.com/u/4711)\
**Replies:** 2\
**Last updated:** [December 9, 2008, 11:28am UTC](https://www.ruby-forum.com/t/ar-to-jdbc-types-and-custom-driver/155140 "2008-12-09T11:28:39Z")

</div>

Hi, I have added my own custom JDBC driver to provide access to legacy data. This works fine, but since the available SQL data types in that database deviates from standards I had to “hack” jdbc\_adapter.rb and modify…

---

## [Learning ruby and rails](https://www.ruby-forum.com/t/learning-ruby-and-rails/155186)

<div class="topic-metadata">

**Author:** [@daveh0](https://www.ruby-forum.com/u/daveh0)\
**Replies:** 2\
**Last updated:** [December 9, 2008, 11:16am UTC](https://www.ruby-forum.com/t/learning-ruby-and-rails/155186 "2008-12-09T11:16:04Z")

</div>

i am new to all of this, so i was wondering which one i should learn first, ruby or rails, or both at the same time? Thanks. …

---

## [Ruby Serial Port for windows](https://www.ruby-forum.com/t/ruby-serial-port-for-windows/154783)

<div class="topic-metadata">

**Author:** [@riad](https://www.ruby-forum.com/u/riad)\
**Replies:** 5\
**Last updated:** [December 9, 2008, 10:35am UTC](https://www.ruby-forum.com/t/ruby-serial-port-for-windows/154783 "2008-12-09T10:35:12Z")

</div>

Hi, Sort of new to Ruby and need help. I have been reading through all the serial port related information that is available out there and have come to a complete stop. I need to communicate with a device via my lapt…

---

## [Trouble building from Visual Studio (git repo)](https://www.ruby-forum.com/t/trouble-building-from-visual-studio-git-repo/155172)

<div class="topic-metadata">

**Author:** [@Terence\_L](https://www.ruby-forum.com/u/Terence_L)\
**Replies:** 7\
**Last updated:** [December 9, 2008, 7:44am UTC](https://www.ruby-forum.com/t/trouble-building-from-visual-studio-git-repo/155172 "2008-12-09T07:44:06Z")

</div>

Hello, First let me apologise for the length of this mail - it’s not quite as long as it looks, a lot of the text is error messages :frowning: Anyway, I can now build from rake compile, however I’m having trouble bu…

---

## [UTF char issue](https://www.ruby-forum.com/t/utf-char-issue/155121)

<div class="topic-metadata">

**Author:** [@abirami](https://www.ruby-forum.com/u/abirami)\
**Replies:** 5\
**Last updated:** [December 9, 2008, 7:03am UTC](https://www.ruby-forum.com/t/utf-char-issue/155121 "2008-12-09T07:03:43Z")

</div>

While reading the data from the text file,the special characters has not been printed as like in the file. ex: Ã« UTF char has changed into Î´ Please help me out as soon as possible… Regards Abirami S

---

## [Code Review: Simple ruby fixes](https://www.ruby-forum.com/t/code-review-simple-ruby-fixes/155177)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 2\
**Last updated:** [December 9, 2008, 5:43am UTC](https://www.ruby-forum.com/t/code-review-simple-ruby-fixes/155177 "2008-12-09T05:43:35Z")

</div>

tfpt review “/shelveset:rt;REDMOND\\sborde” Comment : Simple fixes to the simple\_test.rb runner as I was trying to get a feel for all the moving parts in Ruby testing. “finished” was not setting the exitcode, and so …

---

## [IronRuby GitHub Repo and Mono on Linux](https://www.ruby-forum.com/t/ironruby-github-repo-and-mono-on-linux/155189)

<div class="topic-metadata">

**Author:** [@dreamwave](https://www.ruby-forum.com/u/dreamwave)\
**Replies:** 0\
**Last updated:** [December 9, 2008, 5:31am UTC](https://www.ruby-forum.com/t/ironruby-github-repo-and-mono-on-linux/155189 "2008-12-09T05:31:54Z")

</div>

I successfully have the GitHub repo building on Mono 2.3 on Linux. Yes, you’ll have to use the Mono SVN head version. Also Microsoft.Dynamic.dll does not compile, neither does the Test assemblies, however everything …

---

## [\[BUG:trunk\] Encoding in which Array#pack returns when the last format is 'u', 'M', 'm'](https://www.ruby-forum.com/t/bug-trunk-encoding-in-which-array-pack-returns-when-the-last-format-is-u-m-m/155058)

<div class="topic-metadata">

**Author:** [@Yugui\_SYuki\_S.S](https://www.ruby-forum.com/u/Yugui_SYuki_S.S)\
**Replies:** 4\
**Last updated:** [December 9, 2008, 3:57am UTC](https://www.ruby-forum.com/t/bug-trunk-encoding-in-which-array-pack-returns-when-the-last-format-is-u-m-m/155058 "2008-12-09T03:57:48Z")

</div>

Yuguie$B$G$9!#e(B e$B$?$V$se(B\[ruby-dev:37286\]e$B$,$i$\_$G$9$,!"%Q%C%/%U%)!\<%^%C%H$N:G8e$Ke(B’u’, ‘M’, 'm’e$B$,$"$k$HLa$jCM$,LdEzL5MQ$Ge(BUS-ASCIIe$B$K$J$j$^$9!#e(B str1 = “\\xE0\\xE1”.force\_encoding(“iso-8859-1”) str2…

---

## [How to install sqlite3 in linux?](https://www.ruby-forum.com/t/how-to-install-sqlite3-in-linux/154620)

<div class="topic-metadata">

**Author:** [@youhaodeyi](https://www.ruby-forum.com/u/youhaodeyi)\
**Replies:** 5\
**Last updated:** [December 9, 2008, 2:53am UTC](https://www.ruby-forum.com/t/how-to-install-sqlite3-in-linux/154620 "2008-12-09T02:53:45Z")

</div>

I used this command to install sqlite3: gem install -p http://3.36.140.1 sqlite3-ruby but got this error: make: \*\*\* No rule to make target ruby.h', needed by sqlite3\_api\_wrap.o’. Stop. Gem files will remain installe…

---

## [Shoes 2 (raisins) is go](https://www.ruby-forum.com/t/shoes-2-raisins-is-go/155019)

<div class="topic-metadata">

**Author:** [@S\_why](https://www.ruby-forum.com/u/S_why)\
**Replies:** 12\
**Last updated:** [December 9, 2008, 2:39am UTC](https://www.ruby-forum.com/t/shoes-2-raisins-is-go/155019 "2008-12-09T02:39:24Z")

</div>

Salutations and hi. I only slide in for a moment to bring word of a very ordinary and plausible new development, akin to a routine change of bus drivers, or the moving of a toothpaste basket back into the hall closet.…

---

## [Is there a gem for consuming RESTful services?](https://www.ruby-forum.com/t/is-there-a-gem-for-consuming-restful-services/155175)

<div class="topic-metadata">

**Author:** [@nabblee](https://www.ruby-forum.com/u/nabblee)\
**Replies:** 2\
**Last updated:** [December 9, 2008, 1:25am UTC](https://www.ruby-forum.com/t/is-there-a-gem-for-consuming-restful-services/155175 "2008-12-09T01:25:44Z")

</div>

Somebody just released one for Groovy, which gave me a hankering. :slight\_smile: View this message in context: http://www.nabble.com/Is-there-a-gem-for-consuming-RESTful-services--tp20906154p20906154.html Sent from …

---

## [JRuby-Rack internal questions to integrate Quartz in JRoR](https://www.ruby-forum.com/t/jruby-rack-internal-questions-to-integrate-quartz-in-jror/155092)

<div class="topic-metadata">

**Author:** [@cmanruby](https://www.ruby-forum.com/u/cmanruby)\
**Replies:** 7\
**Last updated:** [December 8, 2008, 11:08pm UTC](https://www.ruby-forum.com/t/jruby-rack-internal-questions-to-integrate-quartz-in-jror/155092 "2008-12-08T23:08:02Z")

</div>

Hello list, I wrote a rails app and deployed it (with warbler and JRuby-Rack) in tomcat. Now, I need some sheduling functionality for health check, reporting, … Because I have a java background and I’m familiar with…

---

## [Handling C# lower case namespaces](https://www.ruby-forum.com/t/handling-c-lower-case-namespaces/154988)

<div class="topic-metadata">

**Author:** [@Aaron\_F](https://www.ruby-forum.com/u/Aaron_F)\
**Replies:** 15\
**Last updated:** [December 8, 2008, 10:58pm UTC](https://www.ruby-forum.com/t/handling-c-lower-case-namespaces/154988 "2008-12-08T22:58:39Z")

</div>

It seems like the current version does not handle lower case namespaces when referencing a .NET DLL. It thinks it is a method call whenever a constant starts with lower case. It also doesn’t handle non-alphabet cha…

---

## [Turn 0.4.0](https://www.ruby-forum.com/t/turn-0-4-0/154319)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [December 8, 2008, 5:59pm UTC](https://www.ruby-forum.com/t/turn-0-4-0/154319 "2008-12-08T17:59:03Z")

</div>

turn version 0.4.0 by Tim P. http://codeforpeople.rubyforge.org/turn == DESCRIPTION: TURN is a new way to view Test::Unit results. With longer running tests, it can be very frustrating to see a failure (…F…) and th…

---

## [Pattern matching Question](https://www.ruby-forum.com/t/pattern-matching-question/154876)

<div class="topic-metadata">

**Author:** [@raju\_k](https://www.ruby-forum.com/u/raju_k)\
**Replies:** 2\
**Last updated:** [December 8, 2008, 5:43pm UTC](https://www.ruby-forum.com/t/pattern-matching-question/154876 "2008-12-08T17:43:14Z")

</div>

Hi , I have a below log text ADS=gt sv caline 1 line 2c2 tv installationline 1\<b\>Samsung\</b\> New \<b\>SAMSUNG\</b\> TVStylish \<b\>LCD\</b\> Full \<b\>HDTV\</b\> with Quality. Find Karim&#39;s Design with \<b\>Samsung\</b\> TV\<b\>L…

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

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