# Ruby

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

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

---

## [How to use gems in irb on ubuntu?](https://www.ruby-forum.com/t/how-to-use-gems-in-irb-on-ubuntu/197469)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 3\
**Last updated:** [October 14, 2010, 10:35pm UTC](https://www.ruby-forum.com/t/how-to-use-gems-in-irb-on-ubuntu/197469 "2010-10-14T22:35:26Z")

</div>

I want to use the gem date\_easter in irb, but entering require ‘date\_easter’ causes irb to complain: LoadError: no such file to load – date\_easter from (irb):3:in \`require’ from (irb):3 from :0 date\_easter is insta…

---

## [Ruby-forum truncating threads?](https://www.ruby-forum.com/t/ruby-forum-truncating-threads/197432)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 1\
**Last updated:** [October 14, 2010, 10:15pm UTC](https://www.ruby-forum.com/t/ruby-forum-truncating-threads/197432 "2010-10-14T22:15:29Z")

</div>

If you look at the forum index at http://www.ruby-forum.com/forum/ruby you’ll see a thread titled “Camping or Merb”, and it says the last post was 8 hrs ago by Mark T However if you follow the link to the thread, the…

---

## [\[ANN\] sensible-cinema 0.10.1 released](https://www.ruby-forum.com/t/ann-sensible-cinema-0-10-1-released/197468)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [October 14, 2010, 9:33pm UTC](https://www.ruby-forum.com/t/ann-sensible-cinema-0-10-1-released/197468 "2010-10-14T21:33:26Z")

</div>

Hello all. I’m not sure why, but my previous release message of “sensible-cinema” (currently a gem designed to run on jruby) was lost. Anyway, here’s the original if anybody wants to read about it. http://www.ruby-fo…

---

## [Lorax 0.2.0 Released](https://www.ruby-forum.com/t/lorax-0-2-0-released/197466)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [October 14, 2010, 9:26pm UTC](https://www.ruby-forum.com/t/lorax-0-2-0-released/197466 "2010-10-14T21:26:21Z")

</div>

lorax version 0.2.0 has been released! http://github.com/flavorjones/lorax The Lorax is a full diff and patch library for XML/HTML documents, based on Nokogiri. It can tell you whether two XML/HTML documents are id…

---

## [Error in jdbc\_oracle when not including config.time\_zone in environment.rb](https://www.ruby-forum.com/t/error-in-jdbc-oracle-when-not-including-config-time-zone-in-environment-rb/197467)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [October 14, 2010, 8:54pm UTC](https://www.ruby-forum.com/t/error-in-jdbc-oracle-when-not-including-config-time-zone-in-environment-rb/197467 "2010-10-14T20:54:20Z")

</div>

This only happens with oracle, not with mysql nor mssql. If I don´t include config.time\_zone= ‘UTC’ or similar in environment.rb I get this error when trying to access a date field in a record, even in the console if…

---

## [Arjdbc connection bug? (beta2)](https://www.ruby-forum.com/t/arjdbc-connection-bug-beta2/197335)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 2\
**Last updated:** [October 14, 2010, 8:45pm UTC](https://www.ruby-forum.com/t/arjdbc-connection-bug-beta2/197335 "2010-10-14T20:45:31Z")

</div>

Hello, Using the tip of nickieger’s git tree with DB2 on Linux… Seems the first time a test env tries to access the database it doesn’t work anymore. Symptom is running “rake test” skips unit tests altogether and goe…

---

## [Win32ole IE](https://www.ruby-forum.com/t/win32ole-ie/197456)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 2\
**Last updated:** [October 14, 2010, 8:07pm UTC](https://www.ruby-forum.com/t/win32ole-ie/197456 "2010-10-14T20:07:18Z")

</div>

I am using native ruby api calls to IE without waitr to retrieve information from google maps. I am trying to capture the following output which is just a simple string: http://maps.google.com/maps/geo?q=123+main+str…

---

## [Set landscape orientation with Spreadsheet](https://www.ruby-forum.com/t/set-landscape-orientation-with-spreadsheet/197462)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [October 14, 2010, 7:35pm UTC](https://www.ruby-forum.com/t/set-landscape-orientation-with-spreadsheet/197462 "2010-10-14T19:35:57Z")

</div>

Hi Does anyone know if there is a way to generate Excel spreadsheets with landscape orientation with the (excellent) Spreadsheet gem? Regards Erik L.

---

## [Setting local variables for 'erb' command-line tool](https://www.ruby-forum.com/t/setting-local-variables-for-erb-command-line-tool/197444)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [October 14, 2010, 6:26pm UTC](https://www.ruby-forum.com/t/setting-local-variables-for-erb-command-line-tool/197444 "2010-10-14T18:26:03Z")

</div>

I have a bunch of \*.erb files which I would like to expand using the ‘erb’ command-line tool from within a shell script. However, I can’t see how to set local variables so that \<%= foo %\> works, other than piping the …

---

## [Freeze method doesn't work](https://www.ruby-forum.com/t/freeze-method-doesnt-work/197452)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [October 14, 2010, 5:24pm UTC](https://www.ruby-forum.com/t/freeze-method-doesnt-work/197452 "2010-10-14T17:24:12Z")

</div>

Freeze should prevent further modifications to ‘var’… mac-undrgrnd:~ yspro$ irb ruby-1.9.2-p0 \> var = 4 =\> 4 ruby-1.9.2-p0 \> var.frozen? =\> false ruby-1.9.2-p0 \> var.freeze =\> 4 ruby-1.9.2-p0 \> var.frozen? =\> tr…

---

## [Object Identification in Watir](https://www.ruby-forum.com/t/object-identification-in-watir/197437)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [October 14, 2010, 4:24pm UTC](https://www.ruby-forum.com/t/object-identification-in-watir/197437 "2010-10-14T16:24:38Z")

</div>

Hi, I am new to watir. I have been reading materials on watir for past few days and decided to try out some simple things on our web application in IE. But looking at the way our application has been designed I am now …

---

## [Another issue with spamassassin](https://www.ruby-forum.com/t/another-issue-with-spamassassin/196075)

<div class="topic-metadata">

**Author:** [@robkuz](https://www.ruby-forum.com/u/robkuz)\
**Replies:** 2\
**Last updated:** [October 14, 2010, 3:47pm UTC](https://www.ruby-forum.com/t/another-issue-with-spamassassin/196075 "2010-10-14T15:47:30Z")

</div>

Hi, that’s the second time I get a reply like this. Is there a way to make spamassassin more robust (new version)? Cheers robert ---------- Forwarded message ---------- From: Mail Delivery S. removed\_email\_address…

---

## [Cannot install a gem on Windows x64](https://www.ruby-forum.com/t/cannot-install-a-gem-on-windows-x64/197366)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [October 14, 2010, 3:26pm UTC](https://www.ruby-forum.com/t/cannot-install-a-gem-on-windows-x64/197366 "2010-10-14T15:26:09Z")

</div>

Hi, I am trying to install CUBRID Database Driver through “gem install cubrid” on my Windows x64 machine. I have installed CUBRID 3.0 x64. Ruby 1.8.7-p302 from Downloads DevKit-3.4.5-20100819-1535-sfx.exe from Down…

---

## [File creation](https://www.ruby-forum.com/t/file-creation/197418)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 2\
**Last updated:** [October 14, 2010, 2:54pm UTC](https://www.ruby-forum.com/t/file-creation/197418 "2010-10-14T14:54:47Z")

</div>

All This is embarrassing: How do I create a file? construct the log file name. It does not exist as yet. lfil = leg\_dir+log\_name puts “Log file name is: #{lfil}” Create the file if !File.exists?(lfil) puts “we ente…

---

## [Having problems with open4 and stuck forked processes](https://www.ruby-forum.com/t/having-problems-with-open4-and-stuck-forked-processes/195389)

<div class="topic-metadata">

**Author:** [@Tim\_U](https://www.ruby-forum.com/u/Tim_U)\
**Replies:** 12\
**Last updated:** [October 14, 2010, 2:13pm UTC](https://www.ruby-forum.com/t/having-problems-with-open4-and-stuck-forked-processes/195389 "2010-10-14T14:13:20Z")

</div>

I am running a batch process which uses the wkhtmltoimage-i386 binary to make screenshots of urls. Unfortunately this is in beta and it frequently hangs up and takes up 100% of one of the CPUs on the machine. I have…

---

## [\[Ruby 1.9-Bug#3907\]\[Open\] WIN32OLE\_TYPELIB Can't load while envvar in the pathname](https://www.ruby-forum.com/t/ruby-1-9-bug-3907-open-win32ole-typelib-cant-load-while-envvar-in-the-pathname/196022)

<div class="topic-metadata">

**Author:** [@Akio\_T](https://www.ruby-forum.com/u/Akio_T)\
**Replies:** 4\
**Last updated:** [October 14, 2010, 1:57pm UTC](https://www.ruby-forum.com/t/ruby-1-9-bug-3907-open-win32ole-typelib-cant-load-while-envvar-in-the-pathname/196022 "2010-10-14T13:57:41Z")

</div>

Bug #3907: WIN32OLE\_TYPELIB Can’t load while envvar in the pathname . http://redmine.ruby-lang.org/issues/show/3907 èµ·ç¥¨è€…: Akio T. ã‚¹ãƒ†ãƒ¼ã‚¿ã‚¹: Open, å„ªå…ˆåº¦: Normal ã‚«ãƒ†ã‚´ãƒª: ext, Target version: 1.9.3 …

---

## [Some Ruby assistance](https://www.ruby-forum.com/t/some-ruby-assistance/197414)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [October 14, 2010, 1:19pm UTC](https://www.ruby-forum.com/t/some-ruby-assistance/197414 "2010-10-14T13:19:18Z")

</div>

Hello, I was wondering if someone could help me with a bit of Ruby programming. My intent is to create one or two Twitbots (mainly for entertainment purposes) I have installed the gem twibot-0.1.7 on my server. The …

---

## [Bit Manipulation for a Pure Ruby SHA1 implementation](https://www.ruby-forum.com/t/bit-manipulation-for-a-pure-ruby-sha1-implementation/196350)

<div class="topic-metadata">

**Author:** [@leveille](https://www.ruby-forum.com/u/leveille)\
**Replies:** 5\
**Last updated:** [October 14, 2010, 11:03am UTC](https://www.ruby-forum.com/t/bit-manipulation-for-a-pure-ruby-sha1-implementation/196350 "2010-10-14T11:03:21Z")

</div>

I’m trying to write a pure Ruby implementation of SHA1. In order to do so, I need to be able to directly manipulate bits. I know about the bitwise operators in Ruby, but I’m having issues with the way that Ruby wraps …

---

## [Subversion-ruby](https://www.ruby-forum.com/t/subversion-ruby/226082)

<div class="topic-metadata">

**Author:** [@Mateusz\_Kyc](https://www.ruby-forum.com/u/Mateusz_Kyc)\
**Replies:** 2\
**Last updated:** [October 14, 2010, 10:51am UTC](https://www.ruby-forum.com/t/subversion-ruby/226082 "2010-10-14T10:51:49Z")

</div>

Hi all, I need to create functionality to access svn repository in my application. I tried subversion-ruby gem (which is very poorly documented) and succeeded partially. As basic operation I need to perform ‘svn list…

---

## [What happened to h2rb (C header file translator)](https://www.ruby-forum.com/t/what-happened-to-h2rb-c-header-file-translator/197431)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [October 14, 2010, 10:45am UTC](https://www.ruby-forum.com/t/what-happened-to-h2rb-c-header-file-translator/197431 "2010-10-14T10:45:09Z")

</div>

I was searching for some way to use C header files (mostly #defines) along with some embedded ruby and I found the script h2rb. Up until Ruby 1.8.7 it was in the ext/dl directory of the Ruby distributions: http://svn…

---

## [Net/smtp Multiple Email recipients Issue](https://www.ruby-forum.com/t/net-smtp-multiple-email-recipients-issue/197398)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 3\
**Last updated:** [October 14, 2010, 8:05am UTC](https://www.ruby-forum.com/t/net-smtp-multiple-email-recipients-issue/197398 "2010-10-14T08:05:20Z")

</div>

I am having an interesting issue. I just recently modified a script from sending to a single address to multiple. The emails are sent, but when you look at the To field in the email clients it is all messed up. For in…

---

## [Problem using an external thread with ruby](https://www.ruby-forum.com/t/problem-using-an-external-thread-with-ruby/197417)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [October 14, 2010, 8:00am UTC](https://www.ruby-forum.com/t/problem-using-an-external-thread-with-ruby/197417 "2010-10-14T08:00:44Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I have an problem … I create an external thread with pthread\_create and create new ruby objects in this thread. it seems to work until the GC is running. #0 mark\_…

---

## [Trouble installing 1.9.2](https://www.ruby-forum.com/t/trouble-installing-1-9-2/197350)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 1\
**Last updated:** [October 14, 2010, 2:10am UTC](https://www.ruby-forum.com/t/trouble-installing-1-9-2/197350 "2010-10-14T02:10:00Z")

</div>

I’ve been having a frustrating time installing 1.9.2 on my 2.16 Ghz macbook snow leopard system. Because of frustrations installing it manually, I installed rvm, thinking it would clear things up. I successfully ins…

---

## [Tkri](https://www.ruby-forum.com/t/tkri/196296)

<div class="topic-metadata">

**Author:** [@Rajinder\_Y](https://www.ruby-forum.com/u/Rajinder_Y)\
**Replies:** 1\
**Last updated:** [October 14, 2010, 1:29am UTC](https://www.ruby-forum.com/t/tkri/196296 "2010-10-14T01:29:15Z")

</div>

hi i am trying to use tkri but seem to be getting the following error, does anyone have this working? internal:lib/rubygems/custom\_require:29:in require': no such file to load -- tk (LoadError) from \<internal:lib/rubyg…

---

## [\[ANN\] using jetty for rails3 development: ruby-maven gem](https://www.ruby-forum.com/t/ann-using-jetty-for-rails3-development-ruby-maven-gem/197402)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [October 13, 2010, 10:57pm UTC](https://www.ruby-forum.com/t/ann-using-jetty-for-rails3-development-ruby-maven-gem/197402 "2010-10-13T22:57:30Z")

</div>

hello, actually it is wrapped polyglot maven which can take a Gemfile as POM. it is based on maven3 and the latest jruby-maven-plugins. the rest is just getting a nice config in place to run rails3 with jetty using th…

---

## [A use case for strmask gem?](https://www.ruby-forum.com/t/a-use-case-for-strmask-gem/197381)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 3\
**Last updated:** [October 13, 2010, 9:00pm UTC](https://www.ruby-forum.com/t/a-use-case-for-strmask-gem/197381 "2010-10-13T21:00:48Z")

</div>

String::Mask is a library I created not for a specific use case, but simply b/c it had a certain logical sense to it. However, to this day I have not conceived of any need for it. I’m wondering if anyone else can thin…

---

## [Accessing SVN repository through Ruby](https://www.ruby-forum.com/t/accessing-svn-repository-through-ruby/166679)

<div class="topic-metadata">

**Author:** [@r-andrey](https://www.ruby-forum.com/u/r-andrey)\
**Replies:** 8\
**Last updated:** [October 13, 2010, 8:58pm UTC](https://www.ruby-forum.com/t/accessing-svn-repository-through-ruby/166679 "2010-10-13T20:58:45Z")

</div>

Hi people! My boss ask me about a ruby library that can provide checking-out, updating and management code-bases from SVN’s repositories. Wich is the better way to get access and manipulate code-bases from SVN’s repo…

---

## [Do you need a cert to make a gem?](https://www.ruby-forum.com/t/do-you-need-a-cert-to-make-a-gem/197360)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [October 13, 2010, 5:07pm UTC](https://www.ruby-forum.com/t/do-you-need-a-cert-to-make-a-gem/197360 "2010-10-13T17:07:25Z")

</div>

I’m trying to learn how to make my own gem. I just wondered about certificates. Do I need it, if it’s just for my own use on my own server?

---

## [Rails 3, Glassfish Gem, and request.raw\_post](https://www.ruby-forum.com/t/rails-3-glassfish-gem-and-request-raw-post/197382)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [October 13, 2010, 4:19pm UTC](https://www.ruby-forum.com/t/rails-3-glassfish-gem-and-request-raw-post/197382 "2010-10-13T16:19:10Z")

</div>

I encountered an issue where request.raw\_post consistently returned nil within a Rails 3 controller. I initially developed the Rails application using WEBrick, which always provided the raw POST data. Examining the p…

---

## [Openssl certificate fingerprint](https://www.ruby-forum.com/t/openssl-certificate-fingerprint/197368)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [October 13, 2010, 4:14pm UTC](https://www.ruby-forum.com/t/openssl-certificate-fingerprint/197368 "2010-10-13T16:14:13Z")

</div>

Sorry folks, this should be a FAQ but I googled with no useful results. The standard library OpenSSL RDoc is very poor. I just need the Ruby equivalent of this command line: openssl x509 -noout -md5 -fingerprint -in …

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

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