# Ruby

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

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

---

## [Actionmailer configuration in glassfish?](https://www.ruby-forum.com/t/actionmailer-configuration-in-glassfish/144959)

<div class="topic-metadata">

**Author:** [@mrkohrea](https://www.ruby-forum.com/u/mrkohrea)\
**Replies:** 2\
**Last updated:** [August 4, 2008, 7:57pm UTC](https://www.ruby-forum.com/t/actionmailer-configuration-in-glassfish/144959 "2008-08-04T19:57:30Z")

</div>

Hi all- I hope this is an appropriate forum for this question, but where should smtp configuration be done with a warbler-deployed jruby rails app? Within glassfish, in the standard java-way? Or as part of the rail…

---

## [Earworm 0.0.1 Released](https://www.ruby-forum.com/t/earworm-0-0-1-released/144966)

<div class="topic-metadata">

**Author:** [@aaronpowell](https://www.ruby-forum.com/u/aaronpowell)\
**Replies:** 0\
**Last updated:** [August 4, 2008, 7:37pm UTC](https://www.ruby-forum.com/t/earworm-0-0-1-released/144966 "2008-08-04T19:37:02Z")

</div>

earworm version 0.0.1 has been released! http://earworm.rubyforge.org Earworm can identify unknown music using MusicDNS and libofa. FEATURES/PROBLEMS: Identifies mp3, ogg, and wav files. SYNOPSIS: Identify an unk…

---

## [Icanhasaudio 0.1.1 Released](https://www.ruby-forum.com/t/icanhasaudio-0-1-1-released/144964)

<div class="topic-metadata">

**Author:** [@aaronpowell](https://www.ruby-forum.com/u/aaronpowell)\
**Replies:** 0\
**Last updated:** [August 4, 2008, 7:34pm UTC](https://www.ruby-forum.com/t/icanhasaudio-0-1-1-released/144964 "2008-08-04T19:34:06Z")

</div>

icanhasaudio version 0.1.1 has been released! http://seattlerb.rubyforge.org/ Hai! icanhasaudio? is an interface to lame for decoding ur MP3s. I iz in ur computer. Decodin ur mp3s. Whatevs! I also decodin ur OGGz…

---

## [Display pages in different languages](https://www.ruby-forum.com/t/display-pages-in-different-languages/144913)

<div class="topic-metadata">

**Author:** [@ganana\_srishti](https://www.ruby-forum.com/u/ganana_srishti)\
**Replies:** 1\
**Last updated:** [August 4, 2008, 7:32pm UTC](https://www.ruby-forum.com/t/display-pages-in-different-languages/144913 "2008-08-04T19:32:20Z")

</div>

Hi, I want to diplay page content in different languages… eg: uk-english,german language etc… if anybody know plz reply…

---

## [Fwd: Logging issue w/ JRuby 1.1.2 on Glassfish](https://www.ruby-forum.com/t/fwd-logging-issue-w-jruby-1-1-2-on-glassfish/144072)

<div class="topic-metadata">

**Author:** [@Joel\_ESWilson](https://www.ruby-forum.com/u/Joel_ESWilson)\
**Replies:** 6\
**Last updated:** [August 4, 2008, 6:53pm UTC](https://www.ruby-forum.com/t/fwd-logging-issue-w-jruby-1-1-2-on-glassfish/144072 "2008-08-04T18:53:40Z")

</div>

Bringing this back to the list, as I haven’t gotten any further by digging into Rack and am not sure where my solution lies. -Joel ----- Forwarded Message ----- From: “Joel E. Wilson” removed\_email\_address@domain.inv…

---

## [Alphanumeric encrypt/decrypt](https://www.ruby-forum.com/t/alphanumeric-encrypt-decrypt/144850)

<div class="topic-metadata">

**Author:** [@rubyfreak](https://www.ruby-forum.com/u/rubyfreak)\
**Replies:** 8\
**Last updated:** [August 4, 2008, 6:51pm UTC](https://www.ruby-forum.com/t/alphanumeric-encrypt-decrypt/144850 "2008-08-04T18:51:18Z")

</div>

Hello, Is there an encryption (decryption) routine that will return only alphanumeric characters? Looking forward to your help. RF

---

## [Read file over SSH](https://www.ruby-forum.com/t/read-file-over-ssh/144823)

<div class="topic-metadata">

**Author:** [@shashank\_hi](https://www.ruby-forum.com/u/shashank_hi)\
**Replies:** 7\
**Last updated:** [August 4, 2008, 5:42pm UTC](https://www.ruby-forum.com/t/read-file-over-ssh/144823 "2008-08-04T17:42:51Z")

</div>

Is there a way to read a file over SSH? I looked at the net/ssh library but couldn’t put together a working code. Thanks.

---

## [RubyGems - update made a mess - help needed with Windows](https://www.ruby-forum.com/t/rubygems-update-made-a-mess-help-needed-with-windows/144666)

<div class="topic-metadata">

**Author:** [@newrubygirl](https://www.ruby-forum.com/u/newrubygirl)\
**Replies:** 15\
**Last updated:** [August 4, 2008, 5:38pm UTC](https://www.ruby-forum.com/t/rubygems-update-made-a-mess-help-needed-with-windows/144666 "2008-08-04T17:38:40Z")

</div>

I just did a system update of RubyGems and it just broke my rake test. I get a message saying that there is no such file to load …/initializer. I’m wondering what the best thing to do would be. This project is in svn…

---

## [Sqlite3-ruby gem install problem](https://www.ruby-forum.com/t/sqlite3-ruby-gem-install-problem/144939)

<div class="topic-metadata">

**Author:** [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Replies:** 4\
**Last updated:** [August 4, 2008, 5:03pm UTC](https://www.ruby-forum.com/t/sqlite3-ruby-gem-install-problem/144939 "2008-08-04T17:03:58Z")

</div>

\[on Kubuntu Linux 8.04.1, with Ruby 1.8.6 and latest rubygems\] I think the installation routine was looking for sqlite3.h and couldn’t find it, but I may be way off. I’m clearly beyond my comfort/knowledge boundary…ag…

---

## [Attachment\_fu - Problem in displaying image data from DB](https://www.ruby-forum.com/t/attachment-fu-problem-in-displaying-image-data-from-db/144917)

<div class="topic-metadata">

**Author:** [@karthikeyan](https://www.ruby-forum.com/u/karthikeyan)\
**Replies:** 1\
**Last updated:** [August 4, 2008, 3:16pm UTC](https://www.ruby-forum.com/t/attachment-fu-problem-in-displaying-image-data-from-db/144917 "2008-08-04T15:16:37Z")

</div>

Hi, I am using attachment\_fu plugin to upload images to database(I am using “:storage =\> :db\_file”). Now I want to read the image and display it in a web page. I am able to read it correctly, but i don’t know how to …

---

## [Deploying as single jar file](https://www.ruby-forum.com/t/deploying-as-single-jar-file/144905)

<div class="topic-metadata">

**Author:** [@Jarosia\_Hope](https://www.ruby-forum.com/u/Jarosia_Hope)\
**Replies:** 1\
**Last updated:** [August 4, 2008, 1:46pm UTC](https://www.ruby-forum.com/t/deploying-as-single-jar-file/144905 "2008-08-04T13:46:55Z")

</div>

Hello I have been trying to find a method of deploying my desktop app that satisfies the following; SINGLE JAR FILE (including gems, jruby binary and application) Ruby code must be protected as much as possible ie ma…

---

## [Odd CSV behavior](https://www.ruby-forum.com/t/odd-csv-behavior/144904)

<div class="topic-metadata">

**Author:** [@binkly](https://www.ruby-forum.com/u/binkly)\
**Replies:** 3\
**Last updated:** [August 4, 2008, 1:39pm UTC](https://www.ruby-forum.com/t/odd-csv-behavior/144904 "2008-08-04T13:39:17Z")

</div>

Hello All, I’m hoping someone out there can help me troubleshoot a strange problem that I’m experiencing with CSV files. I download a file, in CSV format, from a website and when I try to parse with CSV and Faster CS…

---

## [Handling special characters](https://www.ruby-forum.com/t/handling-special-characters/144912)

<div class="topic-metadata">

**Author:** [@sajal](https://www.ruby-forum.com/u/sajal)\
**Replies:** 3\
**Last updated:** [August 4, 2008, 11:57am UTC](https://www.ruby-forum.com/t/handling-special-characters/144912 "2008-08-04T11:57:25Z")

</div>

Hi all. I am very new to Ruby (5 days old) so my question might sound very noobish. I am posting it only cause I couldn’t find a solution. I am using ruby to scrape content of a site. To be precise I am having proble…

---

## [How to change default gems repository on Debian](https://www.ruby-forum.com/t/how-to-change-default-gems-repository-on-debian/144909)

<div class="topic-metadata">

**Author:** [@tekhne](https://www.ruby-forum.com/u/tekhne)\
**Replies:** 2\
**Last updated:** [August 4, 2008, 10:11am UTC](https://www.ruby-forum.com/t/how-to-change-default-gems-repository-on-debian/144909 "2008-08-04T10:11:36Z")

</div>

Hi all, I’m trying to upgrade an old gem installation (0.9.5) on Debian machine. On Debian, the default gem repository is /var/lib/gems/1.8. However, if I install gem from source, the default location of the repositor…

---

## [\[Ruby 1.8 - Bug #274\] (Open) typo in net/smtp](https://www.ruby-forum.com/t/ruby-1-8-bug-274-open-typo-in-net-smtp/143033)

<div class="topic-metadata">

**Author:** [@Masao\_Takaku](https://www.ruby-forum.com/u/Masao_Takaku)\
**Replies:** 1\
**Last updated:** [August 4, 2008, 7:47am UTC](https://www.ruby-forum.com/t/ruby-1-8-bug-274-open-typo-in-net-smtp/143033 "2008-08-04T07:47:22Z")

</div>

e$B%A%1%C%He(B #274 e$B$,Js9p$5$l$^$7$?!#e(B (by Masao Takaku) Bug #274: typo in net/smtp http://redmine.ruby-lang.org/issues/show/274 e$B5/I\<\<Te(B: Masao Takaku e$B%9%F!\<%?%9e(B: Open e$BM%@hEYe(B: Normal e$BC4Ev\<…

---

## [Sails, WPF/Silverlight the rails way](https://www.ruby-forum.com/t/sails-wpf-silverlight-the-rails-way/144560)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 4\
**Last updated:** [August 4, 2008, 7:25am UTC](https://www.ruby-forum.com/t/sails-wpf-silverlight-the-rails-way/144560 "2008-08-04T07:25:09Z")

</div>

Hi all, I worked on a way to do wpf/development the rails way. It’s heavily inspired by rucola and its interaction with interface builder. I created and will finish this framework when there is more possible with d…

---

## [Sup 0.6 Released](https://www.ruby-forum.com/t/sup-0-6-released/144899)

<div class="topic-metadata">

**Author:** [@trucker](https://www.ruby-forum.com/u/trucker)\
**Replies:** 0\
**Last updated:** [August 4, 2008, 5:02am UTC](https://www.ruby-forum.com/t/sup-0-6-released/144899 "2008-08-04T05:02:32Z")

</div>

Sup version 0.6 has been released! http://sup.rubyforge.org Sup is a console-based email client for people with a lot of email. It supports tagging, very fast full-text search, automatic contact- list management, an…

---

## [Warbler 0.9.9 - rails memcached session cache problems](https://www.ruby-forum.com/t/warbler-0-9-9-rails-memcached-session-cache-problems/143682)

<div class="topic-metadata">

**Author:** [@Albert\_R](https://www.ruby-forum.com/u/Albert_R)\
**Replies:** 9\
**Last updated:** [August 4, 2008, 3:54am UTC](https://www.ruby-forum.com/t/warbler-0-9-9-rails-memcached-session-cache-problems/143682 "2008-08-04T03:54:45Z")

</div>

Hello! I am trying to setup memcached cache storage, but it seems it is not working 100%. It seems it is keeping a separate session for each appserver, even though I am using the same set of memcache instances. The …

---

## [Newbie ,needed help learning ruby](https://www.ruby-forum.com/t/newbie-needed-help-learning-ruby/144816)

<div class="topic-metadata">

**Author:** [@wrapster](https://www.ruby-forum.com/u/wrapster)\
**Replies:** 7\
**Last updated:** [August 4, 2008, 3:08am UTC](https://www.ruby-forum.com/t/newbie-needed-help-learning-ruby/144816 "2008-08-04T03:08:31Z")

</div>

Hi all, I am a newbie and trying to learn ruby! I have found a few materials on the web like the pragmatic programmers guide… But i feel its a little over my head when it comes to understanding the concepts and impl…

---

## [Rcov for JRuby](https://www.ruby-forum.com/t/rcov-for-jruby/144607)

<div class="topic-metadata">

**Author:** [@Jay\_McGaffigan](https://www.ruby-forum.com/u/Jay_McGaffigan)\
**Replies:** 2\
**Last updated:** [August 4, 2008, 2:45am UTC](https://www.ruby-forum.com/t/rcov-for-jruby/144607 "2008-08-04T02:45:43Z")

</div>

Hi all, We have a gem for RCov that largely works for JRuby. Not all the unit tests pass but the differences to date look to be differences between how JRuby and MRI work (Charles if you’ve some time I’d like to ta…

---

## [A couple of basic questions](https://www.ruby-forum.com/t/a-couple-of-basic-questions/144485)

<div class="topic-metadata">

**Author:** [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Replies:** 4\
**Last updated:** [August 4, 2008, 2:45am UTC](https://www.ruby-forum.com/t/a-couple-of-basic-questions/144485 "2008-08-04T02:45:43Z")

</div>

Hi, Q.1: I was processing file/dir names with the following snippet: Find.find(wd) do |item| # Subordinate file/directory fully-qualified names if File.directory?(item) # Process directory name if item =~ /portfoli…

---

## [Unsubscribe](https://www.ruby-forum.com/t/unsubscribe/144876)

<div class="topic-metadata">

**Author:** [@Pascal\_B](https://www.ruby-forum.com/u/Pascal_B)\
**Replies:** 1\
**Last updated:** [August 4, 2008, 2:14am UTC](https://www.ruby-forum.com/t/unsubscribe/144876 "2008-08-04T02:14:43Z")

</div>

unsubscribe

---

## [Why am I getting "undefined method" error?](https://www.ruby-forum.com/t/why-am-i-getting-undefined-method-error/144885)

<div class="topic-metadata">

**Author:** [@laredotornado](https://www.ruby-forum.com/u/laredotornado)\
**Replies:** 4\
**Last updated:** [August 4, 2008, 12:05am UTC](https://www.ruby-forum.com/t/why-am-i-getting-undefined-method-error/144885 "2008-08-04T00:05:32Z")

</div>

Hi, I have a model, in which I have defined a method … class Form \< ActiveRecord::Base has\_many :form\_items validates\_associated :form\_items … def self.has\_items FormItem.count(:all, :conditions =\> …

---

## [Initialize : permission denied](https://www.ruby-forum.com/t/initialize-permission-denied/144883)

<div class="topic-metadata">

**Author:** [@bobm](https://www.ruby-forum.com/u/bobm)\
**Replies:** 3\
**Last updated:** [August 3, 2008, 11:06pm UTC](https://www.ruby-forum.com/t/initialize-permission-denied/144883 "2008-08-03T23:06:27Z")

</div>

Hi, Tryin to create a file that I’ll write in. The error I get is: initialize : permission denied I’ve tried all of the following File.new(“a151noplus.txt”,“w”) g=File.new(“a151noplus.txt”,“w”) File.new(‘a151noplu…

---

## [Installing sake tasks along with gem (gem install hooks?)](https://www.ruby-forum.com/t/installing-sake-tasks-along-with-gem-gem-install-hooks/144874)

<div class="topic-metadata">

**Author:** [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Replies:** 2\
**Last updated:** [August 3, 2008, 8:26pm UTC](https://www.ruby-forum.com/t/installing-sake-tasks-along-with-gem-gem-install-hooks/144874 "2008-08-03T20:26:03Z")

</div>

I’d like to install a bunch of sake tasks when a gem gets installed. Has anyone done this? Are there any nice hooks into the gem install process, or do I just have to hack some stuff in? I know that you can install …

---

## [Look-around not working in ruby 1.9.0 or my mistake?](https://www.ruby-forum.com/t/look-around-not-working-in-ruby-1-9-0-or-my-mistake/144875)

<div class="topic-metadata">

**Author:** [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Replies:** 1\
**Last updated:** [August 3, 2008, 8:15pm UTC](https://www.ruby-forum.com/t/look-around-not-working-in-ruby-1-9-0-or-my-mistake/144875 "2008-08-03T20:15:30Z")

</div>

Hi, I just installed ruby 1.9.0 (2008-07-25 revision 18217) \[i386-mswin32\] in order get Ruby look-behind functionality. I expected the following snippet to insert a substring, but it did nothing: Ruby: printf(“item…

---

## [Memory leaks](https://www.ruby-forum.com/t/memory-leaks/144865)

<div class="topic-metadata">

**Author:** [@shinichiro.h](https://www.ruby-forum.com/u/shinichiro.h)\
**Replies:** 0\
**Last updated:** [August 3, 2008, 4:00pm UTC](https://www.ruby-forum.com/t/memory-leaks/144865 "2008-08-03T16:00:54Z")

</div>

e$BIMCO$G$9!#e(B test/ruby e$B0J2\<$re(B valgrind e$B$+$1$F$$?$ie(B e$B?’!9$H$"$C$?$h$&$J$N$G=$@5$7$F$$^$7$?!#e(B marshal.c Marshal.dump(‘hoge’) e$B$G%j!\<%/$7$^$9!#e(B process.c IO.popen(\[“echo bar”\]) {} e$B$G%j…

---

## [Prawn 0.1.0 : Fast, Nimble PDF Generation in pure Ruby](https://www.ruby-forum.com/t/prawn-0-1-0-fast-nimble-pdf-generation-in-pure-ruby/144864)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 0\
**Last updated:** [August 3, 2008, 2:14pm UTC](https://www.ruby-forum.com/t/prawn-0-1-0-fast-nimble-pdf-generation-in-pure-ruby/144864 "2008-08-03T14:14:27Z")

</div>

Prawn : Fast, Nimble Ruby PDF Generator Release Version 0.1.0 = Description: Prawn is a new pure Ruby PDF generation library, with the long term goal of providing a suitable replacement for PDF::Writer. It is being …

---

## [Renaming rubyspec directory](https://www.ruby-forum.com/t/renaming-rubyspec-directory/144857)

<div class="topic-metadata">

**Author:** [@Yugui\_SYuki\_S.S](https://www.ruby-forum.com/u/Yugui_SYuki_S.S)\
**Replies:** 0\
**Last updated:** [August 3, 2008, 10:39am UTC](https://www.ruby-forum.com/t/renaming-rubyspec-directory/144857 "2008-08-03T10:39:38Z")

</div>

Yuguiã§ã™ã€‚ å€‹äººçš„ã«ã€Ruby 1.9ã®specã‚’ http://github.com/yugui/rubyspec/tree/v1.9 ã« ã¦æ›¸ãå§‹ã‚ã¾ã—ãŸã€‚ ã¾ãŸã€ã“ã‚Œã‚’æ´»ç”¨ã™ã‚‹ãŸã‚ã«ruby\_1\_8ãƒ–ãƒ©ãƒ³ãƒã«akrã•ã‚“ãŒå…¥ã‚ŒãŸupdate- r…

---

## [Ruby 1.9 Binding#exec and introspection](https://www.ruby-forum.com/t/ruby-1-9-binding-exec-and-introspection/144415)

<div class="topic-metadata">

**Author:** [@hetman](https://www.ruby-forum.com/u/hetman)\
**Replies:** 2\
**Last updated:** [August 3, 2008, 10:37am UTC](https://www.ruby-forum.com/t/ruby-1-9-binding-exec-and-introspection/144415 "2008-08-03T10:37:02Z")

</div>

I’d like to open up a discussion about extending the Binding class we have available in Ruby. Apologies if this is already happening somewhere but I couldn’t find any discussions on the topic. I think it’s great Ruby …

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

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