# Ruby

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

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

---

## [TudbcGoWeb\_RubyGoRails: easy Ruby on top of Rails](https://www.ruby-forum.com/t/tudbcgoweb-rubygorails-easy-ruby-on-top-of-rails/156651)

<div class="topic-metadata">

**Author:** [@tudbc](https://www.ruby-forum.com/u/tudbc)\
**Replies:** 0\
**Last updated:** [December 31, 2008, 12:38pm UTC](https://www.ruby-forum.com/t/tudbcgoweb-rubygorails-easy-ruby-on-top-of-rails/156651 "2008-12-31T12:38:08Z")

</div>

Please take a look at the newly released RubyGoRails live demo at http://services.tudbc.com/tudbc/TudbcGoWeb\_RubyGoRails\_Demo/rails-index.html You may download TudbcGoWeb\_RubyGoRails\_Demo.zip and simply run inside the…

---

## [Camellia on OS X?](https://www.ruby-forum.com/t/camellia-on-os-x/156649)

<div class="topic-metadata">

**Author:** [@ezkl](https://www.ruby-forum.com/u/ezkl)\
**Replies:** 0\
**Last updated:** [December 31, 2008, 12:30pm UTC](https://www.ruby-forum.com/t/camellia-on-os-x/156649 "2008-12-31T12:30:40Z")

</div>

Has anyone been able to build and use the Camellia library on OS X? I’ve been trying for a few days to no avail. Scant resources and I am admittedly not that knowledgeable. The build dies on: make: \*\*\* No rule to mak…

---

## [Irb: require returns false?](https://www.ruby-forum.com/t/irb-require-returns-false/156642)

<div class="topic-metadata">

**Author:** [@mikec](https://www.ruby-forum.com/u/mikec)\
**Replies:** 2\
**Last updated:** [December 31, 2008, 11:59am UTC](https://www.ruby-forum.com/t/irb-require-returns-false/156642 "2008-12-31T11:59:18Z")

</div>

hey everyone (ruby n00b here), I am trying to compile ruby 1.8.6-p287. I built it using: ./configure --prefix=/usr/local/ruby --enable-pthread --enable-shared I was playing with how support for things like iconv, gdbm…

---

## [Interpreter, backtrace, and call site caching](https://www.ruby-forum.com/t/interpreter-backtrace-and-call-site-caching/156613)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 1\
**Last updated:** [December 31, 2008, 9:07am UTC](https://www.ruby-forum.com/t/interpreter-backtrace-and-call-site-caching/156613 "2008-12-31T09:07:10Z")

</div>

For backtraces to work correctly in interpreter mode, it is required that the interpreter guard every call to C# code with a try-catch, so that the catch block has a chance to stash away the backtrace if an exception …

---

## [N00b question about Infinity and Float](https://www.ruby-forum.com/t/n00b-question-about-infinity-and-float/156627)

<div class="topic-metadata">

**Author:** [@kedarmhaswade](https://www.ruby-forum.com/u/kedarmhaswade)\
**Replies:** 2\
**Last updated:** [December 31, 2008, 8:23am UTC](https://www.ruby-forum.com/t/n00b-question-about-infinity-and-float/156627 "2008-12-31T08:23:52Z")

</div>

Folks, A new user. Please be kind. I have checked Infinity - Ruby - Ruby-Forum, but could not find what I was looking for. See following irb session: start irb(main):004:0\* google=10100 =\> 10000000000000000000000…

---

## [AnsiString (#185)](https://www.ruby-forum.com/t/ansistring-185/154974)

<div class="topic-metadata">

**Author:** [@mansfiem](https://www.ruby-forum.com/u/mansfiem)\
**Replies:** 8\
**Last updated:** [December 31, 2008, 4:15am UTC](https://www.ruby-forum.com/t/ansistring-185/154974 "2008-12-31T04:15:25Z")

</div>

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

---

## [JRoR app. deployment on Websphere AS 6.1 issue](https://www.ruby-forum.com/t/jror-app-deployment-on-websphere-as-6-1-issue/156604)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 4\
**Last updated:** [December 31, 2008, 2:27am UTC](https://www.ruby-forum.com/t/jror-app-deployment-on-websphere-as-6-1-issue/156604 "2008-12-31T02:27:43Z")

</div>

All, I’m using Goldspike with JRuby 1.1.6 (yeah, I know, old…) to generate a WAR file out of my JRoR app. and deploy it to Websphere 6.1. When the app. starts up, I get these errors in the Websphere SystemErr.log fil…

---

## [Problems with scRUBYt](https://www.ruby-forum.com/t/problems-with-scrubyt/156620)

<div class="topic-metadata">

**Author:** [@cswebgrl](https://www.ruby-forum.com/u/cswebgrl)\
**Replies:** 2\
**Last updated:** [December 31, 2008, 2:02am UTC](https://www.ruby-forum.com/t/problems-with-scrubyt/156620 "2008-12-31T02:02:44Z")

</div>

Hi. I am currently scraping a page with scRUBYt and am not getting the results as expected. Instead of the correctly formatted xml document I’m getting the following. \<1\>book a \<1\>book b \<1\>book c \<2\>chapte…

---

## [No such file to load -- builder error](https://www.ruby-forum.com/t/no-such-file-to-load-builder-error/156607)

<div class="topic-metadata">

**Author:** [@delraysteve](https://www.ruby-forum.com/u/delraysteve)\
**Replies:** 2\
**Last updated:** [December 30, 2008, 11:10pm UTC](https://www.ruby-forum.com/t/no-such-file-to-load-builder-error/156607 "2008-12-30T23:10:42Z")

</div>

Hi. I’m a neophyte where Ruby is concerned. I’ve installed it along with the Rally Rest API, which integrates subversion check-ins with the Rally Agile tool. The error in question occurs when I run the post- commit ba…

---

## [Nokogiri 1.1.0 Released](https://www.ruby-forum.com/t/nokogiri-1-1-0-released/156569)

<div class="topic-metadata">

**Author:** [@aaronpowell](https://www.ruby-forum.com/u/aaronpowell)\
**Replies:** 3\
**Last updated:** [December 30, 2008, 7:57pm UTC](https://www.ruby-forum.com/t/nokogiri-1-1-0-released/156569 "2008-12-30T19:57:12Z")

</div>

nokogiri version 1.1.0 has been released! http://nokogiri.rubyforge.org/ http://github.com/tenderlove/nokogiri/wikis http://github.com/tenderlove/nokogiri/tree/master http://rubyforge.org/mailman/listinfo/nokogiri-talk …

---

## [Bug report guide](https://www.ruby-forum.com/t/bug-report-guide/156576)

<div class="topic-metadata">

**Author:** [@SASADA\_Koichi](https://www.ruby-forum.com/u/SASADA_Koichi)\
**Replies:** 1\
**Last updated:** [December 30, 2008, 6:54pm UTC](https://www.ruby-forum.com/t/bug-report-guide/156576 "2008-12-30T18:54:54Z")

</div>

e$B!!$5$5$@$G$9!%e(B e$B!!e(B\[BUG\] e$B$Ge(B http://www.ruby-lang.org/bugreport.html e$B$H$$$&e(B URL e$B$r;2\>H$7$me(B e$B$h!$$C$F%a%C%;!\<%8$r=P$9$h$&$K$7$?$s$G$9$,!$$3$N%Z!\<%8$r:n$j$?$$$N$G$9e(B e$B$,!$$I$&$9$l$P$$$$…

---

## [Find type of filesystem (\*nix/windows)](https://www.ruby-forum.com/t/find-type-of-filesystem-nix-windows/153610)

<div class="topic-metadata">

**Author:** [@ittayd](https://www.ruby-forum.com/u/ittayd)\
**Replies:** 2\
**Last updated:** [December 30, 2008, 6:49pm UTC](https://www.ruby-forum.com/t/find-type-of-filesystem-nix-windows/153610 "2008-12-30T18:49:01Z")

</div>

How can I find in ruby the type of filesystem from a given file? (pseudo code: FileSystem.type(’/path/to/file’)). I’m especially interested to know if the fs is networked (nfs, cifs) or on a local disk. Thank you, It…

---

## [System admin script](https://www.ruby-forum.com/t/system-admin-script/143536)

<div class="topic-metadata">

**Author:** [@packetsmacker](https://www.ruby-forum.com/u/packetsmacker)\
**Replies:** 11\
**Last updated:** [December 30, 2008, 6:39pm UTC](https://www.ruby-forum.com/t/system-admin-script/143536 "2008-12-30T18:39:38Z")

</div>

i am trying to find a good scripting language for Mac OS X. I was told ruby would be a good choice. Before i dedicate my time to learning it I have to find out a couple of things. Can you run ruby form the GUI? i.e do…

---

## [Converting Ruby objects to Java using to\_java](https://www.ruby-forum.com/t/converting-ruby-objects-to-java-using-to-java/156552)

<div class="topic-metadata">

**Author:** [@pran](https://www.ruby-forum.com/u/pran)\
**Replies:** 1\
**Last updated:** [December 30, 2008, 5:50pm UTC](https://www.ruby-forum.com/t/converting-ruby-objects-to-java-using-to-java/156552 "2008-12-30T17:50:48Z")

</div>

Hi, I’m new to JRuby and I have a question regarding passing ruby variables to java. Situation: In java, I have an abstract class, called JClassA and another class called JClassB. In ruby, I implement the concreate …

---

## [Unable to open Excel file](https://www.ruby-forum.com/t/unable-to-open-excel-file/156508)

<div class="topic-metadata">

**Author:** [@riya](https://www.ruby-forum.com/u/riya)\
**Replies:** 5\
**Last updated:** [December 30, 2008, 4:11pm UTC](https://www.ruby-forum.com/t/unable-to-open-excel-file/156508 "2008-12-30T16:11:33Z")

</div>

i am using below code for opening Excel application. But it not opening Excel file. Code:- require ‘win32ole’ excel = WIN32OLE.new(“excel.application”) excel.visible = true workbook = excel.workbooks.open(“c:\\temp…

---

## [Options to generate small, kind of unique, human-readable tokens (like "V0cM9tnV")?](https://www.ruby-forum.com/t/options-to-generate-small-kind-of-unique-human-readable-tokens-like-v0cm9tnv/156511)

<div class="topic-metadata">

**Author:** [@thbar](https://www.ruby-forum.com/u/thbar)\
**Replies:** 5\
**Last updated:** [December 30, 2008, 12:04pm UTC](https://www.ruby-forum.com/t/options-to-generate-small-kind-of-unique-human-readable-tokens-like-v0cm9tnv/156511 "2008-12-30T12:04:30Z")

</div>

Hi, I’m pretty sure there is a number of options to achieve this, so I’m asking here. I often need to generate small unique tokens (like for invitation codes or unimportant authentication token). In the past I’ve bee…

---

## [Using ruby for config files](https://www.ruby-forum.com/t/using-ruby-for-config-files/125458)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 6\
**Last updated:** [December 30, 2008, 10:00am UTC](https://www.ruby-forum.com/t/using-ruby-for-config-files/125458 "2008-12-30T10:00:18Z")

</div>

(In reference to http://groups.google.com/group/ruby-talk-google/browse\_thread/thread/1c1fa0bfca68084f/ ) I eventually settled on the below for my config file purposes. I wanted configuration to be convenient and fl…

---

## [US-ASCII $B$N5sF0(B](https://www.ruby-forum.com/t/us-ascii-b-n5sf0-b/156578)

<div class="topic-metadata">

**Author:** [@drenovac](https://www.ruby-forum.com/u/drenovac)\
**Replies:** 0\
**Last updated:** [December 30, 2008, 9:23am UTC](https://www.ruby-forum.com/t/us-ascii-b-n5sf0-b/156578 "2008-12-30T09:23:24Z")

</div>

e$B\<!$N?6$kIq$$$O$$$+$,$G$7$g$&$+e(B: ruby -E:iso-8859-1 -e’puts "\\uabcd’.encode.inspect’ “?” ruby -E:ascii-8bit -e’puts "\\uabcd’.encode.inspect’ “?” ruby -E:shift\_jis -e’puts "\\uabcd’.encode.inspect’ “?” r…

---

## [\[Bug #943\] Segmentation fault (cygwin)](https://www.ruby-forum.com/t/bug-943-segmentation-fault-cygwin/156501)

<div class="topic-metadata">

**Author:** [@Martin\_DSSS\_rst](https://www.ruby-forum.com/u/Martin_DSSS_rst)\
**Replies:** 5\
**Last updated:** [December 30, 2008, 7:59am UTC](https://www.ruby-forum.com/t/bug-943-segmentation-fault-cygwin/156501 "2008-12-30T07:59:46Z")

</div>

Bug #943: Segmentation fault (cygwin) http://redmine.ruby-lang.org/issues/show/943 e$B5/I\<\<Te(B: Martin De$(D+de(Brst e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B\<!$N%9%/%j%W%H$,e(B Segmentation fault (core dumpe…

---

## [eRuby/erb outside of Rails](https://www.ruby-forum.com/t/eruby-erb-outside-of-rails/154344)

<div class="topic-metadata">

**Author:** [@jonny\_noog](https://www.ruby-forum.com/u/jonny_noog)\
**Replies:** 17\
**Last updated:** [December 30, 2008, 5:48am UTC](https://www.ruby-forum.com/t/eruby-erb-outside-of-rails/154344 "2008-12-30T05:48:51Z")

</div>

Hello, I am currently working on planning for the redevelopment of a website. This website will be mainly static, the only dynamic functionality that I am envisioning is some server-side includes to make maintenance …

---

## [Newbie Problem](https://www.ruby-forum.com/t/newbie-problem/156556)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [December 30, 2008, 5:35am UTC](https://www.ruby-forum.com/t/newbie-problem/156556 "2008-12-30T05:35:24Z")

</div>

I’m trying to teach myself Ruby(and then rails) using Pragmatic’s “Programming Ruby” for the language part. I get the following error under NetBeans: C:/Program Files/NetBeans 6.5/ruby2/jruby-1.1.4/lib/ruby/site\_rub…

---

## [Mechanize 0.9.0 Released](https://www.ruby-forum.com/t/mechanize-0-9-0-released/156564)

<div class="topic-metadata">

**Author:** [@aaronpowell](https://www.ruby-forum.com/u/aaronpowell)\
**Replies:** 0\
**Last updated:** [December 30, 2008, 5:05am UTC](https://www.ruby-forum.com/t/mechanize-0-9-0-released/156564 "2008-12-30T05:05:36Z")

</div>

mechanize version 0.9.0 has been released! http://mechanize.rubyforge.org/ http://github.com/tenderlove/mechanize/tree/master The Mechanize library is used for automating interaction with websites. Mechanize automati…

---

## [Convert String object to Time](https://www.ruby-forum.com/t/convert-string-object-to-time/156551)

<div class="topic-metadata">

**Author:** [@mmcolli00](https://www.ruby-forum.com/u/mmcolli00)\
**Replies:** 3\
**Last updated:** [December 30, 2008, 3:00am UTC](https://www.ruby-forum.com/t/convert-string-object-to-time/156551 "2008-12-30T03:00:17Z")

</div>

Hi I have a time value coming in as a string from another program and I want to convert it to time class and then to regular time attaching AM or PM on the end. This is what I have tried. servertime = “13:05” server…

---

## [Use not equal(!=) operator as a Symbol](https://www.ruby-forum.com/t/use-not-equal-operator-as-a-symbol/156502)

<div class="topic-metadata">

**Author:** [@Jun\_YSKim](https://www.ruby-forum.com/u/Jun_YSKim)\
**Replies:** 8\
**Last updated:** [December 30, 2008, 1:53am UTC](https://www.ruby-forum.com/t/use-not-equal-operator-as-a-symbol/156502 "2008-12-30T01:53:44Z")

</div>

Hi, all I try to use comparision operator as a symbol type. but, I met the following problems. Here is my example. irb(main):001:0\> a = 1 =\> 1 irb(main):002:0\> a.send(:==, 1) =\> true irb(main):003:0\> a.send(:==, …

---

## [How to return a Java Iterator from a JRuby Hash?](https://www.ruby-forum.com/t/how-to-return-a-java-iterator-from-a-jruby-hash/156545)

<div class="topic-metadata">

**Author:** [@nabblee](https://www.ruby-forum.com/u/nabblee)\
**Replies:** 0\
**Last updated:** [December 29, 2008, 9:14pm UTC](https://www.ruby-forum.com/t/how-to-return-a-java-iterator-from-a-jruby-hash/156545 "2008-12-29T21:14:22Z")

</div>

I am implementing javax.xml.namespace.NamespaceContext, and one of the methods returns java.util.Iterator. Internally, I am representing the namespaces in a JRuby Hash. How do I return a Java Iterator from the JRuby…

---

## [JRoR: Auto-loading of JDBC drivers via RAILS\_ROOT/lib](https://www.ruby-forum.com/t/jror-auto-loading-of-jdbc-drivers-via-rails-root-lib/156540)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 1\
**Last updated:** [December 29, 2008, 9:05pm UTC](https://www.ruby-forum.com/t/jror-auto-loading-of-jdbc-drivers-via-rails-root-lib/156540 "2008-12-29T21:05:24Z")

</div>

All, Just to verify… If I place the required JDBC drivers for my application in RAILS\_ROOT/lib, will they automatically be placed in the CLASSPATH for the JRuby runtime when I start my Rails app.? If so, what line o…

---

## [Syntax error I don't understand](https://www.ruby-forum.com/t/syntax-error-i-dont-understand/156463)

<div class="topic-metadata">

**Author:** [@alby](https://www.ruby-forum.com/u/alby)\
**Replies:** 10\
**Last updated:** [December 29, 2008, 8:35pm UTC](https://www.ruby-forum.com/t/syntax-error-i-dont-understand/156463 "2008-12-29T20:35:38Z")

</div>

(I’m using Ruby 1.8.6.) I’m trying to add a random number to an array. I do: a = \[\] a \<\< rand 3 But ruby replies with “syntax error, unexpected tINTEGER, expecting kDO or ‘{’ or ‘(’” Why’s that? When I add parenth…

---

## [(no subject)](https://www.ruby-forum.com/t/no-subject/156541)

<div class="topic-metadata">

**Author:** [@Harlan\_Kohll](https://www.ruby-forum.com/u/Harlan_Kohll)\
**Replies:** 0\
**Last updated:** [December 29, 2008, 7:39pm UTC](https://www.ruby-forum.com/t/no-subject/156541 "2008-12-29T19:39:14Z")

</div>

unsuscribe

---

## [Include constants from one scope into another ( A::\* )](https://www.ruby-forum.com/t/include-constants-from-one-scope-into-another-a/156535)

<div class="topic-metadata">

**Author:** [@axyd80](https://www.ruby-forum.com/u/axyd80)\
**Replies:** 3\
**Last updated:** [December 29, 2008, 7:25pm UTC](https://www.ruby-forum.com/t/include-constants-from-one-scope-into-another-a/156535 "2008-12-29T19:25:45Z")

</div>

Hello! Is there a way to include constants from one class into another? Something like “include A::\*”? SAMPLE: class A class B; end class C; end class D; end end class E # include A::\* B; C; D; en…

---

## [Bug In Ruby 1.8.6-26](https://www.ruby-forum.com/t/bug-in-ruby-1-8-6-26/156536)

<div class="topic-metadata">

**Author:** [@opt](https://www.ruby-forum.com/u/opt)\
**Replies:** 3\
**Last updated:** [December 29, 2008, 7:20pm UTC](https://www.ruby-forum.com/t/bug-in-ruby-1-8-6-26/156536 "2008-12-29T19:20:28Z")

</div>

I’m currently coding a ruby/rails application on Windows Vista using Eclipse+RadRails. Whenever I launch my application and subsequently go to view it in my browser, upon refreshing several times the error below is tr…

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

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