# Ruby

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

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

---

## [Trying to run an external exe file in ruby](https://www.ruby-forum.com/t/trying-to-run-an-external-exe-file-in-ruby/151230)

<div class="topic-metadata">

**Author:** [@mooneater](https://www.ruby-forum.com/u/mooneater)\
**Replies:** 2\
**Last updated:** [October 19, 2008, 3:24am UTC](https://www.ruby-forum.com/t/trying-to-run-an-external-exe-file-in-ruby/151230 "2008-10-19T03:24:24Z")

</div>

Hi chaps, I’m trying to write a little script that can run several programs after eacht other. currently I have this: require "ftools" maxAlpha = 1.0 \* 1/10 name3 = "MaxAlpha\_"+ maxAlpha.to\_s target = name3 value =…

---

## [Uncompress tar.gz](https://www.ruby-forum.com/t/uncompress-tar-gz/151242)

<div class="topic-metadata">

**Author:** [@Kless](https://www.ruby-forum.com/u/Kless)\
**Replies:** 4\
**Last updated:** [October 19, 2008, 2:05am UTC](https://www.ruby-forum.com/t/uncompress-tar-gz/151242 "2008-10-19T02:05:45Z")

</div>

Which is the best way to uncompress a ‘tar.gz’ file since Ruby?

---

## [Launch ruby script from Quicksilver](https://www.ruby-forum.com/t/launch-ruby-script-from-quicksilver/151259)

<div class="topic-metadata">

**Author:** [@hirodusk](https://www.ruby-forum.com/u/hirodusk)\
**Replies:** 5\
**Last updated:** [October 19, 2008, 1:13am UTC](https://www.ruby-forum.com/t/launch-ruby-script-from-quicksilver/151259 "2008-10-19T01:13:58Z")

</div>

Hello, I was wondering if anybody knew how to launch a ruby script from quicksilver? Ideally, i would like to enter text mode of quicksilver, enter some text to be passed as an argument and run the ruby script w/ th…

---

## [\[Bug #659\] Math.lgamma not defined in -rcomplex](https://www.ruby-forum.com/t/bug-659-math-lgamma-not-defined-in-rcomplex/151251)

<div class="topic-metadata">

**Author:** [@Shyouhei\_U](https://www.ruby-forum.com/u/Shyouhei_U)\
**Replies:** 1\
**Last updated:** [October 19, 2008, 12:47am UTC](https://www.ruby-forum.com/t/bug-659-math-lgamma-not-defined-in-rcomplex/151251 "2008-10-19T00:47:58Z")

</div>

Bug #659: Math.lgamma not defined in -rcomplex http://redmine.ruby-lang.org/issues/show/659 e$B5/I\<\<Te(B: Shyouhei U. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$BC4Ev\<Te(B: Yukihiro M., e$B%+%F%4%je(B: lib compl…

---

## [Smpp](https://www.ruby-forum.com/t/smpp/148114)

<div class="topic-metadata">

**Author:** [@pixel75](https://www.ruby-forum.com/u/pixel75)\
**Replies:** 5\
**Last updated:** [October 18, 2008, 11:48pm UTC](https://www.ruby-forum.com/t/smpp/148114 "2008-10-18T23:48:01Z")

</div>

does anyone have some experience with SMPP in Ruby? I’ve to post SMS to a gateway using SMPP but I don’t find out any example in ruby. thank you very much. d.

---

## [Record and analyze sound from mic](https://www.ruby-forum.com/t/record-and-analyze-sound-from-mic/151239)

<div class="topic-metadata">

**Author:** [@sandro\_p](https://www.ruby-forum.com/u/sandro_p)\
**Replies:** 1\
**Last updated:** [October 18, 2008, 9:27pm UTC](https://www.ruby-forum.com/t/record-and-analyze-sound-from-mic/151239 "2008-10-18T21:27:10Z")

</div>

Hello I’m looking for someone who had already tried (or, at least, has some ideas about how to do it) to record sounds from the mic port using Ruby. Plus I’m also looking for a gem that can help me read and operate o…

---

## [Handling invalid options with OptionParser](https://www.ruby-forum.com/t/handling-invalid-options-with-optionparser/151245)

<div class="topic-metadata">

**Author:** [@tcm614ce](https://www.ruby-forum.com/u/tcm614ce)\
**Replies:** 3\
**Last updated:** [October 18, 2008, 8:50pm UTC](https://www.ruby-forum.com/t/handling-invalid-options-with-optionparser/151245 "2008-10-18T20:50:06Z")

</div>

Hi there, I wrote my own Wake on Lan Script in ruby that uses a Plist to look up either target Mac address by selected printer or target MAC address by server and I use option parser for this. It all works fine if th…

---

## [Hiding default console window](https://www.ruby-forum.com/t/hiding-default-console-window/151221)

<div class="topic-metadata">

**Author:** [@matmarex](https://www.ruby-forum.com/u/matmarex)\
**Replies:** 3\
**Last updated:** [October 18, 2008, 8:31pm UTC](https://www.ruby-forum.com/t/hiding-default-console-window/151221 "2008-10-18T20:31:55Z")

</div>

I wrote simple Ruby console program that reads file, modifies it in way that’s not important now, and saves it back. It’s called by other program few hundred times, and every time console winodw appears, what disturbs…

---

## [Low level syntax highlighting tools?](https://www.ruby-forum.com/t/low-level-syntax-highlighting-tools/151231)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 4\
**Last updated:** [October 18, 2008, 6:45pm UTC](https://www.ruby-forum.com/t/low-level-syntax-highlighting-tools/151231 "2008-10-18T18:45:05Z")

</div>

I’ll confess I didn’t research this deeply, in hopes that someone knows of a library and can point me right at it. Are there any syntax gems out there that’ll spit back simple strings and color values, something like…

---

## [Improve my github hack!](https://www.ruby-forum.com/t/improve-my-github-hack/151238)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 0\
**Last updated:** [October 18, 2008, 6:43pm UTC](https://www.ruby-forum.com/t/improve-my-github-hack/151238 "2008-10-18T18:43:54Z")

</div>

I just wrote a simple (and probably dirty) hack for making it a tiny bit easier to vendor libs found on github. (Or if you prefer to read it through my blaag: http://blog.majesticseacreature.com/archives/2008.10/moo…

---

## [A Ruby block question](https://www.ruby-forum.com/t/a-ruby-block-question/151061)

<div class="topic-metadata">

**Author:** [@davidtl](https://www.ruby-forum.com/u/davidtl)\
**Replies:** 22\
**Last updated:** [October 18, 2008, 6:39pm UTC](https://www.ruby-forum.com/t/a-ruby-block-question/151061 "2008-10-18T18:39:01Z")

</div>

I am in need of making a method that accepts a block. It basicly needs to do the following: The method it self should output some content first. Then after that content it should output the content defined in &block. …

---

## [Call to sudo](https://www.ruby-forum.com/t/call-to-sudo/151227)

<div class="topic-metadata">

**Author:** [@Kless](https://www.ruby-forum.com/u/Kless)\
**Replies:** 6\
**Last updated:** [October 18, 2008, 5:55pm UTC](https://www.ruby-forum.com/t/call-to-sudo/151227 "2008-10-18T17:55:48Z")

</div>

Is possible to call to sudo before of run a ruby statement (for that can be run that statement)?

---

## [Microsoft.Scripting.ExtensionAttribute](https://www.ruby-forum.com/t/microsoft-scripting-extensionattribute/151213)

<div class="topic-metadata">

**Author:** [@acampos](https://www.ruby-forum.com/u/acampos)\
**Replies:** 2\
**Last updated:** [October 18, 2008, 5:08pm UTC](https://www.ruby-forum.com/t/microsoft-scripting-extensionattribute/151213 "2008-10-18T17:08:24Z")

</div>

Hi All, I’m attempting to build from Trunk but am having a problem with assembly references. The main projects are referencing a Microsoft.Scripting.ExtensionAttribute assembly that doesn’t seem to be in svn. The ob…

---

## [\[Bug #601\] an instance of Bignum can have singleton methods](https://www.ruby-forum.com/t/bug-601-an-instance-of-bignum-can-have-singleton-methods/149505)

<div class="topic-metadata">

**Author:** [@Yuki\_S](https://www.ruby-forum.com/u/Yuki_S)\
**Replies:** 2\
**Last updated:** [October 18, 2008, 12:47pm UTC](https://www.ruby-forum.com/t/bug-601-an-instance-of-bignum-can-have-singleton-methods/149505 "2008-10-18T12:47:26Z")

</div>

Bug #601: an instance of Bignum can have singleton methods http://redmine.ruby-lang.org/issues/show/601 e$B5/I\<\<Te(B: Yuki S. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B%+%F%4%je(B: core Bignume$B$N%$%s%9%?%s%9…

---

## [Shoes GUI - downloading site, using reg exs on body](https://www.ruby-forum.com/t/shoes-gui-downloading-site-using-reg-exs-on-body/151100)

<div class="topic-metadata">

**Author:** [@doubleminus](https://www.ruby-forum.com/u/doubleminus)\
**Replies:** 6\
**Last updated:** [October 18, 2008, 11:16am UTC](https://www.ruby-forum.com/t/shoes-gui-downloading-site-using-reg-exs-on-body/151100 "2008-10-18T11:16:42Z")

</div>

So I want my app to download the text of a site’s body (easy) and then I want to use regular expressions to pick out chunks of text. In my very limited skills/knowledge, I’ve had a hard time getting this working. I’v…

---

## [Validating multiple contents](https://www.ruby-forum.com/t/validating-multiple-contents/151131)

<div class="topic-metadata">

**Author:** [@balavrscse](https://www.ruby-forum.com/u/balavrscse)\
**Replies:** 3\
**Last updated:** [October 18, 2008, 10:32am UTC](https://www.ruby-forum.com/t/validating-multiple-contents/151131 "2008-10-18T10:32:15Z")

</div>

Hi If we want to validate result page with single text content we will use ie.text.include?(" Particular content ") suppose if i want to validate page with multiple content like German rails …

---

## [Marathon supports JRuby now](https://www.ruby-forum.com/t/marathon-supports-jruby-now/151215)

<div class="topic-metadata">

**Author:** [@headius](https://www.ruby-forum.com/u/headius)\
**Replies:** 0\
**Last updated:** [October 18, 2008, 8:22am UTC](https://www.ruby-forum.com/t/marathon-supports-jruby-now/151215 "2008-10-18T08:22:58Z")

</div>

Forwarding message on from one of the Marathon devs… -------- Original Message -------- Subject: Marathon supports JRuby now Date: Sat, 18 Oct 2008 10:49:57 +0530 From: Dakshinamurthy K. removed\_email\_address@domain.…

---

## [Code Review: Blocks](https://www.ruby-forum.com/t/code-review-blocks/151200)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 1\
**Last updated:** [October 18, 2008, 5:47am UTC](https://www.ruby-forum.com/t/code-review-blocks/151200 "2008-10-18T05:47:28Z")

</div>

tfpt review “/shelveset:Blocks;REDMOND\\tomat” Ruby: Avoids creating lists of expressions and block expressions, optimizes block creation in AstFactory (which improves Rails startup time by about 5s). DLR: Optimizes…

---

## [Soma - send snippets from vim to irb](https://www.ruby-forum.com/t/soma-send-snippets-from-vim-to-irb/151207)

<div class="topic-metadata">

**Author:** [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Replies:** 0\
**Last updated:** [October 18, 2008, 3:38am UTC](https://www.ruby-forum.com/t/soma-send-snippets-from-vim-to-irb/151207 "2008-10-18T03:38:50Z")

</div>

Cool project that got mentioned on reddit: http://trueaffection.net/post/55082660/we-aint-got-slime-but-we-got-something martin

---

## [Monitoring JRuby](https://www.ruby-forum.com/t/monitoring-jruby/151173)

<div class="topic-metadata">

**Author:** [@princenamor](https://www.ruby-forum.com/u/princenamor)\
**Replies:** 2\
**Last updated:** [October 18, 2008, 2:23am UTC](https://www.ruby-forum.com/t/monitoring-jruby/151173 "2008-10-18T02:23:57Z")

</div>

Hi all, Believe it or not a very large company that starts with an A and ends with an e (ssh!) is considering using JRuby internally and they have some questions for the crazy guy me who is pushing it. Our IT depart…

---

## [Code Review: IronRails2](https://www.ruby-forum.com/t/code-review-ironrails2/151182)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 10\
**Last updated:** [October 17, 2008, 11:54pm UTC](https://www.ruby-forum.com/t/code-review-ironrails2/151182 "2008-10-17T23:54:46Z")

</div>

tfpt review “/shelveset:IronRails2;REDMOND\\tomat” Contains a simple change in DLR. Ruby changes: Improves IronRails - switches to IIS7 integrated mode, adds a log, implements static file handling. Updates Ruby HAPI. …

---

## [Readline and conditional tab results based on input](https://www.ruby-forum.com/t/readline-and-conditional-tab-results-based-on-input/143367)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 7\
**Last updated:** [October 17, 2008, 11:34pm UTC](https://www.ruby-forum.com/t/readline-and-conditional-tab-results-based-on-input/143367 "2008-10-17T23:34:42Z")

</div>

Hi there, is there a way to “find out” what a user already typed in readline? Reason is, i am fetching user input like so: user\_input = Readline.readline(’ Input name of a dir, then press '+"\\n",true) And with Readl…

---

## [Prawn 0.2.1, 0.2.2 (Fast, nimble PDF generator for Ruby)](https://www.ruby-forum.com/t/prawn-0-2-1-0-2-2-fast-nimble-pdf-generator-for-ruby/151187)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 0\
**Last updated:** [October 17, 2008, 9:09pm UTC](https://www.ruby-forum.com/t/prawn-0-2-1-0-2-2-fast-nimble-pdf-generator-for-ruby/151187 "2008-10-17T21:09:31Z")

</div>

Hi folks, A new release of Prawn is out, with some bug fixes and a couple backported features from edge. This release is API-compatible with 0.2.0, so please do upgrade! Release notes at: http://blog.majesticseacrea…

---

## [Password field in Shoes?](https://www.ruby-forum.com/t/password-field-in-shoes/151072)

<div class="topic-metadata">

**Author:** [@mitkok](https://www.ruby-forum.com/u/mitkok)\
**Replies:** 2\
**Last updated:** [October 17, 2008, 8:48pm UTC](https://www.ruby-forum.com/t/password-field-in-shoes/151072 "2008-10-17T20:48:49Z")

</div>

Hi, guys. Just wondering how to make edit\_line/box for password hiding ? Thanks in advance. Mitko K…

---

## [Statistic quantile formula or class needed](https://www.ruby-forum.com/t/statistic-quantile-formula-or-class-needed/151009)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [October 17, 2008, 6:37pm UTC](https://www.ruby-forum.com/t/statistic-quantile-formula-or-class-needed/151009 "2008-10-17T18:37:30Z")

</div>

Hi, I am searching for a ruby class/method to calculate quantile statistics. Does anyone know or have a solution for me? Thanks in advance, neuholger

---

## [RSA public\_encrypt bug?](https://www.ruby-forum.com/t/rsa-public-encrypt-bug/151153)

<div class="topic-metadata">

**Author:** [@dani](https://www.ruby-forum.com/u/dani)\
**Replies:** 5\
**Last updated:** [October 17, 2008, 6:05pm UTC](https://www.ruby-forum.com/t/rsa-public-encrypt-bug/151153 "2008-10-17T18:05:37Z")

</div>

Hi, I’m trying to encrypt some data with an RSA public key, this is the code which is failing: require ‘openssl’ f=File.open(‘public\_key.txt’) rsa = OpenSSL::PKey::RSA rsa.n = OpenSSL::BN.new f.gets rsa.e = OpenS…

---

## [Help! JPEG marker not found!](https://www.ruby-forum.com/t/help-jpeg-marker-not-found/151142)

<div class="topic-metadata">

**Author:** [@min\_e](https://www.ruby-forum.com/u/min_e)\
**Replies:** 2\
**Last updated:** [October 17, 2008, 1:47pm UTC](https://www.ruby-forum.com/t/help-jpeg-marker-not-found/151142 "2008-10-17T13:47:31Z")

</div>

I’ve installed “image\_size” gem and I get a error message with some jpg files. I have a code like this: filejpg = File.read(“img.jpg”) img = ImageSize.new( filejpg ) With some jpg files it works right, but with some…

---

## [Embedding Ruby in BlitzMAX](https://www.ruby-forum.com/t/embedding-ruby-in-blitzmax/151158)

<div class="topic-metadata">

**Author:** [@yankees26](https://www.ruby-forum.com/u/yankees26)\
**Replies:** 0\
**Last updated:** [October 17, 2008, 1:31pm UTC](https://www.ruby-forum.com/t/embedding-ruby-in-blitzmax/151158 "2008-10-17T13:31:32Z")

</div>

Hi, I’m looking to embed the Ruby language as a scripting engine within a game engine written in BlitzMAX. I’ve tried to do it with the normal Ruby source but I can’t get the source to compile on my Mac or Windows P…

---

## [Socket recv or gets?](https://www.ruby-forum.com/t/socket-recv-or-gets/151137)

<div class="topic-metadata">

**Author:** [@jamal](https://www.ruby-forum.com/u/jamal)\
**Replies:** 5\
**Last updated:** [October 17, 2008, 1:25pm UTC](https://www.ruby-forum.com/t/socket-recv-or-gets/151137 "2008-10-17T13:25:38Z")

</div>

Hello there, I wonder whats the difference between these methods ( gets and recv ) loop { data = current\_client.recv(100) puts data } When I use “gets” instead of recv my socket connection stops and never print ou…

---

## [Scientific Ruby Programmer - opening at APEC Climate Center](https://www.ruby-forum.com/t/scientific-ruby-programmer-opening-at-apec-climate-center/151157)

<div class="topic-metadata">

**Author:** [@Saji\_NSHameed](https://www.ruby-forum.com/u/Saji_NSHameed)\
**Replies:** 0\
**Last updated:** [October 17, 2008, 1:19pm UTC](https://www.ruby-forum.com/t/scientific-ruby-programmer-opening-at-apec-climate-center/151157 "2008-10-17T13:19:12Z")

</div>

Dear List, We are looking for an entry level Data specialist with good skills in Ruby and scientific programming. If interested please see http://210.98.49.34:1919/misc (APCC is situated in Korea - more info at http:…

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

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