# Ruby

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

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

---

## [Tls](https://www.ruby-forum.com/t/tls/115212)

<div class="topic-metadata">

**Author:** [@sean\_n](https://www.ruby-forum.com/u/sean_n)\
**Replies:** 4\
**Last updated:** [September 27, 2007, 11:40am UTC](https://www.ruby-forum.com/t/tls/115212 "2007-09-27T11:40:27Z")

</div>

Anyone know if ruby supports TLS in SMTP? can you please provide code snippets?

---

## [Ruby | Ruby on Rails | database MS SQL Server 2005](https://www.ruby-forum.com/t/ruby-ruby-on-rails-database-ms-sql-server-2005/115537)

<div class="topic-metadata">

**Author:** [@erstwhileiii](https://www.ruby-forum.com/u/erstwhileiii)\
**Replies:** 3\
**Last updated:** [September 27, 2007, 10:48am UTC](https://www.ruby-forum.com/t/ruby-ruby-on-rails-database-ms-sql-server-2005/115537 "2007-09-27T10:48:46Z")

</div>

How can I configure Ruby and Ruby on Rails for use with MS SQL Server 2005? Environment: Ruby 1.8.6-25 (windows) Ruby on Rails 1.2.3 ruby-dbi 0.1.1 (installed with dbi,dbd\_ado) OS: Windows XP Professional sp4 Databas…

---

## [Is there any separate editor for ruby?](https://www.ruby-forum.com/t/is-there-any-separate-editor-for-ruby/115062)

<div class="topic-metadata">

**Author:** [@vellingiri](https://www.ruby-forum.com/u/vellingiri)\
**Replies:** 12\
**Last updated:** [September 27, 2007, 10:30am UTC](https://www.ruby-forum.com/t/is-there-any-separate-editor-for-ruby/115062 "2007-09-27T10:30:53Z")

</div>

Hai Friends, Is there any separate editor for ruby? If it is there Please you could tell to me. where I can getting the package,I am RedHat EL4 version OS. how i am going to install that package.I heard that one sep…

---

## [Oracle jdbc: non-schema-owner needs access](https://www.ruby-forum.com/t/oracle-jdbc-non-schema-owner-needs-access/115662)

<div class="topic-metadata">

**Author:** [@TellesS\_Bernardo](https://www.ruby-forum.com/u/TellesS_Bernardo)\
**Replies:** 0\
**Last updated:** [September 27, 2007, 10:07am UTC](https://www.ruby-forum.com/t/oracle-jdbc-non-schema-owner-needs-access/115662 "2007-09-27T10:07:20Z")

</div>

Hi there, Here’s the problem: Let’s say I have a user called MYAPP who is the owner of MYAPP. If I use MYAPP’s username and password to connect to oracle, then ActiveRecord’s scaffold and other features work perfectl…

---

## [Deadlock falsely detected when using condition variables](https://www.ruby-forum.com/t/deadlock-falsely-detected-when-using-condition-variables/115657)

<div class="topic-metadata">

**Author:** [@Clifford\_H](https://www.ruby-forum.com/u/Clifford_H)\
**Replies:** 3\
**Last updated:** [September 27, 2007, 9:55am UTC](https://www.ruby-forum.com/t/deadlock-falsely-detected-when-using-condition-variables/115657 "2007-09-27T09:55:49Z")

</div>

I have a fragment of multi-threaded code using Ruby’s Mutex and ConditionVariable class, where it appears that the interpreter is calling a deadlock incorrectly. I’m using ruby 1.8.6 on Windows XP. The code in questi…

---

## [Browser's Local Timezone](https://www.ruby-forum.com/t/browsers-local-timezone/115651)

<div class="topic-metadata">

**Author:** [@neha-rohan](https://www.ruby-forum.com/u/neha-rohan)\
**Replies:** 1\
**Last updated:** [September 27, 2007, 9:48am UTC](https://www.ruby-forum.com/t/browsers-local-timezone/115651 "2007-09-27T09:48:59Z")

</div>

Hi, Is there a way to get the browser’s local timezone from the request header? Neha

---

## [Ruby Beginner - Recommended Books](https://www.ruby-forum.com/t/ruby-beginner-recommended-books/115490)

<div class="topic-metadata">

**Author:** [@Amir](https://www.ruby-forum.com/u/Amir)\
**Replies:** 6\
**Last updated:** [September 27, 2007, 7:36am UTC](https://www.ruby-forum.com/t/ruby-beginner-recommended-books/115490 "2007-09-27T07:36:17Z")

</div>

Hi I’m new to this Ruby thing. Would like to get some books to get up to speed on this language. I’ve only done BASIC and VBA. I would like to be able to design a web app for employer’s rental business. Any help wou…

---

## [Syntax for \<stringVariable\>.new?](https://www.ruby-forum.com/t/syntax-for-stringvariable-new/115623)

<div class="topic-metadata">

**Author:** [@lfast](https://www.ruby-forum.com/u/lfast)\
**Replies:** 13\
**Last updated:** [September 27, 2007, 6:46am UTC](https://www.ruby-forum.com/t/syntax-for-stringvariable-new/115623 "2007-09-27T06:46:02Z")

</div>

Hi Rubyists and …istas, I want create objects from a list of class names. What’s the syntax for this? classList.each { |klass| } Thanks, Larry

---

## [Ruby curses problem](https://www.ruby-forum.com/t/ruby-curses-problem/115646)

<div class="topic-metadata">

**Author:** [@shawn\_2008](https://www.ruby-forum.com/u/shawn_2008)\
**Replies:** 0\
**Last updated:** [September 27, 2007, 6:14am UTC](https://www.ruby-forum.com/t/ruby-curses-problem/115646 "2007-09-27T06:14:47Z")

</div>

code like follow: require “curses” include Curses init\_screen begin crmode echo getstr noecho ensure close\_screen end i input some chinese word like “ä½ å¥½”, it shows the wrong word “æš®” not “ä½ å¥½”! how…

---

## [Re: Shirt Reader (#140)](https://www.ruby-forum.com/t/re-shirt-reader-140/115643)

<div class="topic-metadata">

**Author:** [@jameskelly](https://www.ruby-forum.com/u/jameskelly)\
**Replies:** 0\
**Last updated:** [September 27, 2007, 5:14am UTC](https://www.ruby-forum.com/t/re-shirt-reader-140/115643 "2007-09-27T05:14:16Z")

</div>

My solution’s algorithm is fairly simple: Take the words, take their pronunciations in IPA or a suitable equivalent, and then find the word with the pronunciation that requires the least amount of changes to turn it i…

---

## [More information on REXML/XPath](https://www.ruby-forum.com/t/more-information-on-rexml-xpath/115456)

<div class="topic-metadata">

**Author:** [@bodikp](https://www.ruby-forum.com/u/bodikp)\
**Replies:** 2\
**Last updated:** [September 27, 2007, 4:39am UTC](https://www.ruby-forum.com/t/more-information-on-rexml-xpath/115456 "2007-09-27T04:39:12Z")

</div>

Hello, I’m trying to convert xml files to SGML. The publishing system at our company uses SGML. And, basically, the SGML I want to create is just CALS, which is the SGML tables standard. So, I’m trying to use REXML to …

---

## [Aliasing return false](https://www.ruby-forum.com/t/aliasing-return-false/115630)

<div class="topic-metadata">

**Author:** [@Ari\_B](https://www.ruby-forum.com/u/Ari_B)\
**Replies:** 5\
**Last updated:** [September 27, 2007, 4:00am UTC](https://www.ruby-forum.com/t/aliasing-return-false/115630 "2007-09-27T04:00:01Z")

</div>

Hey all, I’m writing a quick DSL, and in it, I end up having to use return false unless {} quite a bunch. Since I still need everything outside of the return false’s, Stefan 's Stepper code is of no use, although it …

---

## [Removing old entries](https://www.ruby-forum.com/t/removing-old-entries/115609)

<div class="topic-metadata">

**Author:** [@animate123](https://www.ruby-forum.com/u/animate123)\
**Replies:** 3\
**Last updated:** [September 27, 2007, 3:41am UTC](https://www.ruby-forum.com/t/removing-old-entries/115609 "2007-09-27T03:41:53Z")

</div>

Does anyone know of any way to remove old entries made by myself from this forum?

---

## [Need Evolution plug-in](https://www.ruby-forum.com/t/need-evolution-plug-in/115570)

<div class="topic-metadata">

**Author:** [@Michael\_TSRichter](https://www.ruby-forum.com/u/Michael_TSRichter)\
**Replies:** 2\
**Last updated:** [September 27, 2007, 3:23am UTC](https://www.ruby-forum.com/t/need-evolution-plug-in/115570 "2007-09-27T03:23:46Z")

</div>

OK, after a recent round of the “let’s spam the list with the same topic under multiple subjects” game, I need to write a plug-in for Evolution that will allow me to filter out any messages from a given user as well a…

---

## [Calling instance method defined in a parent class?](https://www.ruby-forum.com/t/calling-instance-method-defined-in-a-parent-class/115636)

<div class="topic-metadata">

**Author:** [@Christopher\_JSBott](https://www.ruby-forum.com/u/Christopher_JSBott)\
**Replies:** 1\
**Last updated:** [September 27, 2007, 3:05am UTC](https://www.ruby-forum.com/t/calling-instance-method-defined-in-a-parent-class/115636 "2007-09-27T03:05:38Z")

</div>

How do I do that? Consider the following class definitions: class Foo def a puts “Foo” end end class Bar \< Foo def a puts “Bar” end def b parent.a # I want to call Foo#a here for this instance of Bar. end e…

---

## [Fire 1.2.0](https://www.ruby-forum.com/t/fire-1-2-0/115634)

<div class="topic-metadata">

**Author:** [@Ari\_B](https://www.ruby-forum.com/u/Ari_B)\
**Replies:** 1\
**Last updated:** [September 27, 2007, 2:01am UTC](https://www.ruby-forum.com/t/fire-1-2-0/115634 "2007-09-27T02:01:23Z")

</div>

For the three people who downloaded this before… You REALLY need to download this one. fire version 1.2.0 has been released! http://fire.rubyforge.com/ SYNOPSIS: Here’s how to set up a Port Knocking Daemon with a k…

---

## [Favorite idiom for "keep doing this until it returns nil/fal](https://www.ruby-forum.com/t/favorite-idiom-for-keep-doing-this-until-it-returns-nil-fal/115396)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 11\
**Last updated:** [September 27, 2007, 1:50am UTC](https://www.ruby-forum.com/t/favorite-idiom-for-keep-doing-this-until-it-returns-nil-fal/115396 "2007-09-27T01:50:52Z")

</div>

I want to keep running gsub! on a string until it returns nil. How do you prefer to do this? true while str.gsub!( … ) while str.gsub!( … ); end begin done = !str.gsub!( … ) end until done begin made\_replacement …

---

## [Question (no flame)](https://www.ruby-forum.com/t/question-no-flame/115608)

<div class="topic-metadata">

**Author:** [@Miquel\_O](https://www.ruby-forum.com/u/Miquel_O)\
**Replies:** 8\
**Last updated:** [September 27, 2007, 1:26am UTC](https://www.ruby-forum.com/t/question-no-flame/115608 "2007-09-27T01:26:20Z")

</div>

Hi there I’ve been a long long time searching a Ruby IDE for my Ruby coding and finally I have found two of them…and this is the problem. The first one I have found is Netbeans (Java IDE by Sun) and the second one is…

---

## [So surprised syntax error not caught here](https://www.ruby-forum.com/t/so-surprised-syntax-error-not-caught-here/115487)

<div class="topic-metadata">

**Author:** [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Replies:** 4\
**Last updated:** [September 27, 2007, 12:37am UTC](https://www.ruby-forum.com/t/so-surprised-syntax-error-not-caught-here/115487 "2007-09-27T00:37:45Z")

</div>

the following syntax error for “elif” is not caught? (should be elsif) def foo(i) if i \< 0 return “Less than 0” elif i == 0 return “it is zero” else return “Greater than 0” end end p foo(-2) p foo(0) p foo(1…

---

## [Ruby Gmail Chat Group](https://www.ruby-forum.com/t/ruby-gmail-chat-group/115498)

<div class="topic-metadata">

**Author:** [@jayson](https://www.ruby-forum.com/u/jayson)\
**Replies:** 9\
**Last updated:** [September 27, 2007, 12:30am UTC](https://www.ruby-forum.com/t/ruby-gmail-chat-group/115498 "2007-09-27T00:30:08Z")

</div>

…so there I was. Wishing there was some Ruby Guru nearby that could coach me through this challenging bit of code. As I opened up my gmail account to shoot off yet another question to the group, my eye spotted the gma…

---

## [The guy who wrote RubyScript2Exe needs to seriously reconsid](https://www.ruby-forum.com/t/the-guy-who-wrote-rubyscript2exe-needs-to-seriously-reconsid/115517)

<div class="topic-metadata">

**Author:** [@rubymarc](https://www.ruby-forum.com/u/rubymarc)\
**Replies:** 12\
**Last updated:** [September 27, 2007, 12:14am UTC](https://www.ruby-forum.com/t/the-guy-who-wrote-rubyscript2exe-needs-to-seriously-reconsid/115517 "2007-09-27T00:14:55Z")

</div>

I have a very simple Ruby script that does nothing more than compute Dhrystones so there is a fair amount of looping going on in this script as would be expected. RubyScript2Exe seems to need to trace the actual execu…

---

## [Rubygems & ruby 1.9](https://www.ruby-forum.com/t/rubygems-ruby-1-9/115578)

<div class="topic-metadata">

**Author:** [@keltia](https://www.ruby-forum.com/u/keltia)\
**Replies:** 1\
**Last updated:** [September 26, 2007, 9:49pm UTC](https://www.ruby-forum.com/t/rubygems-ruby-1-9/115578 "2007-09-26T21:49:36Z")

</div>

Hello, Is there a 1.9 compatible version of rubygems somewhere? Each I try to install it under 1.9 (I use svn’s trunk), it barfs with the following: I can get around this by using “=\>” instead of “,”, I can work arou…

---

## [Best way to create Bignum from C extension](https://www.ruby-forum.com/t/best-way-to-create-bignum-from-c-extension/115492)

<div class="topic-metadata">

**Author:** [@tomfarm](https://www.ruby-forum.com/u/tomfarm)\
**Replies:** 4\
**Last updated:** [September 26, 2007, 9:47pm UTC](https://www.ruby-forum.com/t/best-way-to-create-bignum-from-c-extension/115492 "2007-09-26T21:47:15Z")

</div>

I’ve been hand-translating some Ruby code into C for an extension and have come across the need to create and return a Bignum from the extension. I see that there is a macro INT2NUM that will produce a Bignum from lon…

---

## [Best way to 'hide' a method when method\_missing is in town](https://www.ruby-forum.com/t/best-way-to-hide-a-method-when-method-missing-is-in-town/115375)

<div class="topic-metadata">

**Author:** [@kevben](https://www.ruby-forum.com/u/kevben)\
**Replies:** 13\
**Last updated:** [September 26, 2007, 8:21pm UTC](https://www.ruby-forum.com/t/best-way-to-hide-a-method-when-method-missing-is-in-town/115375 "2007-09-26T20:21:07Z")

</div>

I am trying to hide a method in a subclass whose base class has method\_missing defined. class Base def method\_missing(method, \*args) puts “#{method} caught in base” end end class Sub \< Base def see\_me puts ‘hi’ …

---

## [Difference between inheritance and mixin](https://www.ruby-forum.com/t/difference-between-inheritance-and-mixin/115559)

<div class="topic-metadata">

**Author:** [@vellingiri](https://www.ruby-forum.com/u/vellingiri)\
**Replies:** 6\
**Last updated:** [September 26, 2007, 7:28pm UTC](https://www.ruby-forum.com/t/difference-between-inheritance-and-mixin/115559 "2007-09-26T19:28:55Z")

</div>

Hai friends, Can anybody can answer this question. what is the difference between inheritance and mixin. what is the use of mixin and what is the use of inheritance. Inheritance is we are deriving the superclass. fo…

---

## [Active directory](https://www.ruby-forum.com/t/active-directory/115393)

<div class="topic-metadata">

**Author:** [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Replies:** 9\
**Last updated:** [September 26, 2007, 7:23pm UTC](https://www.ruby-forum.com/t/active-directory/115393 "2007-09-26T19:23:38Z")

</div>

Is there any ruby library that will let me authenticate against an active directory server from a linux machine? I looked through the AD gems but the documentation assumed that I knew what I was doing already, and see…

---

## [This is why Ruby 1.8.6 can never be made to run anywhere nea](https://www.ruby-forum.com/t/this-is-why-ruby-1-8-6-can-never-be-made-to-run-anywhere-nea/115335)

<div class="topic-metadata">

**Author:** [@rubymarc](https://www.ruby-forum.com/u/rubymarc)\
**Replies:** 64\
**Last updated:** [September 26, 2007, 7:12pm UTC](https://www.ruby-forum.com/t/this-is-why-ruby-1-8-6-can-never-be-made-to-run-anywhere-nea/115335 "2007-09-26T19:12:30Z")

</div>

I welcome any corrections anyone might be able to make since I am new to Ruby with less than 3 months experience under my belt. Ruby 1.8.6 is an interpreted langauge that does not have a byte-code driven VM at this ti…

---

## [Ruby.h, intern.h, library.so and installing Ruby 1.9](https://www.ruby-forum.com/t/ruby-h-intern-h-library-so-and-installing-ruby-1-9/115597)

<div class="topic-metadata">

**Author:** [@tirengarfio](https://www.ruby-forum.com/u/tirengarfio)\
**Replies:** 2\
**Last updated:** [September 26, 2007, 7:11pm UTC](https://www.ruby-forum.com/t/ruby-h-intern-h-library-so-and-installing-ruby-1-9/115597 "2007-09-26T19:11:55Z")

</div>

Hi, im trying to install a library called Dridflow. The instructions to install this library says: "Required Software: \* 1 : Ruby 1.9 2005 (make sure you have the \*.so and \*.h files) Make sure it contains ruby.h and…

---

## [Process::WNOHANG](https://www.ruby-forum.com/t/process-wnohang/115603)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 0\
**Last updated:** [September 26, 2007, 7:09pm UTC](https://www.ruby-forum.com/t/process-wnohang/115603 "2007-09-26T19:09:00Z")

</div>

Process::WNOHANG e$B$,8z$-$^$;$s!#e(B e$B0J2\<$r\<B9T$9$k$H!"e(B3 e$BIC$\[$IBT$C$F$7$^$$$^$9!#e(B % ./ruby -ve ’ pid = fork { sleep 3 } p Process.waitpid(pid, Process::WNOHANG)’ ruby 1.9.0 (2007-09-26 patchlevel 0) \[i6…

---

## [Application error](https://www.ruby-forum.com/t/application-error/115595)

<div class="topic-metadata">

**Author:** [@chrisdwan](https://www.ruby-forum.com/u/chrisdwan)\
**Replies:** 1\
**Last updated:** [September 26, 2007, 6:33pm UTC](https://www.ruby-forum.com/t/application-error/115595 "2007-09-26T18:33:10Z")

</div>

What could cause this error: Application errorRails application failed to start properly" When I load a controller in a browser? I have created the controller, model, and view; created the database table, updated da…

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

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