# Ruby

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

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

---

## [I hate spam](https://www.ruby-forum.com/t/i-hate-spam/132399)

<div class="topic-metadata">

**Author:** [@stedwick](https://www.ruby-forum.com/u/stedwick)\
**Replies:** 7\
**Last updated:** [March 20, 2008, 2:50am UTC](https://www.ruby-forum.com/t/i-hate-spam/132399 "2008-03-20T02:50:56Z")

</div>

Where is all the spam coming from lately?

---

## [Hosting ironruby: globals confusion](https://www.ruby-forum.com/t/hosting-ironruby-globals-confusion/132226)

<div class="topic-metadata">

**Author:** [@xjivan](https://www.ruby-forum.com/u/xjivan)\
**Replies:** 2\
**Last updated:** [March 19, 2008, 11:23pm UTC](https://www.ruby-forum.com/t/hosting-ironruby-globals-confusion/132226 "2008-03-19T23:23:46Z")

</div>

Hi, I updated the hosting wiki page to work with the current revision. But this raises a couple of questions. I’m just working my way through the dlr-hosting-spec. And if I read it correctly then there are 3 levels …

---

## [Win32 File.size slow?](https://www.ruby-forum.com/t/win32-file-size-slow/132289)

<div class="topic-metadata">

**Author:** [@NationS\_Carey](https://www.ruby-forum.com/u/NationS_Carey)\
**Replies:** 4\
**Last updated:** [March 19, 2008, 10:32pm UTC](https://www.ruby-forum.com/t/win32-file-size-slow/132289 "2008-03-19T22:32:33Z")

</div>

Last week I posted a question about incorrect file sizes coming back incorrectly from File.size? for really large files. I changed my script to use the win32 version, which returns the correct sizes, and now the scri…

---

## [Status of mod\_ruby now ....?](https://www.ruby-forum.com/t/status-of-mod-ruby-now/132363)

<div class="topic-metadata">

**Author:** [@webreservoir](https://www.ruby-forum.com/u/webreservoir)\
**Replies:** 3\
**Last updated:** [March 19, 2008, 8:58pm UTC](https://www.ruby-forum.com/t/status-of-mod-ruby-now/132363 "2008-03-19T20:58:07Z")

</div>

Hi, Just wanted to know/confirm if there is any working or project going on for mod\_ruby. I am waiting for a seamless deployment support for deployment. I am not too keen to adopt the VPS scenario. I think shared hos…

---

## [Ruby/C++ integration with SWIG: problem with namespaces](https://www.ruby-forum.com/t/ruby-c-integration-with-swig-problem-with-namespaces/132366)

<div class="topic-metadata">

**Author:** [@comfortably\_numb](https://www.ruby-forum.com/u/comfortably_numb)\
**Replies:** 1\
**Last updated:** [March 19, 2008, 8:26pm UTC](https://www.ruby-forum.com/t/ruby-c-integration-with-swig-problem-with-namespaces/132366 "2008-03-19T20:26:18Z")

</div>

Hi everyone, I’m trying to import a C++ library in Ruby using SWIG, but I have a problem with namespaces and enumerators: I have a namespace “mymodule” with a function “myfunction” which takes an element of type “myen…

---

## [Split string at spaces, but not when inside quotation marks?](https://www.ruby-forum.com/t/split-string-at-spaces-but-not-when-inside-quotation-marks/132338)

<div class="topic-metadata">

**Author:** [@bodikp](https://www.ruby-forum.com/u/bodikp)\
**Replies:** 6\
**Last updated:** [March 19, 2008, 8:10pm UTC](https://www.ruby-forum.com/t/split-string-at-spaces-but-not-when-inside-quotation-marks/132338 "2008-03-19T20:10:48Z")

</div>

I want to be able to split a string at the space, unless the spaces are inside question marks. I’ve got a solution, but it makes baby Jesus cry: http://pastebin.com/m6db29d1e Any better ideas? Is there already a built…

---

## [Using system to echo "hello world" gives SystemStackError](https://www.ruby-forum.com/t/using-system-to-echo-hello-world-gives-systemstackerror/132357)

<div class="topic-metadata">

**Author:** [@Thufir](https://www.ruby-forum.com/u/Thufir)\
**Replies:** 6\
**Last updated:** [March 19, 2008, 7:46pm UTC](https://www.ruby-forum.com/t/using-system-to-echo-hello-world-gives-systemstackerror/132357 "2008-03-19T19:46:30Z")

</div>

I can’t fathom this error regarding the stack: thufir@arrakis:~/sun\_tutorial$ thufir@arrakis:~/sun\_tutorial$ cat build.rb require ‘compile’ compile thufir@arrakis:~/sun\_tutorial$ thufir@arrakis:~/sun\_tutorial$ cat …

---

## [Re: Cannot rake compile rev 78](https://www.ruby-forum.com/t/re-cannot-rake-compile-rev-78/132323)

<div class="topic-metadata">

**Author:** [@John\_LSSDLR](https://www.ruby-forum.com/u/John_LSSDLR)\
**Replies:** 5\
**Last updated:** [March 19, 2008, 7:28pm UTC](https://www.ruby-forum.com/t/re-cannot-rake-compile-rev-78/132323 "2008-03-19T19:28:50Z")

</div>

Can you try rake compile test=true and capture the output and send it along? This will dump the cmd klines. John Sent from my phone From: Philippe M. removed\_email\_address@domain.invalid Sent: Tuesday, March 18, 2…

---

## [New to IronRuby but not Ruby](https://www.ruby-forum.com/t/new-to-ironruby-but-not-ruby/132397)

<div class="topic-metadata">

**Author:** [@Chris\_Chandler](https://www.ruby-forum.com/u/Chris_Chandler)\
**Replies:** 2\
**Last updated:** [March 19, 2008, 7:28pm UTC](https://www.ruby-forum.com/t/new-to-ironruby-but-not-ruby/132397 "2008-03-19T19:28:14Z")

</div>

Hey all, I am not new to ruby or c# but am quite new to compiler/interpreter design, and am looking for a basic walk through of the hierarchy of the project architecture. Oh and while you are at it whats with all th…

---

## [Parametric module or injecting code via class method?](https://www.ruby-forum.com/t/parametric-module-or-injecting-code-via-class-method/131759)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 19\
**Last updated:** [March 19, 2008, 6:58pm UTC](https://www.ruby-forum.com/t/parametric-module-or-injecting-code-via-class-method/131759 "2008-03-19T18:58:36Z")

</div>

Which approach is better: parametric module or an injecting class method. Generates identity/key methods based on specified attributes. include EquateOn(:a, :b) is equivalent to including a module containing: def ==…

---

## [LCMS & SCORM Integration](https://www.ruby-forum.com/t/lcms-scorm-integration/132400)

<div class="topic-metadata">

**Author:** [@gr0k](https://www.ruby-forum.com/u/gr0k)\
**Replies:** 0\
**Last updated:** [March 19, 2008, 6:51pm UTC](https://www.ruby-forum.com/t/lcms-scorm-integration/132400 "2008-03-19T18:51:06Z")

</div>

I’m looking into build an LCMS/LMS and I’m needing to integrate everything with SCORM. Does anyone happen to know if there is a Ruby class that integrates with SCORM or even how to do this? Thanks, Tony

---

## [Issue with SQL like](https://www.ruby-forum.com/t/issue-with-sql-like/132239)

<div class="topic-metadata">

**Author:** [@rajatgarg](https://www.ruby-forum.com/u/rajatgarg)\
**Replies:** 4\
**Last updated:** [March 19, 2008, 6:46pm UTC](https://www.ruby-forum.com/t/issue-with-sql-like/132239 "2008-03-19T18:46:12Z")

</div>

Hi Guys, I am a newbie, so excuse me if this is a lame question - I am writing a query - Airport.find(:all, :conditions =\>\[“owner\_city\_state\_zip like ‘%?%’”, \_tempZip.zip\]) Now, this gives an error - Mysql::Error: …

---

## [Class::new :: --\> NUBY](https://www.ruby-forum.com/t/class-new-nuby/132387)

<div class="topic-metadata">

**Author:** [@chinnakaruppan](https://www.ruby-forum.com/u/chinnakaruppan)\
**Replies:** 4\
**Last updated:** [March 19, 2008, 6:25pm UTC](https://www.ruby-forum.com/t/class-new-nuby/132387 "2008-03-19T18:25:00Z")

</div>

Hi, I was trying to redefine new in my class…like this… class KK alias oldnew new def new yield if block\_given? oldnew end end NameError: undefined method new' for classKK’ why is saying no ‘new’ method…I don’t…

---

## [Making all my Ruby files pretty](https://www.ruby-forum.com/t/making-all-my-ruby-files-pretty/132234)

<div class="topic-metadata">

**Author:** [@Kyrre\_NygSSSSrd](https://www.ruby-forum.com/u/Kyrre_NygSSSSrd)\
**Replies:** 4\
**Last updated:** [March 19, 2008, 5:33pm UTC](https://www.ruby-forum.com/t/making-all-my-ruby-files-pretty/132234 "2008-03-19T17:33:35Z")

</div>

Hello! I’m trying to make a simple Ruby code beautifier to set me at ease. I know there’s already rbeautify: But I need to do some more: Like making, comments like these Into, Comments like these. E.g. making…

---

## [JRuby 1.1RC3 Announced](https://www.ruby-forum.com/t/jruby-1-1rc3-announced/132389)

<div class="topic-metadata">

**Author:** [@Thomas\_E](https://www.ruby-forum.com/u/Thomas_E)\
**Replies:** 0\
**Last updated:** [March 19, 2008, 5:04pm UTC](https://www.ruby-forum.com/t/jruby-1-1rc3-announced/132389 "2008-03-19T17:04:32Z")

</div>

The JRuby community is pleased to announce the release of JRuby 1.1 RC 3 Homepage: http://www.jruby.org/ Download: http://dist.codehaus.org/jruby/ JRuby 1.1RC3 is the third and final(?) release candidate of JRuby 1.1. …

---

## [PDF To HTML Converter Command Line V3.2 crack](https://www.ruby-forum.com/t/pdf-to-html-converter-command-line-v3-2-crack/132385)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [March 19, 2008, 4:52pm UTC](https://www.ruby-forum.com/t/pdf-to-html-converter-command-line-v3-2-crack/132385 "2008-03-19T16:52:04Z")

</div>

Download PDF To HTML Converter Command Line V3.2 crack http://cracks.00bp.com/PDFToHTMLConverterCommandLineV3.2crack.html

---

## [Final Cut 5.1 crack](https://www.ruby-forum.com/t/final-cut-5-1-crack/132384)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [March 19, 2008, 4:50pm UTC](https://www.ruby-forum.com/t/final-cut-5-1-crack/132384 "2008-03-19T16:50:53Z")

</div>

Download Final Cut 5.1 crack http://cracks.00bp.com/FinalCut5.1crack.html

---

## [SQLite3 Compilation issue](https://www.ruby-forum.com/t/sqlite3-compilation-issue/132228)

<div class="topic-metadata">

**Author:** [@mtmtmt](https://www.ruby-forum.com/u/mtmtmt)\
**Replies:** 4\
**Last updated:** [March 19, 2008, 4:07pm UTC](https://www.ruby-forum.com/t/sqlite3-compilation-issue/132228 "2008-03-19T16:07:58Z")

</div>

Hey guys, I wonder if you could help me out with this, The situation is: Compiled Ruby 1.8.6 myself using MSVC8 Downloaded SQLite3 and placed the headers and libraries in the proper locations (atleast i think so) R…

---

## [Inspetting a method's caller](https://www.ruby-forum.com/t/inspetting-a-methods-caller/132367)

<div class="topic-metadata">

**Author:** [@albertosesena](https://www.ruby-forum.com/u/albertosesena)\
**Replies:** 5\
**Last updated:** [March 19, 2008, 4:04pm UTC](https://www.ruby-forum.com/t/inspetting-a-methods-caller/132367 "2008-03-19T16:04:27Z")

</div>

Hello. How can i know a function’s caller method? E.g. class A def do\_stg(n) b = B.new b.do\_xyz(n) end end class B def do\_xyz(n) # -\> Here i want to know that # -\> This method has been called # -\> From A#do\_s…

---

## [How i used ruby in windows platform for making appliation for facebook?](https://www.ruby-forum.com/t/how-i-used-ruby-in-windows-platform-for-making-appliation-for-facebook/132337)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [March 19, 2008, 2:55pm UTC](https://www.ruby-forum.com/t/how-i-used-ruby-in-windows-platform-for-making-appliation-for-facebook/132337 "2008-03-19T14:55:52Z")

</div>

How i used ruby in windows platform for making appliation for facebook? Can u give any guidelines step by step wise Starting from bigining to …

---

## [Undefined method '\<' for nil:NilClasse](https://www.ruby-forum.com/t/undefined-method-for-nil-nilclasse/132333)

<div class="topic-metadata">

**Author:** [@robyonrails](https://www.ruby-forum.com/u/robyonrails)\
**Replies:** 7\
**Last updated:** [March 19, 2008, 2:16pm UTC](https://www.ruby-forum.com/t/undefined-method-for-nil-nilclasse/132333 "2008-03-19T14:16:49Z")

</div>

This is the code: class StringScanner @str = “” @kounter = 0 def initialize(str) @str = str end def scan(arg) res = @str.scan(arg) return nil unless @kounter\<res.length @kounter=@kounter+1 res\[@kounter-1\] end …

---

## [Crack singles 1.4 trial](https://www.ruby-forum.com/t/crack-singles-1-4-trial/132361)

<div class="topic-metadata">

**Author:** [@Mervin](https://www.ruby-forum.com/u/Mervin)\
**Replies:** 0\
**Last updated:** [March 19, 2008, 1:06pm UTC](https://www.ruby-forum.com/t/crack-singles-1-4-trial/132361 "2008-03-19T13:06:25Z")

</div>

Download Crack singles 1.4 trial http://anydvdcrack.fastfindguide.info/crack-singles-1.4-trial.html

---

## [Mobi mb 1.2 crack](https://www.ruby-forum.com/t/mobi-mb-1-2-crack/132355)

<div class="topic-metadata">

**Author:** [@Mervin](https://www.ruby-forum.com/u/Mervin)\
**Replies:** 0\
**Last updated:** [March 19, 2008, 11:52am UTC](https://www.ruby-forum.com/t/mobi-mb-1-2-crack/132355 "2008-03-19T11:52:08Z")

</div>

Download mobi mb 1.2 crack http://anydvdcrack.fastfindguide.info/mobi-mb-1.2-crack.html

---

## [Crack getright 5.1](https://www.ruby-forum.com/t/crack-getright-5-1/132354)

<div class="topic-metadata">

**Author:** [@Mervin](https://www.ruby-forum.com/u/Mervin)\
**Replies:** 0\
**Last updated:** [March 19, 2008, 11:45am UTC](https://www.ruby-forum.com/t/crack-getright-5-1/132354 "2008-03-19T11:45:34Z")

</div>

Download Crack getright 5.1 http://anydvdcrack.fastfindguide.info/crack-getright-5.1.html

---

## [Looking for migrations suggestion for war deployments](https://www.ruby-forum.com/t/looking-for-migrations-suggestion-for-war-deployments/116702)

<div class="topic-metadata">

**Author:** [@supasta](https://www.ruby-forum.com/u/supasta)\
**Replies:** 3\
**Last updated:** [March 19, 2008, 11:43am UTC](https://www.ruby-forum.com/t/looking-for-migrations-suggestion-for-war-deployments/116702 "2008-03-19T11:43:21Z")

</div>

I am looking to depoly my small rails app with JRuby on tomcat. My main issue is how to migrate the database once the war is deployed. Does anyone have any thoughts or suggestions on how to do this? I know that the …

---

## [ActiveRecord Using Jruby in Java](https://www.ruby-forum.com/t/activerecord-using-jruby-in-java/132351)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 0\
**Last updated:** [March 19, 2008, 11:27am UTC](https://www.ruby-forum.com/t/activerecord-using-jruby-in-java/132351 "2008-03-19T11:27:47Z")

</div>

Hi All I am new to jruby. I am having active-records migration script.i want to create a database using those files in java environment so i am using BSF. but i am not able to understand that how to provide differnt …

---

## [Omnibus Concurrency Library 0.2.2](https://www.ruby-forum.com/t/omnibus-concurrency-library-0-2-2/132344)

<div class="topic-metadata">

**Author:** [@leonb](https://www.ruby-forum.com/u/leonb)\
**Replies:** 0\
**Last updated:** [March 19, 2008, 10:21am UTC](https://www.ruby-forum.com/t/omnibus-concurrency-library-0-2-2/132344 "2008-03-19T10:21:27Z")

</div>

Is there also a jruby version of the concurrent gem? Because, when I do: leon@polly:~$ gem install concurrent I get this error message: Building native extensions. This could take a while… extconf.rb:1:in \`require’…

---

## [Shootout results for ruby 1.9.0](https://www.ruby-forum.com/t/shootout-results-for-ruby-1-9-0/132343)

<div class="topic-metadata">

**Author:** [@faina](https://www.ruby-forum.com/u/faina)\
**Replies:** 0\
**Last updated:** [March 19, 2008, 10:12am UTC](https://www.ruby-forum.com/t/shootout-results-for-ruby-1-9-0/132343 "2008-03-19T10:12:50Z")

</div>

I compare with GNU Smalltalk since the results should be more or less on par (both stack VMs, etc.): http://shootout.alioth.debian.org/gp4sandbox/benchmark.php?test=all&lang=gst&lang2=ruby http://shootout.alioth.debia…

---

## [Win32/api GetWindowText](https://www.ruby-forum.com/t/win32-api-getwindowtext/132330)

<div class="topic-metadata">

**Author:** [@kyleh](https://www.ruby-forum.com/u/kyleh)\
**Replies:** 0\
**Last updated:** [March 19, 2008, 6:51am UTC](https://www.ruby-forum.com/t/win32-api-getwindowtext/132330 "2008-03-19T06:51:22Z")

</div>

Hello all, I’m using win32/api. I was using GetForegroundWindow to get the window on top. Then I wanted to use GetWindowText to get the ‘title-bar’ text. I just couldn’t figure it out. So, I google for win32/api docu…

---

## [Rational, complex and mathn](https://www.ruby-forum.com/t/rational-complex-and-mathn/128581)

<div class="topic-metadata">

**Author:** [@Tadayoshi\_F](https://www.ruby-forum.com/u/Tadayoshi_F)\
**Replies:** 65\
**Last updated:** [March 19, 2008, 6:18am UTC](https://www.ruby-forum.com/t/rational-complex-and-mathn/128581 "2008-03-19T06:18:52Z")

</div>

rational e$B$Oe(B floore$B!"e(Btruncatee$B!"e(Bceile$B!"e(Bround e$B$rDj5A$7$F$$$^$;$s!#e(BNumeric e$B$N$^$^Ds6!$7$F$$$^$9!#$7$+$7!"e(BNumeric e$B$N$b$N$O!"IbF0\>.?tE@?t$KJQ49$7$Fe(B e$B$7$^$&$?$a$^$H$b$J7k2L$,F@$i$l$…

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

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