# Ruby

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

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

---

## [Trying to change my OS from Windows to Linux/Mac](https://www.ruby-forum.com/t/trying-to-change-my-os-from-windows-to-linux-mac/48512)

<div class="topic-metadata">

**Author:** [@sam.s.kong](https://www.ruby-forum.com/u/sam.s.kong)\
**Replies:** 31\
**Last updated:** [November 22, 2005, 4:29am UTC](https://www.ruby-forum.com/t/trying-to-change-my-os-from-windows-to-linux-mac/48512 "2005-11-22T04:29:20Z")

</div>

Hello, Ruby people! This is not about Ruby itself but about OS. The reason that I ask this question in this group is that I’ve been motivated to use other OS’s than Windows by this group while I learned Ruby. Thus t…

---

## [GUI Applications with Ruby](https://www.ruby-forum.com/t/gui-applications-with-ruby/48546)

<div class="topic-metadata">

**Author:** [@nospam2](https://www.ruby-forum.com/u/nospam2)\
**Replies:** 3\
**Last updated:** [November 22, 2005, 3:41am UTC](https://www.ruby-forum.com/t/gui-applications-with-ruby/48546 "2005-11-22T03:41:05Z")

</div>

Hi, I intend to develop crossplatform applications (with great usage of GUI), what frameworks and what IDE are available for Ruby? Thanks.

---

## [Where to download Ruby 1.8.2?](https://www.ruby-forum.com/t/where-to-download-ruby-1-8-2/48554)

<div class="topic-metadata">

**Author:** [@itsme213](https://www.ruby-forum.com/u/itsme213)\
**Replies:** 2\
**Last updated:** [November 22, 2005, 3:04am UTC](https://www.ruby-forum.com/t/where-to-download-ruby-1-8-2/48554 "2005-11-22T03:04:52Z")

</div>

I am asking my web host to install Ruby on their Free-BSD server. Where should I point him for a download? (I could not find 1.8.2 on ruby-lang, and google did not seem to help much). Thanks.

---

## [Active Record without rails](https://www.ruby-forum.com/t/active-record-without-rails/48475)

<div class="topic-metadata">

**Author:** [@hsanson](https://www.ruby-forum.com/u/hsanson)\
**Replies:** 12\
**Last updated:** [November 22, 2005, 2:32am UTC](https://www.ruby-forum.com/t/active-record-without-rails/48475 "2005-11-22T02:32:42Z")

</div>

I read somewhere in this list (or so I belive since I can’t find the post) that it is possible to use the powerful ActiveRecord class of Rails without rails… I have my little script that access a database (MS SQL) a…

---

## [How to get font info on \*nix?](https://www.ruby-forum.com/t/how-to-get-font-info-on-nix/48501)

<div class="topic-metadata">

**Author:** [@rmagick](https://www.ruby-forum.com/u/rmagick)\
**Replies:** 4\
**Last updated:** [November 22, 2005, 2:04am UTC](https://www.ruby-forum.com/t/how-to-get-font-info-on-nix/48501 "2005-11-22T02:04:35Z")

</div>

I’m thinking about writing a Ruby extension for Linux/\*BSD/Darwin to enumerate all the fonts (Postscript and TTF) that are installed, along with their attributes. Given such an extension I could write a Ruby program t…

---

## [The ruby way : DateTime calculations?](https://www.ruby-forum.com/t/the-ruby-way-datetime-calculations/51772)

<div class="topic-metadata">

**Author:** [@peter.fitzgibbons](https://www.ruby-forum.com/u/peter.fitzgibbons)\
**Replies:** 2\
**Last updated:** [November 22, 2005, 12:16am UTC](https://www.ruby-forum.com/t/the-ruby-way-datetime-calculations/51772 "2005-11-22T00:16:02Z")

</div>

Is there an existent lib or such that gives me some date/time calculations ? Time.now - 2.minutes for instance ? Thanks,

---

## [Re: Euchre Hands (#55)](https://www.ruby-forum.com/t/re-euchre-hands-55/95457)

<div class="topic-metadata">

**Author:** [@daniels](https://www.ruby-forum.com/u/daniels)\
**Replies:** 0\
**Last updated:** [November 21, 2005, 11:47pm UTC](https://www.ruby-forum.com/t/re-euchre-hands-55/95457 "2005-11-21T23:47:51Z")

</div>

And one last time, to account for hands that don’t have one of the opposite coloured suites - that’s what I get for steadfastly avoiding looking at the quiz discussion until after I think I’m done. class Card attr\_re…

---

## [Fwd: Please Forward: Ruby Quiz Solution](https://www.ruby-forum.com/t/fwd-please-forward-ruby-quiz-solution/61220)

<div class="topic-metadata">

**Author:** [@james](https://www.ruby-forum.com/u/james)\
**Replies:** 0\
**Last updated:** [November 21, 2005, 11:39pm UTC](https://www.ruby-forum.com/t/fwd-please-forward-ruby-quiz-solution/61220 "2005-11-21T23:39:49Z")

</div>

Begin forwarded message:

---

## [Re: Euchre Hands (#55)](https://www.ruby-forum.com/t/re-euchre-hands-55/95441)

<div class="topic-metadata">

**Author:** [@daniels](https://www.ruby-forum.com/u/daniels)\
**Replies:** 0\
**Last updated:** [November 21, 2005, 11:27pm UTC](https://www.ruby-forum.com/t/re-euchre-hands-55/95441 "2005-11-21T23:27:44Z")

</div>

Because I’m an idiot and didn’t read the quiz spec properly, or test my code properly - I left aces low, and expected all the number cards in there, and made a couple of other typos. I also made it faster by calculati…

---

## [Mkdirs function?](https://www.ruby-forum.com/t/mkdirs-function/48528)

<div class="topic-metadata">

**Author:** [@uval](https://www.ruby-forum.com/u/uval)\
**Replies:** 8\
**Last updated:** [November 21, 2005, 11:23pm UTC](https://www.ruby-forum.com/t/mkdirs-function/48528 "2005-11-21T23:23:43Z")

</div>

Hello all, is there a function to make multiple directories like os.makedirs in Python? I tried Dir.singleton\_methods but nothing that would fit. if not can it be added to Ruby? Regards, Daniel

---

## [Valgrind and embedded ruby](https://www.ruby-forum.com/t/valgrind-and-embedded-ruby/48486)

<div class="topic-metadata">

**Author:** [@ihspm](https://www.ruby-forum.com/u/ihspm)\
**Replies:** 3\
**Last updated:** [November 21, 2005, 8:54pm UTC](https://www.ruby-forum.com/t/valgrind-and-embedded-ruby/48486 "2005-11-21T20:54:34Z")

</div>

Hi all, I’m currently testing an environment with embedding ruby and found an issue when allocating a large amount of ruby string objects in external C calls. Im not sure, whether I misunderstood the correct usage. T…

---

## [Regular Expressions and Ruby](https://www.ruby-forum.com/t/regular-expressions-and-ruby/100209)

<div class="topic-metadata">

**Author:** [@george.lunsford](https://www.ruby-forum.com/u/george.lunsford)\
**Replies:** 16\
**Last updated:** [November 21, 2005, 8:46pm UTC](https://www.ruby-forum.com/t/regular-expressions-and-ruby/100209 "2005-11-21T20:46:29Z")

</div>

Hi, I’m new to the list and I hope this is the right place to ask the question, but I recently started learning ruby and I was writing a short little program to test if a word was made up of symbols from the periodic …

---

## [Ruby and WMI](https://www.ruby-forum.com/t/ruby-and-wmi/81458)

<div class="topic-metadata">

**Author:** [@timgerrlists](https://www.ruby-forum.com/u/timgerrlists)\
**Replies:** 5\
**Last updated:** [November 21, 2005, 8:22pm UTC](https://www.ruby-forum.com/t/ruby-and-wmi/81458 "2005-11-21T20:22:09Z")

</div>

I have been playing with ruby for a few weeks now to do windows administration. I haved used ruby with WMI on harder scripts but cant figure out what to do here. I want to query remote computers and see who is in th…

---

## [Ruby/audio 0.1.0](https://www.ruby-forum.com/t/ruby-audio-0-1-0/48515)

<div class="topic-metadata">

**Author:** [@fugalh](https://www.ruby-forum.com/u/fugalh)\
**Replies:** 0\
**Last updated:** [November 21, 2005, 7:37pm UTC](https://www.ruby-forum.com/t/ruby-audio-0-1-0/48515 "2005-11-21T19:37:53Z")

</div>

require ‘audio/sndfile’ Audio::Soundfile.open(‘chunky\_bacon.wav’) do |sf| sound = sf.readf\_float(sf.frames) puts "Maximum amplitude: #{sound.abs.max}" sound.each\_frame do |frame| # something cool end end ruby/aud…

---

## [Four Rinda Questions](https://www.ruby-forum.com/t/four-rinda-questions/48462)

<div class="topic-metadata">

**Author:** [@a.griesser](https://www.ruby-forum.com/u/a.griesser)\
**Replies:** 1\
**Last updated:** [November 21, 2005, 7:33pm UTC](https://www.ruby-forum.com/t/four-rinda-questions/48462 "2005-11-21T19:33:50Z")

</div>

Rinda looks very interesting, but appears to differ in puzzling ways from the Linda model descriptions of Carriero and Gelernter. Perhaps someone has read the source and can answer these questions: Does Rinda suppo…

---

## [Statement modifiers causing confusion](https://www.ruby-forum.com/t/statement-modifiers-causing-confusion/48510)

<div class="topic-metadata">

**Author:** [@djmccormick](https://www.ruby-forum.com/u/djmccormick)\
**Replies:** 1\
**Last updated:** [November 21, 2005, 6:29pm UTC](https://www.ruby-forum.com/t/statement-modifiers-causing-confusion/48510 "2005-11-21T18:29:23Z")

</div>

I’m working my way through the second edition of the pickaxe and have encountered an example that doesn’t work as I’d expected. while line = gets puts line.downcase end That code made sense… it was then simplified t…

---

## [Nano & Mega ... Gems removed?](https://www.ruby-forum.com/t/nano-mega-gems-removed/48513)

<div class="topic-metadata">

**Author:** [@jeff.darklight](https://www.ruby-forum.com/u/jeff.darklight)\
**Replies:** 5\
**Last updated:** [November 21, 2005, 6:21pm UTC](https://www.ruby-forum.com/t/nano-mega-gems-removed/48513 "2005-11-21T18:21:17Z")

</div>

I just tried installing Nano & Mega via gem and it’s coming back saying “Could not find nano in the repository” or “Could not find mega in the repository” … anybody else running into this? j. – “Remember. Understa…

---

## [Xampl 0.1.0](https://www.ruby-forum.com/t/xampl-0-1-0/93290)

<div class="topic-metadata">

**Author:** [@hutch](https://www.ruby-forum.com/u/hutch)\
**Replies:** 8\
**Last updated:** [November 21, 2005, 5:44pm UTC](https://www.ruby-forum.com/t/xampl-0-1-0/93290 "2005-11-21T17:44:49Z")

</div>

Hi, I’ve just uploaded the first release (0.1.0) of xampl for Ruby. I’m expecting a few teething pains but I hope they’ll be over with soon. This is a ruby version of a project I’ve been working on in Java since 1998…

---

## [Regular Expressions and Ruby](https://www.ruby-forum.com/t/regular-expressions-and-ruby/48509)

<div class="topic-metadata">

**Author:** [@george.lunsford](https://www.ruby-forum.com/u/george.lunsford)\
**Replies:** 0\
**Last updated:** [November 21, 2005, 5:40pm UTC](https://www.ruby-forum.com/t/regular-expressions-and-ruby/48509 "2005-11-21T17:40:47Z")

</div>

Hi, I’m new to the list and I hope this is the right place to ask the question, but I recently started learning ruby and I was writing a short little program to test if a word was made up of symbols from the periodic …

---

## [OpenURI and not verifying self-signed certificates](https://www.ruby-forum.com/t/openuri-and-not-verifying-self-signed-certificates/48507)

<div class="topic-metadata">

**Author:** [@snowblink](https://www.ruby-forum.com/u/snowblink)\
**Replies:** 0\
**Last updated:** [November 21, 2005, 5:20pm UTC](https://www.ruby-forum.com/t/openuri-and-not-verifying-self-signed-certificates/48507 "2005-11-21T17:20:41Z")

</div>

Hi, How can I tell open-uri to not verify the certificate when I’m using SSL? Is there something nicer than hacking open-uri.rb? 235 #http.verify\_mode = OpenSSL::SSL::VERIFY\_PEER 236 http.verify\_mode = O…

---

## [Crash Course on Speed for Ruby](https://www.ruby-forum.com/t/crash-course-on-speed-for-ruby/48444)

<div class="topic-metadata">

**Author:** [@damphyr](https://www.ruby-forum.com/u/damphyr)\
**Replies:** 8\
**Last updated:** [November 21, 2005, 4:20pm UTC](https://www.ruby-forum.com/t/crash-course-on-speed-for-ruby/48444 "2005-11-21T16:20:03Z")

</div>

Well, we hold this once-a-month workshop at work to share knowledge about various tools and methods we use and we usually have three hours for a subject. Since me and a couple of my colleagues have used Ruby extensive…

---

## [Problems using ruby:libcrypto.so.0.9.8: open failed: No such](https://www.ruby-forum.com/t/problems-using-ruby-libcrypto-so-0-9-8-open-failed-no-such/48461)

<div class="topic-metadata">

**Author:** [@vshevde](https://www.ruby-forum.com/u/vshevde)\
**Replies:** 2\
**Last updated:** [November 21, 2005, 3:51pm UTC](https://www.ruby-forum.com/t/problems-using-ruby-libcrypto-so-0-9-8-open-failed-no-such/48461 "2005-11-21T15:51:51Z")

</div>

Hi, I wanted to request help on trying to resolve an error while running a rb script. I am a Java developer and also CVS admin for a development group.I have been wanting to try Ruby for a while,and when i came acro…

---

## [Gem help!](https://www.ruby-forum.com/t/gem-help/93286)

<div class="topic-metadata">

**Author:** [@ara.t.howard](https://www.ruby-forum.com/u/ara.t.howard)\
**Replies:** 2\
**Last updated:** [November 21, 2005, 3:39pm UTC](https://www.ruby-forum.com/t/gem-help/93286 "2005-11-21T15:39:47Z")

</div>

i have the somewhat standard lib dir hiearchy which looks like lib/ lib/foo.rb lib/foo/ lib/foo/a.rb lib/foo/b.rb here foo.rb obviously does a relative require of both foo/a.rb and foo/b.rb. my gemspec has somet…

---

## [Net::HTTP.get(...) not working (still)](https://www.ruby-forum.com/t/net-http-get-not-working-still/49049)

<div class="topic-metadata">

**Author:** [@michelle](https://www.ruby-forum.com/u/michelle)\
**Replies:** 1\
**Last updated:** [November 21, 2005, 3:31pm UTC](https://www.ruby-forum.com/t/net-http-get-not-working-still/49049 "2005-11-21T15:31:42Z")

</div>

Now that I’ve got my DNS back, I’m still getting the same basic error I had last time around, complaining: undefined method ‘line’ Help? def fromWeb(site, url) # get data from website h = Net::HTTP.new(site, 80) r…

---

## [Blocks - too close an association?](https://www.ruby-forum.com/t/blocks-too-close-an-association/48490)

<div class="topic-metadata">

**Author:** [@dharrigan](https://www.ruby-forum.com/u/dharrigan)\
**Replies:** 2\
**Last updated:** [November 21, 2005, 2:27pm UTC](https://www.ruby-forum.com/t/blocks-too-close-an-association/48490 "2005-11-21T14:27:13Z")

</div>

Hi, I’m getting my head around blocks, closures etc in Ruby - I’m from a Java background. Now, I’m reading the book “Programming Ruby - The Pragmatic Programmer’s Guide” and in the section titled “Blocks for Transact…

---

## [Create dynamic tests for Test::Unit](https://www.ruby-forum.com/t/create-dynamic-tests-for-test-unit/48431)

<div class="topic-metadata">

**Author:** [@achim.domma](https://www.ruby-forum.com/u/achim.domma)\
**Replies:** 2\
**Last updated:** [November 21, 2005, 12:01pm UTC](https://www.ruby-forum.com/t/create-dynamic-tests-for-test-unit/48431 "2005-11-21T12:01:47Z")

</div>

Hi, I have some experiences in generic programming in python and .Net but I’m quite new to ruby. I want to test a web app using watir. There are many forms with similar structure which have to be filled with data. So …

---

## [Dir](https://www.ruby-forum.com/t/dir/93285)

<div class="topic-metadata">

**Author:** [@wes.monk](https://www.ruby-forum.com/u/wes.monk)\
**Replies:** 6\
**Last updated:** [November 21, 2005, 10:44am UTC](https://www.ruby-forum.com/t/dir/93285 "2005-11-21T10:44:45Z")

</div>

Dir.foreach(“c:/wes/photos/Bike/\*.JPG”) {|x| puts “Got#{x}” } This does not seem to work on my windows xp machine? Should it? I am trying to get a list of files with the .JPG extension. If I take the \*.JPG out, I get…

---

## [Best OS for Ruby Dev/Best OS for Ruby Hosting](https://www.ruby-forum.com/t/best-os-for-ruby-dev-best-os-for-ruby-hosting/48354)

<div class="topic-metadata">

**Author:** [@rawn027](https://www.ruby-forum.com/u/rawn027)\
**Replies:** 21\
**Last updated:** [November 21, 2005, 9:07am UTC](https://www.ruby-forum.com/t/best-os-for-ruby-dev-best-os-for-ruby-hosting/48354 "2005-11-21T09:07:34Z")

</div>

Which is the best OS to use for ruby development…My vote goes to Mac OS X? What would be considered the best environment for hosting ruby and rails? Mac? FreeBSD? Gentoo?

---

## [Euchre Hands (#55)](https://www.ruby-forum.com/t/euchre-hands-55/93289)

<div class="topic-metadata">

**Author:** [@daniels](https://www.ruby-forum.com/u/daniels)\
**Replies:** 0\
**Last updated:** [November 21, 2005, 7:59am UTC](https://www.ruby-forum.com/t/euchre-hands-55/93289 "2005-11-21T07:59:10Z")

</div>

My Solution - unless a mail agent mangles it (happens with great frequency) class Card attr\_reader :suite, :value def initialize(string) @value = string\[0…-2\].upcase @suite = string\[-1…-1\].downcase end def to\_i …

---

## [Pipelined Processing](https://www.ruby-forum.com/t/pipelined-processing/48433)

<div class="topic-metadata">

**Author:** [@bob.news](https://www.ruby-forum.com/u/bob.news)\
**Replies:** 5\
**Last updated:** [November 21, 2005, 7:55am UTC](https://www.ruby-forum.com/t/pipelined-processing/48433 "2005-11-21T07:55:09Z")

</div>

Hi, this came up recently on IRC: question was how to chain processing so that each step runs concurrently to other steps. While I don’t see real benefit as long as there are no native threads in Ruby I played arou…

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

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