# Ruby

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

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

---

## [Including a config file into a local directory](https://www.ruby-forum.com/t/including-a-config-file-into-a-local-directory/86747)

<div class="topic-metadata">

**Author:** [@eddieroger](https://www.ruby-forum.com/u/eddieroger)\
**Replies:** 0\
**Last updated:** [February 25, 2007, 9:11am UTC](https://www.ruby-forum.com/t/including-a-config-file-into-a-local-directory/86747 "2007-02-25T09:11:17Z")

</div>

Hello group, I’m working on a library for accessing MediaWiki wikies through its new API, and I had a question about a config file and gem distribution. I’d like for my include to look in the working directory for a …

---

## [Installation problem uconv-0.4.12. plz help](https://www.ruby-forum.com/t/installation-problem-uconv-0-4-12-plz-help/86740)

<div class="topic-metadata">

**Author:** [@bonty](https://www.ruby-forum.com/u/bonty)\
**Replies:** 0\
**Last updated:** [February 25, 2007, 8:10am UTC](https://www.ruby-forum.com/t/installation-problem-uconv-0-4-12-plz-help/86740 "2007-02-25T08:10:25Z")

</div>

Hi guys, I need to install Unicode Conversion Module for Ruby version 0.4.12 by Yoshida Masato.I have followed the commands of the link inmy windows system http://www.yoshidam.net/uconv\_en.txt but when I use the comm…

---

## [Resize image](https://www.ruby-forum.com/t/resize-image/86669)

<div class="topic-metadata">

**Author:** [@jonathan](https://www.ruby-forum.com/u/jonathan)\
**Replies:** 6\
**Last updated:** [February 25, 2007, 6:36am UTC](https://www.ruby-forum.com/t/resize-image/86669 "2007-02-25T06:36:31Z")

</div>

Is there a way to resample(resize) images in ruby?

---

## [Xx-2.1.0](https://www.ruby-forum.com/t/xx-2-1-0/86728)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [February 25, 2007, 5:50am UTC](https://www.ruby-forum.com/t/xx-2-1-0/86728 "2007-02-25T05:50:01Z")

</div>

NAME xx SYNOPSIS xhtml and xml generation =\> twice as dirty! USAGE require “xx” include XX::XHTML doc = xhtml\_{ html\_{ head\_{ title\_{ " go xx! " } } body\_{ " one more and it would be illegal " } } } puts…

---

## [Ruby and COM](https://www.ruby-forum.com/t/ruby-and-com/86679)

<div class="topic-metadata">

**Author:** [@11x22](https://www.ruby-forum.com/u/11x22)\
**Replies:** 2\
**Last updated:** [February 25, 2007, 3:21am UTC](https://www.ruby-forum.com/t/ruby-and-com/86679 "2007-02-25T03:21:53Z")

</div>

Hmm… Does anyone know of a stable Ruby-COM bridge which will let one do things like importing DLLs, querying for interfaces and calling their methods? Is there anything stable available out there? Or at least a possib…

---

## [I am new one to Ruby can u help me](https://www.ruby-forum.com/t/i-am-new-one-to-ruby-can-u-help-me/86671)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [February 25, 2007, 1:54am UTC](https://www.ruby-forum.com/t/i-am-new-one-to-ruby-can-u-help-me/86671 "2007-02-25T01:54:48Z")

</div>

i m new one to this plat, now am working in php mysql. but i want to shift in to ruby . am not having single bit idea abt ruby . can u help me , how ca i learn ruby, how to write the code ,how differ from php/ mysql. …

---

## [Testing a query result](https://www.ruby-forum.com/t/testing-a-query-result/86697)

<div class="topic-metadata">

**Author:** [@mrom](https://www.ruby-forum.com/u/mrom)\
**Replies:** 4\
**Last updated:** [February 25, 2007, 1:09am UTC](https://www.ruby-forum.com/t/testing-a-query-result/86697 "2007-02-25T01:09:46Z")

</div>

Hello every body, It’s a very basic question, i want just to test if this query did return any result. @BookDetails = Book.find(params\[:id\]) I tried “nil”, but it seems that even if there isn’t any book with tha…

---

## [Great Ruby IDE -finally ?: Netbeans 6 M7](https://www.ruby-forum.com/t/great-ruby-ide-finally-netbeans-6-m7/86698)

<div class="topic-metadata">

**Author:** [@Markus\_Jais](https://www.ruby-forum.com/u/Markus_Jais)\
**Replies:** 2\
**Last updated:** [February 25, 2007, 12:35am UTC](https://www.ruby-forum.com/t/great-ruby-ide-finally-netbeans-6-m7/86698 "2007-02-25T00:35:44Z")

</div>

hi I just downloaded Netbeans 6 M7 and played with the new Ruby support. the first impression is really great. definitely something to try out. one link about this: http://cld.blog-city.com/cutting\_edge\_\_jruby\_suppor…

---

## [Threads within a thread](https://www.ruby-forum.com/t/threads-within-a-thread/86366)

<div class="topic-metadata">

**Author:** [@brad7a0](https://www.ruby-forum.com/u/brad7a0)\
**Replies:** 9\
**Last updated:** [February 24, 2007, 10:05pm UTC](https://www.ruby-forum.com/t/threads-within-a-thread/86366 "2007-02-24T22:05:26Z")

</div>

I have a program that uses threads to quickly check class B networks (65,536) hosts for public web servers. It works great. I’d like to check for other servers as well. Basically, I’ve got the hosts threaded. Now, I’…

---

## [00.01.class" error?](https://www.ruby-forum.com/t/00-01-class-error/86703)

<div class="topic-metadata">

**Author:** [@rubysharma](https://www.ruby-forum.com/u/rubysharma)\
**Replies:** 1\
**Last updated:** [February 24, 2007, 9:58pm UTC](https://www.ruby-forum.com/t/00-01-class-error/86703 "2007-02-24T21:58:25Z")

</div>

Hi, 0.1.class results in float. 00.1.class results in error? SyntaxError: compile error (irb):5: no . floating literal anymore; put 0 before dot 00.1class ^ (irb):5: syntax error 00.1class ^ from (irb):5 as …

---

## [Using step backward?](https://www.ruby-forum.com/t/using-step-backward/86696)

<div class="topic-metadata">

**Author:** [@Josselin](https://www.ruby-forum.com/u/Josselin)\
**Replies:** 6\
**Last updated:** [February 24, 2007, 9:51pm UTC](https://www.ruby-forum.com/t/using-step-backward/86696 "2007-02-24T21:51:25Z")

</div>

I have an array myArray = \[“22”, “31”, “56”, “89”, “47”\] I would like to produce a string like : “22#31#56#89\>47\<” where the last item must be : \>last\_item\< case 1 item : \[“22”\] =\> “\>22\<” case 2 it…

---

## [How can i determine the file type?](https://www.ruby-forum.com/t/how-can-i-determine-the-file-type/86670)

<div class="topic-metadata">

**Author:** [@Sasaki](https://www.ruby-forum.com/u/Sasaki)\
**Replies:** 4\
**Last updated:** [February 24, 2007, 8:27pm UTC](https://www.ruby-forum.com/t/how-can-i-determine-the-file-type/86670 "2007-02-24T20:27:09Z")

</div>

hi guys, How can i determine the file type? I have to do these actions: I have tor read all files from a directory and check them 2.after checking i have to read only the excel files. I have tried with the code… i…

---

## [Ruby Rake](https://www.ruby-forum.com/t/ruby-rake/86687)

<div class="topic-metadata">

**Author:** [@mdadarkar](https://www.ruby-forum.com/u/mdadarkar)\
**Replies:** 2\
**Last updated:** [February 24, 2007, 6:14pm UTC](https://www.ruby-forum.com/t/ruby-rake/86687 "2007-02-24T18:14:56Z")

</div>

Hi, “make” has a -e option in which it reads environment variables and uses those values for variables defined in the makefile. For e.g. enviroment variable CC=cc -g can be used with make -e to get a debug build. Is …

---

## [Swiss Ruby User Group Meeting on 1.3.2007](https://www.ruby-forum.com/t/swiss-ruby-user-group-meeting-on-1-3-2007/86688)

<div class="topic-metadata">

**Author:** [@Jens-Christian\_F](https://www.ruby-forum.com/u/Jens-Christian_F)\
**Replies:** 0\
**Last updated:** [February 24, 2007, 5:26pm UTC](https://www.ruby-forum.com/t/swiss-ruby-user-group-meeting-on-1-3-2007/86688 "2007-02-24T17:26:50Z")

</div>

The SwissRUG is meeting again on 1.3.2007, 19:30 at Ergon Informatik AG in Zürich. See the website1 for details and a plan on how to get there. We’ll have some presentations (a project and “refactoring ruby with RDT”…

---

## [Maven for ruby?](https://www.ruby-forum.com/t/maven-for-ruby/86652)

<div class="topic-metadata">

**Author:** [@chillexistence](https://www.ruby-forum.com/u/chillexistence)\
**Replies:** 8\
**Last updated:** [February 24, 2007, 5:04pm UTC](https://www.ruby-forum.com/t/maven-for-ruby/86652 "2007-02-24T17:04:47Z")

</div>

Hello, I come from the Java world and really enjoyed using maven: http://maven.apache.org/ The big pluses maven gave us were: Easily maintain version numbers for projects. Maven would start you at 1.0 and after eac…

---

## [Ruby on rails and rails are same](https://www.ruby-forum.com/t/ruby-on-rails-and-rails-are-same/86676)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [February 24, 2007, 4:32pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-and-rails-are-same/86676 "2007-02-24T16:32:45Z")

</div>

can u clear my doubt ruby on rails and rails are smae or not i got the softawre from http://rubyforge.org/frs/?group\_id=167 to click ruby185-24.exe 22.75 MB 6,468 i386 .exe (Windows executable) to download …

---

## [Dot matrix and Ruby!](https://www.ruby-forum.com/t/dot-matrix-and-ruby/86678)

<div class="topic-metadata">

**Author:** [@GugSSSSo](https://www.ruby-forum.com/u/GugSSSSo)\
**Replies:** 1\
**Last updated:** [February 24, 2007, 1:01pm UTC](https://www.ruby-forum.com/t/dot-matrix-and-ruby/86678 "2007-02-24T13:01:14Z")

</div>

Hi all, IÂ´d like to do a class to print into a lx-300 printer ! i would send parameters like, coordenates X,Y, condensed, draft, roman etc. I have the printerÂ´s manual, Is there a command in pure Ruby to send or red…

---

## [Blocking ruby threads](https://www.ruby-forum.com/t/blocking-ruby-threads/86656)

<div class="topic-metadata">

**Author:** [@snacktime](https://www.ruby-forum.com/u/snacktime)\
**Replies:** 1\
**Last updated:** [February 24, 2007, 11:01am UTC](https://www.ruby-forum.com/t/blocking-ruby-threads/86656 "2007-02-24T11:01:03Z")

</div>

I’ve read a lot of bits and pieces in the past but maybe someone can help me finalize my thoughts here or correct me where I am wrong. From my understanding ruby threads will not block unless you are calling out to a …

---

## [TextMate book now available](https://www.ruby-forum.com/t/textmate-book-now-available/86667)

<div class="topic-metadata">

**Author:** [@dirtytree](https://www.ruby-forum.com/u/dirtytree)\
**Replies:** 0\
**Last updated:** [February 24, 2007, 8:28am UTC](https://www.ruby-forum.com/t/textmate-book-now-available/86667 "2007-02-24T08:28:48Z")

</div>

I’ll keep this short, because I don’t need to say much :slight\_smile: James Edward G. II’s TextMate book is now available from all the usual places. You can get it direct from us if you’d like (http:// www.pragmaticpr…

---

## [OpenSSL , SOAP4R](https://www.ruby-forum.com/t/openssl-soap4r/86458)

<div class="topic-metadata">

**Author:** [@zemariamm](https://www.ruby-forum.com/u/zemariamm)\
**Replies:** 6\
**Last updated:** [February 24, 2007, 7:04am UTC](https://www.ruby-forum.com/t/openssl-soap4r/86458 "2007-02-24T07:04:27Z")

</div>

Hi guys, Does someone knows how to use certificates with SOAP::WSDLDriverFactory ? for example, to generate a driver from a url like: https://some.com/something.wsl Tks in advance Ze Maria

---

## [Tcl interface](https://www.ruby-forum.com/t/tcl-interface/86606)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 6\
**Last updated:** [February 24, 2007, 4:01am UTC](https://www.ruby-forum.com/t/tcl-interface/86606 "2007-02-24T04:01:47Z")

</div>

I’m running ruby on a kubuntu dapper installation. I compiled ruby from source for the installation. I just tried starting an application using the ‘tcl’ interface. Problem: when I use require ‘tcl’, I get an error me…

---

## [Ext/racc/cparse.c - goto\_pointer $B$rJ#?t2s(B mark](https://www.ruby-forum.com/t/ext-racc-cparse-c-goto-pointer-b-rj-t2s-b-mark/86649)

<div class="topic-metadata">

**Author:** [@Tomoyuki\_C](https://www.ruby-forum.com/u/Tomoyuki_C)\
**Replies:** 1\
**Last updated:** [February 24, 2007, 2:44am UTC](https://www.ruby-forum.com/t/ext-racc-cparse-c-goto-pointer-b-rj-t2s-b-mark/86649 "2007-02-24T02:44:27Z")

</div>

e$BF|K%3%s%H%m!\<%k%7%9%F%\`e(B(e$B3te(B)e$B$N6a1J$H?=$7$^$9!#e(B e$B$h$m$7$/$\*4j$$$7$^$9!#e(B \[ruby-dev:30404\] e$B$GJs9p$7$?e(B SEGV e$B$ND4::$NESCf$G!"e(B ext/racc/cparse/cparse.c e$B$rFI$s$G$$$k;~$K!"e(B cparse\_para…

---

## [Newbie question about benchmarking](https://www.ruby-forum.com/t/newbie-question-about-benchmarking/86650)

<div class="topic-metadata">

**Author:** [@Stephen\_E\_Riley](https://www.ruby-forum.com/u/Stephen_E_Riley)\
**Replies:** 0\
**Last updated:** [February 24, 2007, 2:30am UTC](https://www.ruby-forum.com/t/newbie-question-about-benchmarking/86650 "2007-02-24T02:30:25Z")

</div>

Hi, I’m trying one of Dave T.’ CodeKanta exercises (binary chop) and am curious about the benchmarking results, in particular the rehearsal/final results for chop and chop1. The relationship is consistent over multi…

---

## [Popen and bzip2](https://www.ruby-forum.com/t/popen-and-bzip2/86646)

<div class="topic-metadata">

**Author:** [@dawillis](https://www.ruby-forum.com/u/dawillis)\
**Replies:** 1\
**Last updated:** [February 24, 2007, 1:59am UTC](https://www.ruby-forum.com/t/popen-and-bzip2/86646 "2007-02-24T01:59:56Z")

</div>

pipe = IO.popen(‘bzip2 -cd /home/dave/article.xml.bz2’, ‘r’) always gives me: bzip2: I/O or other error, bailing out. Possible reason follows. bzip2: Broken pipe Input file = /home/dave/article.xml.bz2, output file …

---

## [External function calls?](https://www.ruby-forum.com/t/external-function-calls/86627)

<div class="topic-metadata">

**Author:** [@kyle\_s](https://www.ruby-forum.com/u/kyle_s)\
**Replies:** 1\
**Last updated:** [February 23, 2007, 10:31pm UTC](https://www.ruby-forum.com/t/external-function-calls/86627 "2007-02-23T22:31:06Z")

</div>

Hey all, is there a generic way to make external function from ruby? I know I can write specific c code as a ruby module and use it, and I know I can use that inline-c stuff, but what I want is a way to use existing …

---

## [Will it save memory if I keep using one instance name?](https://www.ruby-forum.com/t/will-it-save-memory-if-i-keep-using-one-instance-name/86619)

<div class="topic-metadata">

**Author:** [@a\_a](https://www.ruby-forum.com/u/a_a)\
**Replies:** 1\
**Last updated:** [February 23, 2007, 10:14pm UTC](https://www.ruby-forum.com/t/will-it-save-memory-if-i-keep-using-one-instance-name/86619 "2007-02-23T22:14:02Z")

</div>

All all! I’m a newbie here, please look my example code: r = Page.find :all, :conditions =\> “is\_default = ‘true’” assert\_equal 1, r.length r = Page.create NEW\_INSTANCE\_DATA assert !r.new\_record? r = Page.find :first…

---

## [Fosdem](https://www.ruby-forum.com/t/fosdem/86623)

<div class="topic-metadata">

**Author:** [@tbobker](https://www.ruby-forum.com/u/tbobker)\
**Replies:** 0\
**Last updated:** [February 23, 2007, 9:11pm UTC](https://www.ruby-forum.com/t/fosdem/86623 "2007-02-23T21:11:51Z")

</div>

Hi all, my apologies if this is more than slightly offtopic. I just arrived in Brussels for FOSDEM (www.fosdem.org) and though unfortunately there’s no Ruby track this year, I was wondering if there’s any Rubyists her…

---

## [Gem command problem](https://www.ruby-forum.com/t/gem-command-problem/86595)

<div class="topic-metadata">

**Author:** [@dave](https://www.ruby-forum.com/u/dave)\
**Replies:** 1\
**Last updated:** [February 23, 2007, 8:35pm UTC](https://www.ruby-forum.com/t/gem-command-problem/86595 "2007-02-23T20:35:48Z")

</div>

Hi there, im new to ruby on rails, every time i run the gem command i get the error: while executing gem…(NoMethodError) I tried installing a gem and then i tried to list all remote gems and got the same error, Any …

---

## [Many failures in make check (Ruby 1.8.5 p12)](https://www.ruby-forum.com/t/many-failures-in-make-check-ruby-1-8-5-p12/86609)

<div class="topic-metadata">

**Author:** [@Ismail\_DSSSSnmez](https://www.ruby-forum.com/u/Ismail_DSSSSnmez)\
**Replies:** 0\
**Last updated:** [February 23, 2007, 6:49pm UTC](https://www.ruby-forum.com/t/many-failures-in-make-check-ruby-1-8-5-p12/86609 "2007-02-23T18:49:27Z")

</div>

Hi all, I downloaded and compile Ruby 1.8.5 p12 with gcc 4.2 and make check resulted in this: 1608 tests, 15867 assertions, 16 failures, 30 errors Not the chew up anyone’s bandwidth I uploaded it to http://cekirdek…

---

## [Overloading in ruby](https://www.ruby-forum.com/t/overloading-in-ruby/86592)

<div class="topic-metadata">

**Author:** [@tkejzlar](https://www.ruby-forum.com/u/tkejzlar)\
**Replies:** 3\
**Last updated:** [February 23, 2007, 6:47pm UTC](https://www.ruby-forum.com/t/overloading-in-ruby/86592 "2007-02-23T18:47:27Z")

</div>

Hi, I’ve been doing some Ruby code interfacing with Windows COM objects and I’ve ran into this problem: I have a COM object method say object.Value(name) which - when i call it with appropriate “name” value returns s…

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

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