# Ruby

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

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

---

## [Accessors arity in MRI and JRuby](https://www.ruby-forum.com/t/accessors-arity-in-mri-and-jruby/169220)

<div class="topic-metadata">

**Author:** [@gendag](https://www.ruby-forum.com/u/gendag)\
**Replies:** 3\
**Last updated:** [June 1, 2009, 12:41pm UTC](https://www.ruby-forum.com/t/accessors-arity-in-mri-and-jruby/169220 "2009-06-01T12:41:05Z")

</div>

Hi all, I noticed a difference in the arity of accessors between MRI and JRuby: MRI VERSION = 1.8.6-p287 CMD = ~/.multiruby/install/1.8.6-p287/bin/ruby -S irb irb(main):001:0\> class Foo irb(main):002:1\> attr\_acc…

---

## [Regular expression](https://www.ruby-forum.com/t/regular-expression/169094)

<div class="topic-metadata">

**Author:** [@duffbeer](https://www.ruby-forum.com/u/duffbeer)\
**Replies:** 12\
**Last updated:** [June 1, 2009, 12:09pm UTC](https://www.ruby-forum.com/t/regular-expression/169094 "2009-06-01T12:09:27Z")

</div>

I want to write a regular expression to do the following. The first character can be any character. The second character can be anything except the first character. The third character can be anything except the first…

---

## [Again threading problems](https://www.ruby-forum.com/t/again-threading-problems/169155)

<div class="topic-metadata">

**Author:** [@hellothere1](https://www.ruby-forum.com/u/hellothere1)\
**Replies:** 8\
**Last updated:** [June 1, 2009, 11:02am UTC](https://www.ruby-forum.com/t/again-threading-problems/169155 "2009-06-01T11:02:44Z")

</div>

Hello. I am now coding a small application that should do the following: User inputs timestamps in a file. Application starts a thread and check every second if the current time is equal to any timestamp in the file …

---

## [Set#include? $B$N5sF0$,(B 1.8.6 $B$^$G$H(B 1.8.7 $B0J9\_$G0\[$J$k(B](https://www.ruby-forum.com/t/set-include-b-n5sf0-b-1-8-6-b-g-h-b-1-8-7-b0j9-g0-j-k-b/169235)

<div class="topic-metadata">

**Author:** [@okkez](https://www.ruby-forum.com/u/okkez)\
**Replies:** 0\
**Last updated:** [June 1, 2009, 8:54am UTC](https://www.ruby-forum.com/t/set-include-b-n5sf0-b-1-8-6-b-g-h-b-1-8-7-b0j9-g0-j-k-b/169235 "2009-06-01T08:54:23Z")

</div>

okkez e$B$G$9!#e(B e$B$k$j$^$N%A%1%C%H$r@0M}$7$F$$$?$i$h$/$o$+$i$J$/$J$C$?$N$G65$($F$$$?$@$1$k$H=u$+$j$^$9!#e(B http://redmine.ruby-lang.org/issues/show/82 e$B0J2\<$N%9%/%j%W%H$N\<B9T7k2L$,e(B 1.8.6 e$B$^$G$He(B 1.8.7 …

---

## [Ruby LDAP SSL thingy won't go](https://www.ruby-forum.com/t/ruby-ldap-ssl-thingy-wont-go/169134)

<div class="topic-metadata">

**Author:** [@Xeno\_C](https://www.ruby-forum.com/u/Xeno_C)\
**Replies:** 3\
**Last updated:** [June 1, 2009, 6:26am UTC](https://www.ruby-forum.com/t/ruby-ldap-ssl-thingy-wont-go/169134 "2009-06-01T06:26:22Z")

</div>

\#!/usr/bin/ruby require ‘ldap’ begin ldap\_host = ‘corp.com’ ldap\_port = 636 ldap\_conn = LDAP::SSLConn.new(ldap\_host,ldap\_port) puts “trace 2 ldap\_conn: #{ldap\_conn.class}” ldap\_conn.set\_option( LDAP::LDAP\_OPT\_PR…

---

## [IronRuby MVC](https://www.ruby-forum.com/t/ironruby-mvc/169223)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 0\
**Last updated:** [June 1, 2009, 1:29am UTC](https://www.ruby-forum.com/t/ironruby-mvc/169223 "2009-06-01T01:29:12Z")

</div>

Hi I’ve just pushed IronRuby MVC and sent the pull request. AFAICT it should bind to Rails ORM/s now at least it creates the necessary objects (nested hashes to do so). I’m going to be sprinting to get my last chap…

---

## [Re: sequel error handeling](https://www.ruby-forum.com/t/re-sequel-error-handeling/169215)

<div class="topic-metadata">

**Author:** [@spox](https://www.ruby-forum.com/u/spox)\
**Replies:** 0\
**Last updated:** [May 31, 2009, 10:43pm UTC](https://www.ruby-forum.com/t/re-sequel-error-handeling/169215 "2009-05-31T22:43:05Z")

</div>

On Sunday 31 May 2009 05:44:54 am jeljer te Wies wrote: but how can i get that error ? … i tried (as you can see): if item.save return true … etc … but that doesn’t work :frowning: ( obviously) … i googled, read th…

---

## [Kenai woes](https://www.ruby-forum.com/t/kenai-woes/169211)

<div class="topic-metadata">

**Author:** [@marc](https://www.ruby-forum.com/u/marc)\
**Replies:** 0\
**Last updated:** [May 31, 2009, 9:57pm UTC](https://www.ruby-forum.com/t/kenai-woes/169211 "2009-05-31T21:57:24Z")

</div>

kenai seems to have “lost” my password. I have it saved in firefox on two machines, and it’s saved in my wiki, so I’m confident that what I have is correct. Anyway, after a few attempts at logging in, the thing says…

---

## [Runnin code at a certain time?](https://www.ruby-forum.com/t/runnin-code-at-a-certain-time/168775)

<div class="topic-metadata">

**Author:** [@tomrobinson](https://www.ruby-forum.com/u/tomrobinson)\
**Replies:** 19\
**Last updated:** [May 31, 2009, 7:23pm UTC](https://www.ruby-forum.com/t/runnin-code-at-a-certain-time/168775 "2009-05-31T19:23:57Z")

</div>

Hello all, I am new to ruby and I am attempting to run some code at a certain time. The Ruby Time class is very interesting, you can add time, and do all of these amazing things but i cannot find a way to run code at …

---

## [Undefined method error](https://www.ruby-forum.com/t/undefined-method-error/169170)

<div class="topic-metadata">

**Author:** [@afg](https://www.ruby-forum.com/u/afg)\
**Replies:** 2\
**Last updated:** [May 31, 2009, 4:32pm UTC](https://www.ruby-forum.com/t/undefined-method-error/169170 "2009-05-31T16:32:59Z")

</div>

Hello, I am encountering the following runtime error: load(‘C:\\SketchUp\\gfVirtualWMS.rb’) Error: #\<NoMethodError: C:/Program Files/Google/Google SketchUp 6/Plugins/gfMakePallet01.rb:59:in gfMakePallet01': undefined m…

---

## [Time bug? oddity? or user error?](https://www.ruby-forum.com/t/time-bug-oddity-or-user-error/169178)

<div class="topic-metadata">

**Author:** [@mcampbell](https://www.ruby-forum.com/u/mcampbell)\
**Replies:** 8\
**Last updated:** [May 31, 2009, 3:56pm UTC](https://www.ruby-forum.com/t/time-bug-oddity-or-user-error/169178 "2009-05-31T15:56:44Z")

</div>

I’ve just transitioned to Ubuntu (9.04) from Vista, and am noticing an oddity with jruby Time. It could very well be user error, but wanted to run it by you. 14:04:08 ~\>ruby -e ‘p Time.now’ Sat May 30 14:04:13 -0400…

---

## [Sequel error handeling](https://www.ruby-forum.com/t/sequel-error-handeling/169197)

<div class="topic-metadata">

**Author:** [@heldopslippers](https://www.ruby-forum.com/u/heldopslippers)\
**Replies:** 0\
**Last updated:** [May 31, 2009, 2:44pm UTC](https://www.ruby-forum.com/t/sequel-error-handeling/169197 "2009-05-31T14:44:49Z")

</div>

hee people. I have a problem with error handeling in sequel. here is my code: http://pastie.org/495630 As you can see i have a method called create. in my migration i set the domain to be unique. So i get an error w…

---

## [Fixing core/time/asctime](https://www.ruby-forum.com/t/fixing-core-time-asctime/169143)

<div class="topic-metadata">

**Author:** [@jballanc](https://www.ruby-forum.com/u/jballanc)\
**Replies:** 5\
**Last updated:** [May 31, 2009, 8:44am UTC](https://www.ruby-forum.com/t/fixing-core-time-asctime/169143 "2009-05-31T08:44:51Z")

</div>

Hi all, I am new to Ruby and IronRuby as well, but I would like to help if I can. Last week, I submitted a request for ssiadmin, but haven’t heard back yet. Meanwhile, I am trying to find some low hanging fruit. I …

---

## [Listing an Array created within a Class](https://www.ruby-forum.com/t/listing-an-array-created-within-a-class/169173)

<div class="topic-metadata">

**Author:** [@adrianunderwater](https://www.ruby-forum.com/u/adrianunderwater)\
**Replies:** 3\
**Last updated:** [May 31, 2009, 7:09am UTC](https://www.ruby-forum.com/t/listing-an-array-created-within-a-class/169173 "2009-05-31T07:09:16Z")

</div>

I am learning from Programming Ruby wich comes with Ruby instalation. In the chapter about containers - Implementing a SongList Container I took the code in NetBeans like follows: require ‘Baza.rb’ #here is my Song cl…

---

## [Standard Libraries Support](https://www.ruby-forum.com/t/standard-libraries-support/169127)

<div class="topic-metadata">

**Author:** [@shayfriedman](https://www.ruby-forum.com/u/shayfriedman)\
**Replies:** 4\
**Last updated:** [May 30, 2009, 9:50pm UTC](https://www.ruby-forum.com/t/standard-libraries-support/169127 "2009-05-30T21:50:38Z")

</div>

Hi, I’m trying out the different standard libraries via IronRuby and some throw errors once I try to require or use them. The problematic ones are: RSS Finalize Open3 OpenSSL Shell WeakRef Also resolv and resol…

---

## [XDG v0.5.2 released](https://www.ruby-forum.com/t/xdg-v0-5-2-released/169179)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [May 30, 2009, 9:50pm UTC](https://www.ruby-forum.com/t/xdg-v0-5-2-released/169179 "2009-05-30T21:50:03Z")

</div>

= XDG Base Directory Standard for Ruby http://xdg.rubyforge.org == Introduction XDG provides an easy to use module for utilizing the XDG Base Directory Standard\[1\]. If your program utilizes user or system-wide suppo…

---

## [New sdlsdk build?](https://www.ruby-forum.com/t/new-sdlsdk-build/169172)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 1\
**Last updated:** [May 30, 2009, 9:27pm UTC](https://www.ruby-forum.com/t/new-sdlsdk-build/169172 "2009-05-30T21:27:06Z")

</div>

Hi is there going to be an updated sdlsdk build anytime soon? Met vriendelijke groeten - Best regards - Salutations Ivan Porto C. GSM: +32.486.787.582 Blog: http://flanders.co.nz Twitter: http://twitter.com/casualj…

---

## [Ruby for Python 0.0.1](https://www.ruby-forum.com/t/ruby-for-python-0-0-1/169171)

<div class="topic-metadata">

**Author:** [@Gary\_Niger](https://www.ruby-forum.com/u/Gary_Niger)\
**Replies:** 5\
**Last updated:** [May 30, 2009, 9:08pm UTC](https://www.ruby-forum.com/t/ruby-for-python-0-0-1/169171 "2009-05-30T21:08:48Z")

</div>

Hi everyone! I’ve borrowed ideas from \_why’s original attempts to compile Ruby into Python bytecode. I’m releasing a fully-featured Python bytecode compiler which works on Ruby source code. It’s passing the full …

---

## [Requesting Japanese Translation](https://www.ruby-forum.com/t/requesting-japanese-translation/169146)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 12\
**Last updated:** [May 30, 2009, 9:04pm UTC](https://www.ruby-forum.com/t/requesting-japanese-translation/169146 "2009-05-30T21:04:40Z")

</div>

I’m adding a little Japanese to a Ruby presentation I am giving. I need just one simple phrase translated at this time. (More will come later though, so let me know if you don’t mind helping out.) If some bilingual …

---

## [Can't uninstall gems on Ubuntu](https://www.ruby-forum.com/t/cant-uninstall-gems-on-ubuntu/168945)

<div class="topic-metadata">

**Author:** [@alex\_2k8](https://www.ruby-forum.com/u/alex_2k8)\
**Replies:** 6\
**Last updated:** [May 30, 2009, 5:20pm UTC](https://www.ruby-forum.com/t/cant-uninstall-gems-on-ubuntu/168945 "2009-05-30T17:20:29Z")

</div>

Hello, I installed net-ssh gem from normal account, and got such warnings: $ gem install net-ssh WARNING: Installing to ~/.gem since /usr/lib/ruby/gems/1.8 and /usr/bin aren’t both writable. WARNING: You don’t hav…

---

## [RubyGems 1.3.4](https://www.ruby-forum.com/t/rubygems-1-3-4/169164)

<div class="topic-metadata">

**Author:** [@miracleofmagick](https://www.ruby-forum.com/u/miracleofmagick)\
**Replies:** 0\
**Last updated:** [May 30, 2009, 4:23pm UTC](https://www.ruby-forum.com/t/rubygems-1-3-4/169164 "2009-05-30T16:23:33Z")

</div>

NOTE: RubyGems 1.1 and 1.2 have problems upgrading when there is no rubygems-update installed. You will need to follow the second set of update instructions if you see “Nothing to update”. Release 1.3.4 fixes some …

---

## [Newbie questions](https://www.ruby-forum.com/t/newbie-questions/168450)

<div class="topic-metadata">

**Author:** [@rickf](https://www.ruby-forum.com/u/rickf)\
**Replies:** 1\
**Last updated:** [May 30, 2009, 3:34pm UTC](https://www.ruby-forum.com/t/newbie-questions/168450 "2009-05-30T15:34:30Z")

</div>

Hi All, I have some ROR code that I am considering for use with jruby…I am now making this consideration for what appears to be an easier deployment model etc and more robust request handling. I’d love any feedback t…

---

## [Ruby 1.9.1-p129 + ActiveRecord 2.3.2](https://www.ruby-forum.com/t/ruby-1-9-1-p129-activerecord-2-3-2/169132)

<div class="topic-metadata">

**Author:** [@Joseph\_Toscano](https://www.ruby-forum.com/u/Joseph_Toscano)\
**Replies:** 1\
**Last updated:** [May 30, 2009, 3:30pm UTC](https://www.ruby-forum.com/t/ruby-1-9-1-p129-activerecord-2-3-2/169132 "2009-05-30T15:30:26Z")

</div>

Hi, I’ve been using Ruby 1.8.6 + ActiveRecord 2.1.2 for a long time with great success. However, I would like to upgrade to Ruby 1.9 and the latest version of ActiveRecord. To this end, I downloaded, compiled, and in…

---

## [Every member will receive a single share when we incorporate](https://www.ruby-forum.com/t/every-member-will-receive-a-single-share-when-we-incorporate/169149)

<div class="topic-metadata">

**Author:** [@EugeneKantarovich](https://www.ruby-forum.com/u/EugeneKantarovich)\
**Replies:** 0\
**Last updated:** [May 30, 2009, 8:08am UTC](https://www.ruby-forum.com/t/every-member-will-receive-a-single-share-when-we-incorporate/169149 "2009-05-30T08:08:01Z")

</div>

http://groups.google.com/group/eugene-kantarovich?hl=en

---

## [Re: Mockups for JRuby.org redesign](https://www.ruby-forum.com/t/re-mockups-for-jruby-org-redesign/169131)

<div class="topic-metadata">

**Author:** [@jeanlazarou](https://www.ruby-forum.com/u/jeanlazarou)\
**Replies:** 1\
**Last updated:** [May 30, 2009, 7:11am UTC](https://www.ruby-forum.com/t/re-mockups-for-jruby-org-redesign/169131 "2009-05-30T07:11:19Z")

</div>

Maybe you could add some link to netbeans, it would be the ‘on-click-installer’ fro jRuby. I don’t know how it is following JRuby releases neither if it is appreciated by developers. -Jean — On Wed, 5/27/09, Charles …

---

## [Rack logging, log level changes over time](https://www.ruby-forum.com/t/rack-logging-log-level-changes-over-time/169118)

<div class="topic-metadata">

**Author:** [@chiefgeek](https://www.ruby-forum.com/u/chiefgeek)\
**Replies:** 1\
**Last updated:** [May 30, 2009, 6:05am UTC](https://www.ruby-forum.com/t/rack-logging-log-level-changes-over-time/169118 "2009-05-30T06:05:17Z")

</div>

I’m using Jruby Rack + Tomcat and Rails 2.2.2 in threadsafe mode. I’m seeing an issue where when the server starts up Rails is logging in debug but within the first minute or two of running rails switches to error lev…

---

## [Code Review: Overrides4](https://www.ruby-forum.com/t/code-review-overrides4/169142)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [May 30, 2009, 1:16am UTC](https://www.ruby-forum.com/t/code-review-overrides4/169142 "2009-05-30T01:16:28Z")

</div>

tfpt review “/shelveset:Overrides4;REDMOND\\tomat” (reviewed by Curt) DLR change: OverloadResolver: If there are multiple overloads whose parameters are equivalent with respect to the actual arguments and the overload…

---

## [Ruby 1.9.1 ming with mysql on windows successful](https://www.ruby-forum.com/t/ruby-1-9-1-ming-with-mysql-on-windows-successful/169138)

<div class="topic-metadata">

**Author:** [@elricstorm](https://www.ruby-forum.com/u/elricstorm)\
**Replies:** 1\
**Last updated:** [May 30, 2009, 1:05am UTC](https://www.ruby-forum.com/t/ruby-1-9-1-ming-with-mysql-on-windows-successful/169138 "2009-05-30T01:05:51Z")

</div>

Well, Thanks to a lot of people I managed to get Ruby 1.9.1 installed with rails and mysql 5.0 locally on my Windows Vista machine. I’m also able to pull remote queries on mysql 5.1 as well. Tested both methods and …

---

## [Convert ruby and other language script to exe file](https://www.ruby-forum.com/t/convert-ruby-and-other-language-script-to-exe-file/169137)

<div class="topic-metadata">

**Author:** [@panda2009](https://www.ruby-forum.com/u/panda2009)\
**Replies:** 0\
**Last updated:** [May 29, 2009, 11:42pm UTC](https://www.ruby-forum.com/t/convert-ruby-and-other-language-script-to-exe-file/169137 "2009-05-29T23:42:33Z")

</div>

Hi In this tutorial I want speak about How to convert perl script to exe How to convert python script to exe How to convert ruby script to exe How to convert php script to exe How to convert javascript to exe How …

---

## [Questions about jruby + jruby-rack + sinatra + warbler](https://www.ruby-forum.com/t/questions-about-jruby-jruby-rack-sinatra-warbler/169061)

<div class="topic-metadata">

**Author:** [@pfharlock](https://www.ruby-forum.com/u/pfharlock)\
**Replies:** 5\
**Last updated:** [May 29, 2009, 11:00pm UTC](https://www.ruby-forum.com/t/questions-about-jruby-jruby-rack-sinatra-warbler/169061 "2009-05-29T23:00:06Z")

</div>

Hello everyone! Hope this is an appropriate place to post this. I’ve also gotten questions onto the sinatra, warbler, and jruby-rack lists, but am thinking it might be better here, but maybe I’m wrong. I am a lot. In …

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

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