# Ruby

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

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

---

## [Ruby 1.9.1-p0, llvm: all tests pass!](https://www.ruby-forum.com/t/ruby-1-9-1-p0-llvm-all-tests-pass/164207)

<div class="topic-metadata">

**Author:** [@keltia](https://www.ruby-forum.com/u/keltia)\
**Replies:** 5\
**Last updated:** [March 31, 2009, 9:13am UTC](https://www.ruby-forum.com/t/ruby-1-9-1-p0-llvm-all-tests-pass/164207 "2009-03-31T09:13:30Z")

</div>

One pet peeves of mine regarding 1.9 seems to have very recently been squashed by progress on llvm/clang front. Using r68016 of llvm/clang (pre-2.6), I managed to configure, make and make test of 1.9.1-p0 on my FreeB…

---

## [Re: Installing Ruby and the ext/Setup file](https://www.ruby-forum.com/t/re-installing-ruby-and-the-ext-setup-file/164326)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 8:39am UTC](https://www.ruby-forum.com/t/re-installing-ruby-and-the-ext-setup-file/164326 "2009-03-31T08:39:30Z")

</div>

Return Receipt Your Re: Installing Ruby and the ext/Setup file. document: was Julien KIRCH/BPSS/FR/EUROPE/GROUP received by: at: 31/03/2009 08:38:26 This message and any attachments (the “messa…

---

## [Installing Ruby and the ext/Setup file](https://www.ruby-forum.com/t/installing-ruby-and-the-ext-setup-file/164318)

<div class="topic-metadata">

**Author:** [@Awv](https://www.ruby-forum.com/u/Awv)\
**Replies:** 1\
**Last updated:** [March 31, 2009, 6:07am UTC](https://www.ruby-forum.com/t/installing-ruby-and-the-ext-setup-file/164318 "2009-03-31T06:07:41Z")

</div>

Hello, I just finished installing Ruby 1.9.1 on Mac OS 10.5.6 and I have a few questions. There are probably some basics I’m missing here. This is the first time I’ve had to install Ruby since 1.8.6 came pre- install…

---

## [Bus Error?](https://www.ruby-forum.com/t/bus-error/164315)

<div class="topic-metadata">

**Author:** [@Stefan\_Codrescu](https://www.ruby-forum.com/u/Stefan_Codrescu)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 5:19am UTC](https://www.ruby-forum.com/t/bus-error/164315 "2009-03-31T05:19:42Z")

</div>

I tried to compile a simple TK/Ruby code using “ruby rubyscript2exe.rb squarecalc.rb --rubyscript2exe-tk” and: Tracing squarecalc … Gathering files… Copying files… Copying TCL/TK… Stripping… Creating squarecalc\_d…

---

## [Lambda vs non-lambda proc](https://www.ruby-forum.com/t/lambda-vs-non-lambda-proc/164282)

<div class="topic-metadata">

**Author:** [@stevedogers](https://www.ruby-forum.com/u/stevedogers)\
**Replies:** 2\
**Last updated:** [March 31, 2009, 4:38am UTC](https://www.ruby-forum.com/t/lambda-vs-non-lambda-proc/164282 "2009-03-31T04:38:47Z")

</div>

I guess my question is rather simple, what’s the difference between blocks defined with lambda and blocks that aren’t? Cheers!

---

## [Re: Mapping multiple pushes to a single review](https://www.ruby-forum.com/t/re-mapping-multiple-pushes-to-a-single-review/164310)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 3:31am UTC](https://www.ruby-forum.com/t/re-mapping-multiple-pushes-to-a-single-review/164310 "2009-03-31T03:31:23Z")

</div>

I’m currently trying the branch technique to see if I can rebase back to master and delete the topic branch at the same time. I will report back midweek when I pull my stuff into IronRuby’s repo. I t would be interest…

---

## [Is there an idiom for mass-populating Hash keys?](https://www.ruby-forum.com/t/is-there-an-idiom-for-mass-populating-hash-keys/164184)

<div class="topic-metadata">

**Author:** [@Shot\_SPiotr\_S.S](https://www.ruby-forum.com/u/Shot_SPiotr_S.S)\
**Replies:** 5\
**Last updated:** [March 31, 2009, 1:18am UTC](https://www.ruby-forum.com/t/is-there-an-idiom-for-mass-populating-hash-keys/164184 "2009-03-31T01:18:56Z")

</div>

Hello, good folk of ruby-talk. I was wondering whether thereâ€™s a Ruby idiom to mass-populate keys of a Hash. Iâ€™m coding a graph class supporting labeled vertices, and I want to represent this relationship as a @v…

---

## [Getting the current module(s), class name and method in Ruby 1.9](https://www.ruby-forum.com/t/getting-the-current-module-s-class-name-and-method-in-ruby-1-9/164294)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 6\
**Last updated:** [March 31, 2009, 1:18am UTC](https://www.ruby-forum.com/t/getting-the-current-module-s-class-name-and-method-in-ruby-1-9/164294 "2009-03-31T01:18:34Z")

</div>

Hi, first of all I’m sorry since I already did this question some time ago (but I ca’t find it now). Basically I want the following: module MyModule class MyClass def show\_log puts “I’m here: ###### FIXME ######” …

---

## [Problem with JRuby-On-Rails-Deployment](https://www.ruby-forum.com/t/problem-with-jruby-on-rails-deployment/164295)

<div class="topic-metadata">

**Author:** [@farfignugen](https://www.ruby-forum.com/u/farfignugen)\
**Replies:** 0\
**Last updated:** [March 30, 2009, 11:43pm UTC](https://www.ruby-forum.com/t/problem-with-jruby-on-rails-deployment/164295 "2009-03-30T23:43:49Z")

</div>

Hi! There is a slight problem with the deployment of my jruby-on-rails-application: it simply does not work. I installed the plug-in goldspike and created a .war-file out of my application. Afterwards I used the apac…

---

## [Help with GServer](https://www.ruby-forum.com/t/help-with-gserver/164244)

<div class="topic-metadata">

**Author:** [@sudhi](https://www.ruby-forum.com/u/sudhi)\
**Replies:** 6\
**Last updated:** [March 30, 2009, 8:42pm UTC](https://www.ruby-forum.com/t/help-with-gserver/164244 "2009-03-30T20:42:31Z")

</div>

Hi, I have a requirement when user type http://localhost:8000/1.xml … the server should return 1.xml contents which is stored in server’s local file system. I wrote ruby script using GServer library but in serve() fu…

---

## [How to Sync mysql adapter with MySql](https://www.ruby-forum.com/t/how-to-sync-mysql-adapter-with-mysql/164272)

<div class="topic-metadata">

**Author:** [@jameslabocki](https://www.ruby-forum.com/u/jameslabocki)\
**Replies:** 0\
**Last updated:** [March 30, 2009, 8:06pm UTC](https://www.ruby-forum.com/t/how-to-sync-mysql-adapter-with-mysql/164272 "2009-03-30T20:06:18Z")

</div>

I’m getting an error when I run db:migrate that the call to SHOW\_TABLE is out of sync. That the call can not be made at the time. C:\\myRailsWork\\depot\>rake db:migrate (in C:/myRailsWork/depot) == CreateProducts: mig…

---

## [Looking for help with a collaborative blog effort](https://www.ruby-forum.com/t/looking-for-help-with-a-collaborative-blog-effort/164257)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 0\
**Last updated:** [March 30, 2009, 3:42pm UTC](https://www.ruby-forum.com/t/looking-for-help-with-a-collaborative-blog-effort/164257 "2009-03-30T15:42:20Z")

</div>

Hi folks, I’m looking for a few Ruby hackers to help me put together a kick-ass collaborative blog at rubybestpractices.com Although I succeeded at getting this message through to comp.lang.ruby, ruby-talk seems to ha…

---

## [Test](https://www.ruby-forum.com/t/test/164205)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 4\
**Last updated:** [March 30, 2009, 1:52pm UTC](https://www.ruby-forum.com/t/test/164205 "2009-03-30T13:52:35Z")

</div>

testing my ability to create a new topic on RubyTalk, please ignore.

---

## [& - FixNum - method doubt](https://www.ruby-forum.com/t/fixnum-method-doubt/163511)

<div class="topic-metadata">

**Author:** [@jazzezravi](https://www.ruby-forum.com/u/jazzezravi)\
**Replies:** 10\
**Last updated:** [March 30, 2009, 12:03pm UTC](https://www.ruby-forum.com/t/fixnum-method-doubt/163511 "2009-03-30T12:03:34Z")

</div>

Hi All, irb\> a=12 irb\> a.methods it contains & method So I tried like … irb\> 3&6 =\> 2 irb\> 3&7 =\> 3 irb\> 7&21 =\> 5 I can’t understand how it works. Anyone help me Thanks, P.Raveendran

---

## [Is there a ruby way to get the disk size of a directory?](https://www.ruby-forum.com/t/is-there-a-ruby-way-to-get-the-disk-size-of-a-directory/164198)

<div class="topic-metadata">

**Author:** [@juan\_zanos](https://www.ruby-forum.com/u/juan_zanos)\
**Replies:** 5\
**Last updated:** [March 30, 2009, 11:55am UTC](https://www.ruby-forum.com/t/is-there-a-ruby-way-to-get-the-disk-size-of-a-directory/164198 "2009-03-30T11:55:05Z")

</div>

I was wondering if there was something to du -h? Juan

---

## [Why a require 'activerecord' takes up to 1 second?](https://www.ruby-forum.com/t/why-a-require-activerecord-takes-up-to-1-second/164188)

<div class="topic-metadata">

**Author:** [@shambolic](https://www.ruby-forum.com/u/shambolic)\
**Replies:** 1\
**Last updated:** [March 30, 2009, 10:33am UTC](https://www.ruby-forum.com/t/why-a-require-activerecord-takes-up-to-1-second/164188 "2009-03-30T10:33:33Z")

</div>

Hi rubyers, this is my first post here. Ok, I might not have the best machine in the World (Intel 2.66Mhz 1 CPU) but I am doing some “profiling” and realized that a “require ‘activerecord’” is taking about 1 second t…

---

## [Re: tagz-5.0.1 -- processing instruction support](https://www.ruby-forum.com/t/re-tagz-5-0-1-processing-instruction-support/164229)

<div class="topic-metadata">

**Author:** [@abhishek\_kulkarni](https://www.ruby-forum.com/u/abhishek_kulkarni)\
**Replies:** 0\
**Last updated:** [March 30, 2009, 8:13am UTC](https://www.ruby-forum.com/t/re-tagz-5-0-1-processing-instruction-support/164229 "2009-03-30T08:13:35Z")

</div>

unsubscribe… Please let me know how to unsubscribe from the mailing list… Its too frustrating seeing thousands of emails daily. — On Mon, 30/3/09, Yossef M. removed\_email\_address@domain.invalid wrote: From: Yossef M.…

---

## [Agile Ruby on Rails Developers \[Latin America and India\]](https://www.ruby-forum.com/t/agile-ruby-on-rails-developers-latin-america-and-india/164227)

<div class="topic-metadata">

**Author:** [@decidestaffing](https://www.ruby-forum.com/u/decidestaffing)\
**Replies:** 0\
**Last updated:** [March 30, 2009, 7:46am UTC](https://www.ruby-forum.com/t/agile-ruby-on-rails-developers-latin-america-and-india/164227 "2009-03-30T07:46:09Z")

</div>

Need to find experienced Ruby on Rails developers Key requirements: Speak English in an advance level 1 plus year of Rails experience on production project Could be available immediately or in next two weeks Experienc…

---

## [Tagz-5.0.1 -- processing instruction support](https://www.ruby-forum.com/t/tagz-5-0-1-processing-instruction-support/164174)

<div class="topic-metadata">

**Author:** [@Andrew\_SSTownley](https://www.ruby-forum.com/u/Andrew_SSTownley)\
**Replies:** 1\
**Last updated:** [March 30, 2009, 7:01am UTC](https://www.ruby-forum.com/t/tagz-5-0-1-processing-instruction-support/164174 "2009-03-30T07:01:04Z")

</div>

Hi Ara, I was actually working on another machine where I had to install tagz. I noticed this morning when I was trying to do a line-by-line comparison, that this machine had 5.0.1 instead of 5.0.0. It appears that …

---

## [\[Bug #1329\](Closed) Ruby 1.8.8 $B$G(B "p eval('0' + '+0.1'\*n)" $B$,(B Segmentation Fault $B$rH](https://www.ruby-forum.com/t/bug-1329-closed-ruby-1-8-8-b-g-b-p-eval-0-0-1-n-b-b-segmentation-fault-b-rh/164220)

<div class="topic-metadata">

**Author:** [@nobu](https://www.ruby-forum.com/u/nobu)\
**Replies:** 0\
**Last updated:** [March 30, 2009, 5:17am UTC](https://www.ruby-forum.com/t/bug-1329-closed-ruby-1-8-8-b-g-b-p-eval-0-0-1-n-b-b-segmentation-fault-b-rh/164220 "2009-03-30T05:17:39Z")

</div>

e$B%A%1%C%He(B #1329 e$B$,99?7$5$l$^$7$?!#e(B (by Nobuyoshi N.) e$B%9%F!\<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B Applied in changeset r23096. http://redmine.ruby-lang.org/issu…

---

## [Ruby 1.9, OS X, command line: negative string size (ArgumentError)](https://www.ruby-forum.com/t/ruby-1-9-os-x-command-line-negative-string-size-argumenterror/164190)

<div class="topic-metadata">

**Author:** [@Bartlomiej\_O](https://www.ruby-forum.com/u/Bartlomiej_O)\
**Replies:** 12\
**Last updated:** [March 30, 2009, 4:20am UTC](https://www.ruby-forum.com/t/ruby-1-9-os-x-command-line-negative-string-size-argumenterror/164190 "2009-03-30T04:20:57Z")

</div>

Hello, I’d like to get Ruby 1.9 working on OS X 10.5.6, but so far I get the following error when trying to invoke any script: $ ruby -v ruby 1.9.1p0 (2009-01-30 revision 21907) \[i386-darwin9.6.0\] $ ruby x.rb ruby:…

---

## [\[Bug #1330\] BigDecimal $B%\*%V%8%'%/%H$r2?EY$b;H$$2s$9$H(B Bus Error $B$,H/@8$9$k$3$H$,$"$k(B](https://www.ruby-forum.com/t/bug-1330-bigdecimal-b-v-8-h-r2-ey-b-h-2s-9-h-b-bus-error-b-h-8-9-k-3-h-k-b/164216)

<div class="topic-metadata">

**Author:** [@Kenta\_M](https://www.ruby-forum.com/u/Kenta_M)\
**Replies:** 0\
**Last updated:** [March 30, 2009, 4:12am UTC](https://www.ruby-forum.com/t/bug-1330-bigdecimal-b-v-8-h-r2-ey-b-h-2s-9-h-b-bus-error-b-h-8-9-k-3-h-k-b/164216 "2009-03-30T04:12:11Z")

</div>

Bug #1330: BigDecimal e$B%\*%V%8%'%/%H$r2?EY$b;H$$2s$9$He(B Bus Error e$B$,H/@8$9$k$3$H$,$"$ke(B http://redmine.ruby-lang.org/issues/show/1330 e$B5/I\<\<Te(B: Kenta M. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B%+…

---

## [\[Bug #1329\] Ruby 1.8.8 $B$G(B "p eval('0' + '+0.1'\*n)" $B$,(B Segmentation Fault $B$rH/@8$5$;$](https://www.ruby-forum.com/t/bug-1329-ruby-1-8-8-b-g-b-p-eval-0-0-1-n-b-b-segmentation-fault-b-rh-8-5/164217)

<div class="topic-metadata">

**Author:** [@Kenta\_M](https://www.ruby-forum.com/u/Kenta_M)\
**Replies:** 0\
**Last updated:** [March 30, 2009, 3:54am UTC](https://www.ruby-forum.com/t/bug-1329-ruby-1-8-8-b-g-b-p-eval-0-0-1-n-b-b-segmentation-fault-b-rh-8-5/164217 "2009-03-30T03:54:04Z")

</div>

e$B%A%1%C%He(B #1329 e$B$,99?7$5$l$^$7$?!#e(B (by Kenta M.) e$B8E$$%j%S%8%g%s$G;n$7$F$$$?$3$H$K5$IU$$$F!":G?7$N%j%S%8%g%s$G$b$&0lEY$d$C$F$\_$^$7$?!#e(B e$B$=$N7k2L!“0J2\<$K\<($9$h$&$K!”\>I\>u$OJQ$o$C$F$$$^$;$s$G$7$?!#e(B $…

---

## [Exposing an API over HTTPS](https://www.ruby-forum.com/t/exposing-an-api-over-https/164210)

<div class="topic-metadata">

**Author:** [@fcruxen](https://www.ruby-forum.com/u/fcruxen)\
**Replies:** 1\
**Last updated:** [March 30, 2009, 3:18am UTC](https://www.ruby-forum.com/t/exposing-an-api-over-https/164210 "2009-03-30T03:18:02Z")

</div>

Hello there, I run a website that is written in Rails that uses the standard authentication mechanisms, where you provide your user and password and that gets challenged against an encrypted value. Now I am about to …

---

## [1.9.1 regex 6.5 times slower than 1.8.6 in at least one case](https://www.ruby-forum.com/t/1-9-1-regex-6-5-times-slower-than-1-8-6-in-at-least-one-case/161171)

<div class="topic-metadata">

**Author:** [@michaelb](https://www.ruby-forum.com/u/michaelb)\
**Replies:** 4\
**Last updated:** [March 30, 2009, 12:39am UTC](https://www.ruby-forum.com/t/1-9-1-regex-6-5-times-slower-than-1-8-6-in-at-least-one-case/161171 "2009-03-30T00:39:31Z")

</div>

Hello: In general I’ve found Ruby 1.9.1 to be 2 times faster than 1.8.6 and roughly the same speed as Python 2.8 which is great… thanks guys, great job! However, in one case, when using a regular expressions (posted …

---

## [Midpoint Displacement (#197)](https://www.ruby-forum.com/t/midpoint-displacement-197/163461)

<div class="topic-metadata">

**Author:** [@danmcb](https://www.ruby-forum.com/u/danmcb)\
**Replies:** 4\
**Last updated:** [March 30, 2009, 12:06am UTC](https://www.ruby-forum.com/t/midpoint-displacement-197/163461 "2009-03-30T00:06:11Z")

</div>

\-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- The three rules of Ruby Q.: Please do not post any solutions or spoiler discussion for this quiz until 48 hours have elapsed from the time this m…

---

## [\[Bug #1329\] Ruby 1.8.8 $B$G(B "p eval('0' + '+0.1'\*n)" $B$,(B Segmentation Fault $B$rH/@8$5$;$](https://www.ruby-forum.com/t/bug-1329-ruby-1-8-8-b-g-b-p-eval-0-0-1-n-b-b-segmentation-fault-b-rh-8-5/164206)

<div class="topic-metadata">

**Author:** [@Kenta\_M](https://www.ruby-forum.com/u/Kenta_M)\
**Replies:** 0\
**Last updated:** [March 29, 2009, 10:58pm UTC](https://www.ruby-forum.com/t/bug-1329-ruby-1-8-8-b-g-b-p-eval-0-0-1-n-b-b-segmentation-fault-b-rh-8-5/164206 "2009-03-29T22:58:47Z")

</div>

Bug #1329: Ruby 1.8.8 e$B$Ge(B “p eval(‘0’ + ‘+0.1’\*n)” e$B$,e(B Segmentation Fault e$B$rH/@8$5$;$ke(B http://redmine.ruby-lang.org/issues/show/1329 e$B5/I\<\<Te(B: Kenta M. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal …

---

## [Sys-admin 1.5.0](https://www.ruby-forum.com/t/sys-admin-1-5-0/164197)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 0\
**Last updated:** [March 29, 2009, 9:18pm UTC](https://www.ruby-forum.com/t/sys-admin-1-5-0/164197 "2009-03-29T21:18:23Z")

</div>

Hi, I’m pleased to announce the release of sys-admin 1.5.0. = What is it? The sys-admin library is a cross-platform replacement for the ‘etc’ library. = What’s new? This release made some major interface changes fo…

---

## [Passing block in C](https://www.ruby-forum.com/t/passing-block-in-c/164178)

<div class="topic-metadata">

**Author:** [@peterz](https://www.ruby-forum.com/u/peterz)\
**Replies:** 8\
**Last updated:** [March 29, 2009, 8:57pm UTC](https://www.ruby-forum.com/t/passing-block-in-c/164178 "2009-03-29T20:57:51Z")

</div>

Hi. How can I call Ruby function from C with block? E. g. VALUE block = rb\_proc\_new(…); rb\_funcall\_with\_block(cMyClass, rb\_intern(“initialize”), 0, block); WBR, Peter Z.

---

## [\[ANN\] BiteScript 0.0.1 - a DSL for JVM bytecode](https://www.ruby-forum.com/t/ann-bitescript-0-0-1-a-dsl-for-jvm-bytecode/164155)

<div class="topic-metadata">

**Author:** [@headius](https://www.ruby-forum.com/u/headius)\
**Replies:** 2\
**Last updated:** [March 29, 2009, 6:03pm UTC](https://www.ruby-forum.com/t/ann-bitescript-0-0-1-a-dsl-for-jvm-bytecode/164155 "2009-03-29T18:03:33Z")

</div>

BiteScript is a Ruby DSL for generating JVM bytecode and classes. It is used by the Duby programming language and by the upcoming “compiler2” Ruby-to-Java compiler in JRuby. Project page: http://kenai.com/projects/jvm…

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

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