# Ruby

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

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

---

## [MacRuby 0.6](https://www.ruby-forum.com/t/macruby-0-6/188002)

<div class="topic-metadata">

**Author:** [@Laurent\_S](https://www.ruby-forum.com/u/Laurent_S)\
**Replies:** 2\
**Last updated:** [August 20, 2010, 4:08pm UTC](https://www.ruby-forum.com/t/macruby-0-6/188002 "2010-08-20T16:08:00Z")

</div>

Hi, After 3 months of development since the last release, MacRuby 0.6 is now available. Get it here while it’s still hot! MacRuby is an implementation of Ruby 1.9 directly on top of Mac OS X core technologies such as…

---

## [RINDA Probem](https://www.ruby-forum.com/t/rinda-probem/193610)

<div class="topic-metadata">

**Author:** [@slayer](https://www.ruby-forum.com/u/slayer)\
**Replies:** 2\
**Last updated:** [August 20, 2010, 3:20pm UTC](https://www.ruby-forum.com/t/rinda-probem/193610 "2010-08-20T15:20:45Z")

</div>

Hi guys, can you help to understand? I’m sure that i’m making a big mistake but i can’t see it.Now i’m trying to implement the producer/consumer algorithm.I created a server class that will start a threaded server rin…

---

## [Aws S3object exists? method](https://www.ruby-forum.com/t/aws-s3object-exists-method/193611)

<div class="topic-metadata">

**Author:** [@brijesh](https://www.ruby-forum.com/u/brijesh)\
**Replies:** 0\
**Last updated:** [August 20, 2010, 2:00pm UTC](https://www.ruby-forum.com/t/aws-s3object-exists-method/193611 "2010-08-20T14:00:34Z")

</div>

Hi All through S3Obejct , I am trying to check whether file is exists or not on Amazone. When I try to check with .mp3 file , it always return true even if it is not exists there. AWS::S3::S3Object.exists?(“files/ba…

---

## [Function call using reflection](https://www.ruby-forum.com/t/function-call-using-reflection/193606)

<div class="topic-metadata">

**Author:** [@raj\_plays](https://www.ruby-forum.com/u/raj_plays)\
**Replies:** 3\
**Last updated:** [August 20, 2010, 1:53pm UTC](https://www.ruby-forum.com/t/function-call-using-reflection/193606 "2010-08-20T13:53:55Z")

</div>

Hi, I get each part of the following command in a string at runtime Mod1::Util.parser1(“log.txt”) So I have the following strings: s1 = “Mod1” s2 = “Util” s3 = “parser1” s4 = “log.txt” Now I want to prepare the c…

---

## [Eyewitness account of an 8-year old Girl](https://www.ruby-forum.com/t/eyewitness-account-of-an-8-year-old-girl/193607)

<div class="topic-metadata">

**Author:** [@hduyewjhf](https://www.ruby-forum.com/u/hduyewjhf)\
**Replies:** 0\
**Last updated:** [August 20, 2010, 1:03pm UTC](https://www.ruby-forum.com/t/eyewitness-account-of-an-8-year-old-girl/193607 "2010-08-20T13:03:12Z")

</div>

Eyewitness account of an 8-year old Girl 1 To start listening to the Eyewitness account of an 8 – year old Girl – (English version), click here; 2. Special Videos: Muslims meet Jesus Christ, Just clicking…

---

## [Method mixin?](https://www.ruby-forum.com/t/method-mixin/193585)

<div class="topic-metadata">

**Author:** [@opti900](https://www.ruby-forum.com/u/opti900)\
**Replies:** 1\
**Last updated:** [August 20, 2010, 7:46am UTC](https://www.ruby-forum.com/t/method-mixin/193585 "2010-08-20T07:46:30Z")

</div>

Just wonder is there any way to inject a bunch of code into an instance method, just like how a module can be used as a mixin to a class?

---

## [Valgrind and test/ruby/test\_regexp.rb](https://www.ruby-forum.com/t/valgrind-and-test-ruby-test-regexp-rb/193588)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 0\
**Last updated:** [August 20, 2010, 6:08am UTC](https://www.ruby-forum.com/t/valgrind-and-test-ruby-test-regexp-rb/193588 "2010-08-20T06:08:10Z")

</div>

e$B$J$s$+!“e(Btest/ruby/test\_regexp.rb e$B$re(B valgrind e$B2\<$GF0$+$9$He(B e$B$?$/$5$sJ86g$r8@$o$l$k$s$G$9$,!”$I$&$J$s$G$9$+$M!#e(B % ./ruby -v ruby 1.9.3dev (2010-08-20 trunk 29059) \[x86\_64-linux\] % valgrind ./rub…

---

## [Is there any clever way to encode the uuid string with base64?](https://www.ruby-forum.com/t/is-there-any-clever-way-to-encode-the-uuid-string-with-base64/193561)

<div class="topic-metadata">

**Author:** [@Cyril.Liu](https://www.ruby-forum.com/u/Cyril.Liu)\
**Replies:** 4\
**Last updated:** [August 20, 2010, 5:09am UTC](https://www.ruby-forum.com/t/is-there-any-clever-way-to-encode-the-uuid-string-with-base64/193561 "2010-08-20T05:09:04Z")

</div>

I’ve got the uuid string using uuid.rb just like this: ree-1.8.7-2010.02 \> uuid = UUID.new() =\> MAC: 34:15:9e:33:f8:3c Sequence: 19368 ree-1.8.7-2010.02 \> uuid.generate(:compact) =\> “d52553808dda012d4ba834159e33f83c…

---

## [Win32::Screenshot 0.0.7](https://www.ruby-forum.com/t/win32-screenshot-0-0-7/193506)

<div class="topic-metadata">

**Author:** [@juuser](https://www.ruby-forum.com/u/juuser)\
**Replies:** 1\
**Last updated:** [August 20, 2010, 1:45am UTC](https://www.ruby-forum.com/t/win32-screenshot-0-0-7/193506 "2010-08-20T01:45:59Z")

</div>

Hello! A new version of Win32::Screenshot got released! = 0.0.7 2010-08-18 Supports now fully JRuby, 1.9.1 and 1.9.2 MRI! Install with: gem install win32screenshot You can read more from GitHub @ GitHub - jarmo/wi…

---

## [Ruby Installation Help](https://www.ruby-forum.com/t/ruby-installation-help/193580)

<div class="topic-metadata">

**Author:** [@Brian\_Nicar](https://www.ruby-forum.com/u/Brian_Nicar)\
**Replies:** 1\
**Last updated:** [August 20, 2010, 1:45am UTC](https://www.ruby-forum.com/t/ruby-installation-help/193580 "2010-08-20T01:45:16Z")

</div>

In a nutshell, I compiled ruby-1.9.2 and installed it in my /home directory in order to isolate it from the rest of my system. Then, I aliased the ruby binary and scripts (~/ruby/bin) in my .bashrc to reflect the new …

---

## [Camping 2.1 - ERB, Haml, 1.9, bug fixes, new website!](https://www.ruby-forum.com/t/camping-2-1-erb-haml-1-9-bug-fixes-new-website/193581)

<div class="topic-metadata">

**Author:** [@judofyr](https://www.ruby-forum.com/u/judofyr)\
**Replies:** 0\
**Last updated:** [August 20, 2010, 1:26am UTC](https://www.ruby-forum.com/t/camping-2-1-erb-haml-1-9-bug-fixes-new-website/193581 "2010-08-20T01:26:40Z")

</div>

{} || || ~ Camping 2.1 ~ I’m pleased to announce another release of Camping, the microframework. This time we’ve focused on improving the 1.9 support, adding (builtin) support for more template engines, refreshin…

---

## [Unix Philosophy in Ruby Programing](https://www.ruby-forum.com/t/unix-philosophy-in-ruby-programing/193355)

<div class="topic-metadata">

**Author:** [@di3go](https://www.ruby-forum.com/u/di3go)\
**Replies:** 21\
**Last updated:** [August 20, 2010, 12:47am UTC](https://www.ruby-forum.com/t/unix-philosophy-in-ruby-programing/193355 "2010-08-20T00:47:59Z")

</div>

I use Linux about 5 years, but, this year that i started to “use” linux. Now i understand a little more about the unix philosophy and some other trick things windows dont do/have. This changed the way i program. Ruby …

---

## [Activerecord-sqlserver-adapter and Rails 3](https://www.ruby-forum.com/t/activerecord-sqlserver-adapter-and-rails-3/193573)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 6\
**Last updated:** [August 19, 2010, 11:55pm UTC](https://www.ruby-forum.com/t/activerecord-sqlserver-adapter-and-rails-3/193573 "2010-08-19T23:55:19Z")

</div>

Does activerecord-sqlserver-adapter work with Rails 3 RC? I get bunch of warning and then an exception: D:\\temp\>ruby -v adapter.rb ruby 1.9.1p378 (2010-01-10 revision 26273) \[i386-mingw32\] D:/M2/dlr/External.LCA\_RES…

---

## [Ruby 1.9 path](https://www.ruby-forum.com/t/ruby-1-9-path/193574)

<div class="topic-metadata">

**Author:** [@luisfgnr](https://www.ruby-forum.com/u/luisfgnr)\
**Replies:** 5\
**Last updated:** [August 19, 2010, 11:11pm UTC](https://www.ruby-forum.com/t/ruby-1-9-path/193574 "2010-08-19T23:11:59Z")

</div>

i have installed ruby 1.9.1 but… when i execute it … on shell drdos@drd0s-f00 ~ $ whereis ruby ruby: /usr/bin/ruby1.9 /usr/lib/ruby drdos@drd0s-f00 ~ $ ruby The program ‘ruby’ is currently not installed. You can ins…

---

## [Cext build failure](https://www.ruby-forum.com/t/cext-build-failure/193078)

<div class="topic-metadata">

**Author:** [@ratchetcat](https://www.ruby-forum.com/u/ratchetcat)\
**Replies:** 39\
**Last updated:** [August 19, 2010, 11:05pm UTC](https://www.ruby-forum.com/t/cext-build-failure/193078 "2010-08-19T23:05:32Z")

</div>

Decided to quickly checkout the cext branch on got a build error…likely a pilot error…suggestions? Jon \[C:\\Users\\Jon\\Documents\\JavaDev\\jruby\]echo %PATH% C:\\ant\\bin;C:\\Program Files\\CollabNet\\Subversion Client;C:\\Win…

---

## [Soap4r method not allowed](https://www.ruby-forum.com/t/soap4r-method-not-allowed/193567)

<div class="topic-metadata">

**Author:** [@christoforever](https://www.ruby-forum.com/u/christoforever)\
**Replies:** 1\
**Last updated:** [August 19, 2010, 11:05pm UTC](https://www.ruby-forum.com/t/soap4r-method-not-allowed/193567 "2010-08-19T23:05:32Z")

</div>

I’m a noob when it comes to soap so forgive me if the solution is completely obvious: I’m trying to implement a basic soap call like so namespace = 'country.asmx?WSDL' url = 'http://www.webservicex.net/' begin driv…

---

## [Recommendation on Forum software?](https://www.ruby-forum.com/t/recommendation-on-forum-software/193576)

<div class="topic-metadata">

**Author:** [@akm](https://www.ruby-forum.com/u/akm)\
**Replies:** 0\
**Last updated:** [August 19, 2010, 10:41pm UTC](https://www.ruby-forum.com/t/recommendation-on-forum-software/193576 "2010-08-19T22:41:31Z")

</div>

Greetings, I have noticed that the software which runs ruby-forum hasn’t been updated for several years. Also, that it is possible to bridge the authentication of phpbb to certain ruby authentication packages. What …

---

## [Code Review: G19.Final](https://www.ruby-forum.com/t/code-review-g19-final/193396)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 9\
**Last updated:** [August 19, 2010, 10:04pm UTC](https://www.ruby-forum.com/t/code-review-g19-final/193396 "2010-08-19T22:04:38Z")

</div>

tfpt review “/shelveset:G19.Final;REDMOND\\tomat” Comment : Implements many 1.9 features and changes: Syntax - should now be fully compatible with 1.9.2. Semantics - many fixes, some features still not completed: o …

---

## [Whyday Fun and Games](https://www.ruby-forum.com/t/whyday-fun-and-games/193555)

<div class="topic-metadata">

**Author:** [@James\_Edward\_GSII](https://www.ruby-forum.com/u/James_Edward_GSII)\
**Replies:** 9\
**Last updated:** [August 19, 2010, 6:07pm UTC](https://www.ruby-forum.com/t/whyday-fun-and-games/193555 "2010-08-19T18:07:29Z")

</div>

Haven’t decided on a project for Whyday (http://whyday.org/) yet? Join The Ruby Resistance and help fight back against the evil #COBOTS: play.cobots.org:23 James Edward G. II

---

## [Is this a bug of String#count?](https://www.ruby-forum.com/t/is-this-a-bug-of-string-count/193559)

<div class="topic-metadata">

**Author:** [@lirh](https://www.ruby-forum.com/u/lirh)\
**Replies:** 3\
**Last updated:** [August 19, 2010, 5:58pm UTC](https://www.ruby-forum.com/t/is-this-a-bug-of-string-count/193559 "2010-08-19T17:58:18Z")

</div>

$ ruby -v ruby 1.9.1p429 (2010-07-02 revision 28523) \[i386-darwin9\] $ irb --simple-prompt s = “a\\u4e00” # \\u4e00 is the chinese character for “one” in case you can’t read the next line =\> “aä¸€” s.encoding =\> #E…

---

## [Ambiguous first argument?](https://www.ruby-forum.com/t/ambiguous-first-argument/193516)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 4\
**Last updated:** [August 19, 2010, 5:50pm UTC](https://www.ruby-forum.com/t/ambiguous-first-argument/193516 "2010-08-19T17:50:17Z")

</div>

Hi all. With this code: memory\_bitmap.scan /\\x00{5}+/ I get this warning: test.rb:1: warning: ambiguous first argument; put parentheses or even spaces Could somebody please help me to understand what exactly is amb…

---

## [Adding Common Lisp to Ruby](https://www.ruby-forum.com/t/adding-common-lisp-to-ruby/193483)

<div class="topic-metadata">

**Author:** [@NF\_BetaK](https://www.ruby-forum.com/u/NF_BetaK)\
**Replies:** 4\
**Last updated:** [August 19, 2010, 5:49pm UTC](https://www.ruby-forum.com/t/adding-common-lisp-to-ruby/193483 "2010-08-19T17:49:55Z")

</div>

I forward an email conversation that I had with matz: -Dear Yukihiro, I find Ruby to be an incredible language, and I thank you for creating it. If we take the programming paradigm to be divided into three sections, …

---

## [Performance of jruby vs jruby-complete.jar](https://www.ruby-forum.com/t/performance-of-jruby-vs-jruby-complete-jar/193433)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [August 19, 2010, 5:37pm UTC](https://www.ruby-forum.com/t/performance-of-jruby-vs-jruby-complete-jar/193433 "2010-08-19T17:37:37Z")

</div>

hi, is there a particular reason why the performance of jruby-complete.jar is so bad. is more the then factor 2 between them. see which is against a freshly created rails3 application and they both use exactly the s…

---

## [ActiveSupport getting started / tips / sharings for newcomer](https://www.ruby-forum.com/t/activesupport-getting-started-tips-sharings-for-newcomer/189760)

<div class="topic-metadata">

**Author:** [@sentinel](https://www.ruby-forum.com/u/sentinel)\
**Replies:** 1\
**Last updated:** [August 19, 2010, 4:53pm UTC](https://www.ruby-forum.com/t/activesupport-getting-started-tips-sharings-for-newcomer/189760 "2010-08-19T16:53:07Z")

</div>

I was googling for some kind of tutorial or getting started for ActiveSupport. Other than going through the extensive rubydoc is there any post/blog that lists some of the salient or most useful/ most popular features…

---

## [ICFP 2007 - Save Endo!](https://www.ruby-forum.com/t/icfp-2007-save-endo/193549)

<div class="topic-metadata">

**Author:** [@rawroe](https://www.ruby-forum.com/u/rawroe)\
**Replies:** 1\
**Last updated:** [August 19, 2010, 4:41pm UTC](https://www.ruby-forum.com/t/icfp-2007-save-endo/193549 "2010-08-19T16:41:24Z")

</div>

I’m thinking about working on the problem from ICFP 2007http://save-endo.cs.uu.nl/in ruby. I’m sure a lot of optimization will be necessary to come up with a solution that runs fast enough to be of any value. But I’m …

---

## [How to set library path for FileUtils](https://www.ruby-forum.com/t/how-to-set-library-path-for-fileutils/193538)

<div class="topic-metadata">

**Author:** [@mark](https://www.ruby-forum.com/u/mark)\
**Replies:** 3\
**Last updated:** [August 19, 2010, 3:39pm UTC](https://www.ruby-forum.com/t/how-to-set-library-path-for-fileutils/193538 "2010-08-19T15:39:28Z")

</div>

What is the correct way to set library paths to remove this error when using FileUtils? ‘require’: no such file to load – FileUtils (LoadError) Here is the environment listing: ruby1.9.1 -e “puts $:” /var/lib/gems/…

---

## [Check existence of object and it's property at the same time](https://www.ruby-forum.com/t/check-existence-of-object-and-its-property-at-the-same-time/193507)

<div class="topic-metadata">

**Author:** [@corstar](https://www.ruby-forum.com/u/corstar)\
**Replies:** 9\
**Last updated:** [August 19, 2010, 2:43pm UTC](https://www.ruby-forum.com/t/check-existence-of-object-and-its-property-at-the-same-time/193507 "2010-08-19T14:43:43Z")

</div>

I run into this from time to time and I was wondering if there is a cleaner way to do check that an object is not nil and also check a property of that object. I want to do this: if !@member.nil? and @member.is\_activ…

---

## [How to render svg image with stylesheets using RMAgick](https://www.ruby-forum.com/t/how-to-render-svg-image-with-stylesheets-using-rmagick/193543)

<div class="topic-metadata">

**Author:** [@martin\_mercy2001](https://www.ruby-forum.com/u/martin_mercy2001)\
**Replies:** 0\
**Last updated:** [August 19, 2010, 1:07pm UTC](https://www.ruby-forum.com/t/how-to-render-svg-image-with-stylesheets-using-rmagick/193543 "2010-08-19T13:07:52Z")

</div>

Dear Friends, I have rendered the svg image into jp/png format using RMagick like, img = Magick::Image.read(“bee3.svg”).first thumbnail = img.thumbnail(img.columns0.19, img.rows0.19) thumbnail.write(“logo1.gif”) The…

---

## [Timeout exception open-uri](https://www.ruby-forum.com/t/timeout-exception-open-uri/193534)

<div class="topic-metadata">

**Author:** [@quark](https://www.ruby-forum.com/u/quark)\
**Replies:** 2\
**Last updated:** [August 19, 2010, 12:22pm UTC](https://www.ruby-forum.com/t/timeout-exception-open-uri/193534 "2010-08-19T12:22:49Z")

</div>

Hello people… I’m kinda new to Ruby, so probably this is just a stupid question… I’m crawling some websites to get some information and I’m getting this error: /usr/lib/ruby/1.8/net/http.rb:560:in initialize': Connec…

---

## [Blog tutorial and postgres](https://www.ruby-forum.com/t/blog-tutorial-and-postgres/193519)

<div class="topic-metadata">

**Author:** [@skywriter](https://www.ruby-forum.com/u/skywriter)\
**Replies:** 1\
**Last updated:** [August 19, 2010, 11:56am UTC](https://www.ruby-forum.com/t/blog-tutorial-and-postgres/193519 "2010-08-19T11:56:18Z")

</div>

Hello; I have begun the “Getting Started with Rails” guide at which is supposed to create a simple blog. I execute the command “rails blog -d postgresql” without incident. I am having trouble with the next command i…

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

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