# Ruby

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

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

---

## [Re: Will ruby programs using win32ole run on a Mac?](https://www.ruby-forum.com/t/re-will-ruby-programs-using-win32ole-run-on-a-mac/193262)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [August 14, 2010, 11:41am UTC](https://www.ruby-forum.com/t/re-will-ruby-programs-using-win32ole-run-on-a-mac/193262 "2010-08-14T11:41:15Z")

</div>

Hi. You cannot post it. Because there are no any activex components on macos

---

## [\[ironruby-core\] Installing Rails plugins](https://www.ruby-forum.com/t/ironruby-core-installing-rails-plugins/193209)

<div class="topic-metadata">

**Author:** [@ryan](https://www.ruby-forum.com/u/ryan)\
**Replies:** 4\
**Last updated:** [August 14, 2010, 8:37am UTC](https://www.ruby-forum.com/t/ironruby-core-installing-rails-plugins/193209 "2010-08-14T08:37:29Z")

</div>

I’m trying to install a Rails plugin from github using IronRuby 1.1. Unfortunately, all I can get is: C:\\sample\>ir -S script/plugin install git:// github.com/technoweenie/restful-authentication.git Plugin not found: …

---

## [Jruby-ldap with Rails 3?](https://www.ruby-forum.com/t/jruby-ldap-with-rails-3/193221)

<div class="topic-metadata">

**Author:** [@avramd](https://www.ruby-forum.com/u/avramd)\
**Replies:** 3\
**Last updated:** [August 14, 2010, 7:11am UTC](https://www.ruby-forum.com/t/jruby-ldap-with-rails-3/193221 "2010-08-14T07:11:52Z")

</div>

Hello, I’m trying to use jruby-ldap in a rails 3 app running on jruby, and it appears that jruby-ldap is failing to load. I do not get any actual error on the require statement, and it returns nil - which appears to b…

---

## [WEBrick$B$K4X$9$k%;%-%e%j%F%#=$@5(B (CVE-2010-0541)](https://www.ruby-forum.com/t/webrick-b-k4x-9-k-e-j-f-5-b-cve-2010-0541/193112)

<div class="topic-metadata">

**Author:** [@Hideki\_Y](https://www.ruby-forum.com/u/Hideki_Y)\
**Replies:** 11\
**Last updated:** [August 14, 2010, 4:15am UTC](https://www.ruby-forum.com/t/webrick-b-k4x-9-k-e-j-f-5-b-cve-2010-0541/193112 "2010-08-14T04:15:56Z")

</div>

e$B!!$d$^$M$H?=$7$^$9!#e(B e$B!!$I$J$?$+!"0J2\<$Ne(BWEBricke$B$K4X$9$k%;%-%e%j%F%#=$@5$r$4B8CN$NJ}$O$$$i$C$7$c$$e(B e$B!!$^$9$+!)e(B e$B!!e(Bhttp://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-0541 e$B!!e(BApple e$…

---

## [Dominate Mafia Wars](https://www.ruby-forum.com/t/dominate-mafia-wars/193251)

<div class="topic-metadata">

**Author:** [@ali\_nurwatoni](https://www.ruby-forum.com/u/ali_nurwatoni)\
**Replies:** 0\
**Last updated:** [August 14, 2010, 3:45am UTC](https://www.ruby-forum.com/t/dominate-mafia-wars/193251 "2010-08-14T03:45:30Z")

</div>

$27 Guide Show You How To Cheat Your Way To The Top. Guaranteed! http://onlinepartner.org/dominate-mafiawars-game Alinurwatoni Supervisor http://www.gogonai.info/?id=alien76

---

## [Will ruby programs using win32ole run on a Mac?](https://www.ruby-forum.com/t/will-ruby-programs-using-win32ole-run-on-a-mac/193238)

<div class="topic-metadata">

**Author:** [@arti\_singh](https://www.ruby-forum.com/u/arti_singh)\
**Replies:** 2\
**Last updated:** [August 13, 2010, 11:32pm UTC](https://www.ruby-forum.com/t/will-ruby-programs-using-win32ole-run-on-a-mac/193238 "2010-08-13T23:32:04Z")

</div>

I have some ruby scripts that use win32ole to automate Microsoft Excel on Windows7, can I port this ruby script to my MAC and use it there?

---

## [Sqlite3 odd problem](https://www.ruby-forum.com/t/sqlite3-odd-problem/193235)

<div class="topic-metadata">

**Author:** [@dlucci](https://www.ruby-forum.com/u/dlucci)\
**Replies:** 3\
**Last updated:** [August 13, 2010, 11:27pm UTC](https://www.ruby-forum.com/t/sqlite3-odd-problem/193235 "2010-08-13T23:27:58Z")

</div>

greetings everyone, i wrote a program that inserts data into a database using sqlite3. it runs fine on freebsd 6.2 but when i try to run it on ubuntu 10.04, i get the following error: /usr/lib/ruby/1.8/rubygems/cust…

---

## [Require statement for Lorax?](https://www.ruby-forum.com/t/require-statement-for-lorax/193236)

<div class="topic-metadata">

**Author:** [@Xeno\_CSS\_Eskimo\_No](https://www.ruby-forum.com/u/Xeno_CSS_Eskimo_No)\
**Replies:** 1\
**Last updated:** [August 13, 2010, 10:18pm UTC](https://www.ruby-forum.com/t/require-statement-for-lorax/193236 "2010-08-13T22:18:18Z")

</div>

I’ve installed Lorax, and looking around, I realize there is no example of a require statement. This is generally often left off I notice from docs, and presumably I can guess, but it seems like that is a good thing…

---

## [Compiling and obfuscating / jetty\_rails](https://www.ruby-forum.com/t/compiling-and-obfuscating-jetty-rails/193228)

<div class="topic-metadata">

**Author:** [@Billy\_G](https://www.ruby-forum.com/u/Billy_G)\
**Replies:** 2\
**Last updated:** [August 13, 2010, 8:22pm UTC](https://www.ruby-forum.com/t/compiling-and-obfuscating-jetty-rails/193228 "2010-08-13T20:22:56Z")

</div>

Hi Folks, Perhaps I’m barking up the wrong tree here, but I’m trying to figure out how I can get Warbler to compile the ruby code in my rails app into compiled Java classes. The point really is simply code obfuscatio…

---

## [Fast proxy](https://www.ruby-forum.com/t/fast-proxy/193179)

<div class="topic-metadata">

**Author:** [@di3go](https://www.ruby-forum.com/u/di3go)\
**Replies:** 6\
**Last updated:** [August 13, 2010, 7:07pm UTC](https://www.ruby-forum.com/t/fast-proxy/193179 "2010-08-13T19:07:47Z")

</div>

Today i have a application that send mails and this applications need to know when the user has opened the mail, its kind easy do this sending a id in some image file requested from the user mail(src=“www.sample.com/i…

---

## [Locating javascripts and stylesheets resources in a rails app](https://www.ruby-forum.com/t/locating-javascripts-and-stylesheets-resources-in-a-rails-app/193178)

<div class="topic-metadata">

**Author:** [@Billy\_G](https://www.ruby-forum.com/u/Billy_G)\
**Replies:** 5\
**Last updated:** [August 13, 2010, 4:03pm UTC](https://www.ruby-forum.com/t/locating-javascripts-and-stylesheets-resources-in-a-rails-app/193178 "2010-08-13T16:03:01Z")

</div>

Hi all, I’ve got my first POC jruby-rails app going under Tomcat! I find this very rad. Although I do have one small problem: while my webapp is deploying on tomcat correctly, it would seem that the URLs generated b…

---

## [Status of sonatypes gem repository for maven artifacts](https://www.ruby-forum.com/t/status-of-sonatypes-gem-repository-for-maven-artifacts/192287)

<div class="topic-metadata">

**Author:** [@stepheneb](https://www.ruby-forum.com/u/stepheneb)\
**Replies:** 2\
**Last updated:** [August 13, 2010, 3:22pm UTC](https://www.ruby-forum.com/t/status-of-sonatypes-gem-repository-for-maven-artifacts/192287 "2010-08-13T15:22:02Z")

</div>

What’s the story is with sonatype’s plan to host a gem repository for maven artifacts? http://gems.sonatype.org isn’t working $ gem sources -a http://gems.sonatype.org Error fetching http://gems.sonatype.org: bad re…

---

## [Click a javascript dialog window in Firefox](https://www.ruby-forum.com/t/click-a-javascript-dialog-window-in-firefox/191576)

<div class="topic-metadata">

**Author:** [@tcblues](https://www.ruby-forum.com/u/tcblues)\
**Replies:** 8\
**Last updated:** [August 13, 2010, 3:05pm UTC](https://www.ruby-forum.com/t/click-a-javascript-dialog-window-in-firefox/191576 "2010-08-13T15:05:38Z")

</div>

Hi, I’m trying to click a dialog box in Firefox but all the code I found is not working. I have watir and firewatir 1.6.5 Thanks

---

## [Jquery\_rails3 1.4.2 beta1 released](https://www.ruby-forum.com/t/jquery-rails3-1-4-2-beta1-released/193175)

<div class="topic-metadata">

**Author:** [@internet2cash](https://www.ruby-forum.com/u/internet2cash)\
**Replies:** 3\
**Last updated:** [August 13, 2010, 11:54am UTC](https://www.ruby-forum.com/t/jquery-rails3-1-4-2-beta1-released/193175 "2010-08-13T11:54:11Z")

</div>

I have released the first cut of jquery\_rails3 gem. This gem is a rails3 generator to add the jquery rails.js and jquery to an rails app. To install: gem install jquery\_rails3 --pre To add jquery inside a rails3 ap…

---

## [\[ANN\] jruby-maven-plugins](https://www.ruby-forum.com/t/ann-jruby-maven-plugins/193213)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [August 13, 2010, 8:32am UTC](https://www.ruby-forum.com/t/ann-jruby-maven-plugins/193213 "2010-08-13T08:32:50Z")

</div>

hello, there is new version for the people who know maven from their former life and want to explore how to use it to manage ruby and/or rails projects with maven. you can generate a mavenized rails3 application: ht…

---

## [Whats up buudy check out the login controller](https://www.ruby-forum.com/t/whats-up-buudy-check-out-the-login-controller/193208)

<div class="topic-metadata">

**Author:** [@jimmyjohn](https://www.ruby-forum.com/u/jimmyjohn)\
**Replies:** 1\
**Last updated:** [August 13, 2010, 8:18am UTC](https://www.ruby-forum.com/t/whats-up-buudy-check-out-the-login-controller/193208 "2010-08-13T08:18:12Z")

</div>

class LoginController \< ApplicationController def addprod @category=Cattab1.find(:all) @product=Prodtab.find(:all) @i=0 @checkvalue="" end def login @logincheck =Login.new @prodcheck=Prodtab.new if(session\[:log…

---

## [Morethen 34,100,617 active members r waiting 4 live hot chat, dating](https://www.ruby-forum.com/t/morethen-34-100-617-active-members-r-waiting-4-live-hot-chat-dating/193207)

<div class="topic-metadata">

**Author:** [@UR\_DREEM\_GIRL](https://www.ruby-forum.com/u/UR_DREEM_GIRL)\
**Replies:** 0\
**Last updated:** [August 13, 2010, 6:35am UTC](https://www.ruby-forum.com/t/morethen-34-100-617-active-members-r-waiting-4-live-hot-chat-dating/193207 "2010-08-13T06:35:47Z")

</div>

morethen 34,100,617 active members r waiting 4 live hot chat, dating … free and eazy to meet and enjoy… just click… start… http://adultfriendfinder.com/go/page/reg\_form\_video\_03?pid=g1250650-ppc http://adultfriendfi…

---

## [Need help improving mongodb BSON JRuby native extension](https://www.ruby-forum.com/t/need-help-improving-mongodb-bson-jruby-native-extension/192998)

<div class="topic-metadata">

**Author:** [@cremes](https://www.ruby-forum.com/u/cremes)\
**Replies:** 4\
**Last updated:** [August 13, 2010, 6:34am UTC](https://www.ruby-forum.com/t/need-help-improving-mongodb-bson-jruby-native-extension/192998 "2010-08-13T06:34:37Z")

</div>

The Mongodb project is adding a native java extension to support JRuby from their Ruby driver. You can see the current code here \[1\]. There’s a “slight” problem though. The native Java code is only about 2x faster tha…

---

## [Vtd-xml 2.9](https://www.ruby-forum.com/t/vtd-xml-2-9/193205)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [August 13, 2010, 4:27am UTC](https://www.ruby-forum.com/t/vtd-xml-2-9/193205 "2010-08-13T04:27:02Z")

</div>

VTD-XML 2.9, the next generation XML Processing API for SOA and Cloud computing, has been released. Please visit VTD-XML: The Future of XML Processing - Browse Files at SourceForge.net to download the latest version. …

---

## [Code Review: MSpecEscapingBug](https://www.ruby-forum.com/t/code-review-mspecescapingbug/193203)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [August 13, 2010, 3:52am UTC](https://www.ruby-forum.com/t/code-review-mspecescapingbug/193203 "2010-08-13T03:52:30Z")

</div>

This one actually works :slight\_smile: tfpt review “/shelveset:MSpecEscapingBug;REDMOND\\tomat” Tags are not escaped/unescaped correctly. Tomas

---

## [Self in irb versus script](https://www.ruby-forum.com/t/self-in-irb-versus-script/193137)

<div class="topic-metadata">

**Author:** [@dawillis](https://www.ruby-forum.com/u/dawillis)\
**Replies:** 3\
**Last updated:** [August 13, 2010, 2:00am UTC](https://www.ruby-forum.com/t/self-in-irb-versus-script/193137 "2010-08-13T02:00:43Z")

</div>

Howdy from a Ruby newbie–hope my question isn’t too annoying. I’m working through a book on Ruby. Examples using self work fine in irb, but if I type the same examples in a script and run that I get this error messag…

---

## [Code Review: MspecEscapingBug](https://www.ruby-forum.com/t/code-review-mspecescapingbug/193201)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [August 13, 2010, 1:31am UTC](https://www.ruby-forum.com/t/code-review-mspecescapingbug/193201 "2010-08-13T01:31:27Z")

</div>

tfpt review “/shelveset:MspecEscapingBug;REDMOND\\tomat” Comment : Tags are not escaped/unescaped correctly. Tomas

---

## [Jrubyc bug triggered by more than 3 function arguments?](https://www.ruby-forum.com/t/jrubyc-bug-triggered-by-more-than-3-function-arguments/193141)

<div class="topic-metadata">

**Author:** [@audreylee88](https://www.ruby-forum.com/u/audreylee88)\
**Replies:** 3\
**Last updated:** [August 13, 2010, 1:12am UTC](https://www.ruby-forum.com/t/jrubyc-bug-triggered-by-more-than-3-function-arguments/193141 "2010-08-13T01:12:38Z")

</div>

Hello List, I am having problems with jrubyc. It might be a bug. I wrote this file: #!/usr/bin/env jruby my\_class.rb require ‘java’ class MyClass def my\_fnc(a, b, c) end end I ran jrubyc: a@z2:/pt/z2/api$ a@z…

---

## [JRuby ignores java access modifiers - bug or feature?](https://www.ruby-forum.com/t/jruby-ignores-java-access-modifiers-bug-or-feature/192704)

<div class="topic-metadata">

**Author:** [@Andreas\_Thies](https://www.ruby-forum.com/u/Andreas_Thies)\
**Replies:** 8\
**Last updated:** [August 13, 2010, 12:45am UTC](https://www.ruby-forum.com/t/jruby-ignores-java-access-modifiers-bug-or-feature/192704 "2010-08-13T00:45:07Z")

</div>

Hi, using JRuby 1.5.1 I am getting in trouble because it seems that JRuby is not aware of Java accessibility when determining method binding. With the following Java program package a; public class A { public void …

---

## [Ruby|Web Conference Registration Open](https://www.ruby-forum.com/t/ruby-web-conference-registration-open/193197)

<div class="topic-metadata">

**Author:** [@mike-moscow](https://www.ruby-forum.com/u/mike-moscow)\
**Replies:** 1\
**Last updated:** [August 13, 2010, 12:27am UTC](https://www.ruby-forum.com/t/ruby-web-conference-registration-open/193197 "2010-08-13T00:27:34Z")

</div>

I’m really happy to announce registration has opened for Ruby|Web Conference. Registration is $179 for the two day conference, but because you guys are awesome here is a promo code that will let you register for just …

---

## [Tail recursion with 1.9](https://www.ruby-forum.com/t/tail-recursion-with-1-9/193061)

<div class="topic-metadata">

**Author:** [@tensaiji](https://www.ruby-forum.com/u/tensaiji)\
**Replies:** 4\
**Last updated:** [August 13, 2010, 12:25am UTC](https://www.ruby-forum.com/t/tail-recursion-with-1-9/193061 "2010-08-13T00:25:48Z")

</div>

Hi, I read in the first answer here that tail recursion is not on by default and is enabled by uncommenting a line in the source before compilation. Is this still true, and is there anyway to tell if it’s on or not …

---

## [Highline and Chronic](https://www.ruby-forum.com/t/highline-and-chronic/193162)

<div class="topic-metadata">

**Author:** [@sentinel](https://www.ruby-forum.com/u/sentinel)\
**Replies:** 2\
**Last updated:** [August 13, 2010, 12:11am UTC](https://www.ruby-forum.com/t/highline-and-chronic/193162 "2010-08-13T00:11:10Z")

</div>

I just heard of Chronic and wanted to integrate it with Highline so i could get natural language dates like “yesterday”, “tomorrow” etc. I find that I get a nil returned if I do: dob1 = ask("DOB? ", Chronic) H…

---

## [REXML - controlling whitespaces and inserting CR](https://www.ruby-forum.com/t/rexml-controlling-whitespaces-and-inserting-cr/192534)

<div class="topic-metadata">

**Author:** [@ctwise](https://www.ruby-forum.com/u/ctwise)\
**Replies:** 6\
**Last updated:** [August 12, 2010, 10:36pm UTC](https://www.ruby-forum.com/t/rexml-controlling-whitespaces-and-inserting-cr/192534 "2010-08-12T22:36:29Z")

</div>

Hello All, I have an XML file containing this Description de Description en Description de Description en I made a code to add a new tag to each . The part of code is: require “rexml/document” inclu…

---

## [Formatting directory listings](https://www.ruby-forum.com/t/formatting-directory-listings/193075)

<div class="topic-metadata">

**Author:** [@simonh](https://www.ruby-forum.com/u/simonh)\
**Replies:** 6\
**Last updated:** [August 12, 2010, 9:20pm UTC](https://www.ruby-forum.com/t/formatting-directory-listings/193075 "2010-08-12T21:20:47Z")

</div>

Hi. Given an (imaginary) directory structure like so: Movies/ film1/film1.avi film2/film2.avi film3/film3.avi etc. I’d like to get a directory listing like so: Movies film1 film2 film3 etc. I don’t want anyone…

---

## [Injecting an instance method into another class' class method](https://www.ruby-forum.com/t/injecting-an-instance-method-into-another-class-class-method/193123)

<div class="topic-metadata">

**Author:** [@cremes](https://www.ruby-forum.com/u/cremes)\
**Replies:** 3\
**Last updated:** [August 12, 2010, 9:16pm UTC](https://www.ruby-forum.com/t/injecting-an-instance-method-into-another-class-class-method/193123 "2010-08-12T21:16:06Z")

</div>

I’d like to reopen a class Foo and redefine one of its methods to use an instance method from class Bar. I can’t seem to figure out how to do it or even if it is possible. I tried lots of different techniques and none…

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

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