# Ruby

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

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

---

## [Using Nokogiri](https://www.ruby-forum.com/t/using-nokogiri/178640)

<div class="topic-metadata">

**Author:** [@jzakiya](https://www.ruby-forum.com/u/jzakiya)\
**Replies:** 17\
**Last updated:** [November 13, 2009, 8:09am UTC](https://www.ruby-forum.com/t/using-nokogiri/178640 "2009-11-13T08:09:52Z")

</div>

I’m trying to scrape some data off websites using nokogiri require ‘rubygems’ require ‘open-uri’ require ‘nokogiri’ #using the latest 1.4.0 url = ‘http://www.whateverwebsitenameis.org’ doc = Nokogiri::HTML(open(ur…

---

## [How to find ruby header file without platform dependency](https://www.ruby-forum.com/t/how-to-find-ruby-header-file-without-platform-dependency/178851)

<div class="topic-metadata">

**Author:** [@Jun\_YSKim](https://www.ruby-forum.com/u/Jun_YSKim)\
**Replies:** 2\
**Last updated:** [November 13, 2009, 7:49am UTC](https://www.ruby-forum.com/t/how-to-find-ruby-header-file-without-platform-dependency/178851 "2009-11-13T07:49:47Z")

</div>

Hello everyone. Now I am wondering to have a way to find a location of the ruby header file in various platforms whenever I try to configure to compile my sources. in case of python, it provide the ‘python-config’ ex…

---

## [Mod\_ruby on windows](https://www.ruby-forum.com/t/mod-ruby-on-windows/178893)

<div class="topic-metadata">

**Author:** [@skycube](https://www.ruby-forum.com/u/skycube)\
**Replies:** 0\
**Last updated:** [November 13, 2009, 4:11am UTC](https://www.ruby-forum.com/t/mod-ruby-on-windows/178893 "2009-11-13T04:11:59Z")

</div>

Hello everyone, I am new to Ruby and this is my first post. I was wondering if anyone knows if it is possible to install mod\_ruby or eruby for Apache on windows, and if there already is a port, where can I download i…

---

## [New Librarys on Windows Mobile(CE) Ruby](https://www.ruby-forum.com/t/new-librarys-on-windows-mobile-ce-ruby/178887)

<div class="topic-metadata">

**Author:** [@nathanc](https://www.ruby-forum.com/u/nathanc)\
**Replies:** 1\
**Last updated:** [November 13, 2009, 1:59am UTC](https://www.ruby-forum.com/t/new-librarys-on-windows-mobile-ce-ruby/178887 "2009-11-13T01:59:24Z")

</div>

Hello, As everybody knows, there is a Ruby port to Windows CE(Mobile) and I’m using Windows Mobile 5, but how I can install new librarys to it, because in my PC I use gem, but how to do this on this port, that doesn…

---

## [Servolux 0.8.0](https://www.ruby-forum.com/t/servolux-0-8-0/178876)

<div class="topic-metadata">

**Author:** [@timperrett](https://www.ruby-forum.com/u/timperrett)\
**Replies:** 2\
**Last updated:** [November 13, 2009, 12:29am UTC](https://www.ruby-forum.com/t/servolux-0-8-0/178876 "2009-11-13T00:29:32Z")

</div>

Serv-O-Lux version 0.8.0 by Tim P. RubyGems.org | your community gem host == DESCRIPTION Serv-O-Lux is a collection of Ruby classes that are useful for daemon and process management, and for writing your own Ruby s…

---

## [Separate code space/sandbox?](https://www.ruby-forum.com/t/separate-code-space-sandbox/178820)

<div class="topic-metadata">

**Author:** [@patrik](https://www.ruby-forum.com/u/patrik)\
**Replies:** 7\
**Last updated:** [November 12, 2009, 11:39pm UTC](https://www.ruby-forum.com/t/separate-code-space-sandbox/178820 "2009-11-12T23:39:47Z")

</div>

Hi, I’m interested in figuring out a way to get a separate scope. I do not need any other traditional sandbox features, i.e. any code goes, I just want code evaluated in the scope to no affect the parent scope (at al…

---

## [Unsubscriber](https://www.ruby-forum.com/t/unsubscriber/178879)

<div class="topic-metadata">

**Author:** [@WSSSSlita\_Borges](https://www.ruby-forum.com/u/WSSSSlita_Borges)\
**Replies:** 0\
**Last updated:** [November 12, 2009, 11:29pm UTC](https://www.ruby-forum.com/t/unsubscriber/178879 "2009-11-12T23:29:15Z")

</div>

Unsubscriber WÃ©lita Borges da Silva \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ Veja quais sÃ£o os assuntos do momento no Yahoo! +Buscados

---

## [Weird stacktrace/error](https://www.ruby-forum.com/t/weird-stacktrace-error/178783)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [November 12, 2009, 8:33pm UTC](https://www.ruby-forum.com/t/weird-stacktrace-error/178783 "2009-11-12T20:33:38Z")

</div>

hello, anybody can give me a hint what could be the cause of such a stacktrace. the code works fine on MRI. with regards Kristian DummyDynamicScope.java:49:in getBackRef': java.lang.RuntimeException: DummyDynamicSco…

---

## [Switching default jvm](https://www.ruby-forum.com/t/switching-default-jvm/178871)

<div class="topic-metadata">

**Author:** [@stevenc](https://www.ruby-forum.com/u/stevenc)\
**Replies:** 3\
**Last updated:** [November 12, 2009, 7:38pm UTC](https://www.ruby-forum.com/t/switching-default-jvm/178871 "2009-11-12T19:38:01Z")

</div>

Is it possible to point jruby to a different jvm version? I’m running OS X with Java SE 6, and would like to have jruby use J2SE 5 instead. Thanks, Steven To unsubscribe from this list, please visit: http://xircles…

---

## [How to read this](https://www.ruby-forum.com/t/how-to-read-this/178567)

<div class="topic-metadata">

**Author:** [@msoulier](https://www.ruby-forum.com/u/msoulier)\
**Replies:** 3\
**Last updated:** [November 12, 2009, 7:37pm UTC](https://www.ruby-forum.com/t/how-to-read-this/178567 "2009-11-12T19:37:26Z")

</div>

I was recently looking to compute a sha1 hash in ruby, and l luckily google turned up a quick example because I found the digest docs here RDoc Documentation very cryptic and difficult to read. How am I to interpret w…

---

## [Rubular Rocks](https://www.ruby-forum.com/t/rubular-rocks/178828)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 7\
**Last updated:** [November 12, 2009, 7:06pm UTC](https://www.ruby-forum.com/t/rubular-rocks/178828 "2009-11-12T19:06:59Z")

</div>

Big thumbs-up to Rubular: http://rubular.com/ It made all the difference in the development of one of my most recent projects. Thank You, Mr. Lovitt.

---

## [\[ANN\] backtracer 0.5 -- get rid of ... 24 levels ... forever](https://www.ruby-forum.com/t/ann-backtracer-0-5-get-rid-of-24-levels-forever/178816)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 1\
**Last updated:** [November 12, 2009, 6:11pm UTC](https://www.ruby-forum.com/t/ann-backtracer-0-5-get-rid-of-24-levels-forever/178816 "2009-11-12T18:11:28Z")

</div>

Pleased to announce the first public release of the backtracer gem (0.5) It mission: to output higher quality backtraces if an unhandled exception occurs. If you’ve ever seen …24 levels… and disliked it, this is the…

---

## [\[ANN\] a place to write/put ruby tutorials to help core docs!](https://www.ruby-forum.com/t/ann-a-place-to-write-put-ruby-tutorials-to-help-core-docs/178870)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 0\
**Last updated:** [November 12, 2009, 5:35pm UTC](https://www.ruby-forum.com/t/ann-a-place-to-write-put-ruby-tutorials-to-help-core-docs/178870 "2009-11-12T17:35:45Z")

</div>

I plan on announcing this more fully later, but here’s my attempts at creating a repository for higher quality/tutorial like rdocs for the core. http://wiki.github.com/rdp/ruby\_tutorials\_core Feel free to check it ou…

---

## [Simple problem using Nokogiri xml eaderr](https://www.ruby-forum.com/t/simple-problem-using-nokogiri-xml-eaderr/178846)

<div class="topic-metadata">

**Author:** [@pnomolos](https://www.ruby-forum.com/u/pnomolos)\
**Replies:** 2\
**Last updated:** [November 12, 2009, 5:35pm UTC](https://www.ruby-forum.com/t/simple-problem-using-nokogiri-xml-eaderr/178846 "2009-11-12T17:35:03Z")

</div>

Hi. I am a newbie when it comes to using Nokogiri reader to parse an xml file. Here is the xml file I want to parse and sample code: \<?xml version='1.0' encoding='UTF-8'?\> require ‘rubygems’ require ‘nokogir…

---

## [Forking behaves differently when using apache](https://www.ruby-forum.com/t/forking-behaves-differently-when-using-apache/178841)

<div class="topic-metadata">

**Author:** [@nicken](https://www.ruby-forum.com/u/nicken)\
**Replies:** 5\
**Last updated:** [November 12, 2009, 4:10pm UTC](https://www.ruby-forum.com/t/forking-behaves-differently-when-using-apache/178841 "2009-11-12T16:10:42Z")

</div>

I want a CGI script to fire off another process and continue executing (or even terminate) without waiting for the process to finish. I wrote this: #!/usr/bin/ruby require ‘cgi’ c = CGI.new fork do sleep 5 end c.o…

---

## [Active\_Ldap Base Config Question](https://www.ruby-forum.com/t/active-ldap-base-config-question/178819)

<div class="topic-metadata">

**Author:** [@jackster](https://www.ruby-forum.com/u/jackster)\
**Replies:** 8\
**Last updated:** [November 12, 2009, 3:46pm UTC](https://www.ruby-forum.com/t/active-ldap-base-config-question/178819 "2009-11-12T15:46:46Z")

</div>

I haven’t done much with polling AD in the past but I am now trying to write a basic script using active\_ldap that pulls a list of users from AD. The following code I have here doesn’t work but the thing that bothers …

---

## [\[Bug:trunk\] Enumerator.new {|y| y \<\< 1 \<\< 2 \<\< 3 }](https://www.ruby-forum.com/t/bug-trunk-enumerator-new-y-y-1-2-3/178799)

<div class="topic-metadata">

**Author:** [@Yusuke\_ENDOH](https://www.ruby-forum.com/u/Yusuke_ENDOH)\
**Replies:** 13\
**Last updated:** [November 12, 2009, 1:56pm UTC](https://www.ruby-forum.com/t/bug-trunk-enumerator-new-y-y-1-2-3/178799 "2009-11-12T13:56:08Z")

</div>

e$B1sF#$G$9!#e(B Enumerator.new e$B$NCf$Ge(B yielder \<\< 1 \<\< 2 \<\< 3 e$B$H=q$1$^$;$s!#e(B OK generator = Enumerator.new do |yielder| yielder \<\< 1 yielder \<\< 2 yielder \<\< 3 end generator.each {|x| p x } #=\> 1, 2, 3 …

---

## [Is it a bug?exec "cd"](https://www.ruby-forum.com/t/is-it-a-bug-exec-cd/178773)

<div class="topic-metadata">

**Author:** [@haoqi](https://www.ruby-forum.com/u/haoqi)\
**Replies:** 4\
**Last updated:** [November 12, 2009, 1:04pm UTC](https://www.ruby-forum.com/t/is-it-a-bug-exec-cd/178773 "2009-11-12T13:04:02Z")

</div>

$ cat into.rb exec “cd /tmp” $ ruby into.rb into.rb:1:in \`exec’: No such file or directory - cd /tmp (Errno::ENOENT) from into.rb:1 exec “cd anything” as the same result error.how to exec “cd”?thanks

---

## [Programmers motivation: academic research](https://www.ruby-forum.com/t/programmers-motivation-academic-research/178728)

<div class="topic-metadata">

**Author:** [@mpaxton](https://www.ruby-forum.com/u/mpaxton)\
**Replies:** 8\
**Last updated:** [November 12, 2009, 6:43am UTC](https://www.ruby-forum.com/t/programmers-motivation-academic-research/178728 "2009-11-12T06:43:46Z")

</div>

Dear Ruby community, We are researching the motivation factors of Open Source software programmers and would like to ask your cooperation in our large-scale research. The research is performed for the Amsterdam Busine…

---

## [Why use IronRuby](https://www.ruby-forum.com/t/why-use-ironruby/178815)

<div class="topic-metadata">

**Author:** [@Patrick\_Brown](https://www.ruby-forum.com/u/Patrick_Brown)\
**Replies:** 2\
**Last updated:** [November 12, 2009, 5:54am UTC](https://www.ruby-forum.com/t/why-use-ironruby/178815 "2009-11-12T05:54:59Z")

</div>

Hello I have been playing with IronRuby 0.9.2 for a week or so and I have to say that it is alot of fun to tinker with, I am having alot of trouble trying to figure out where I would really use this though besides ma…

---

## [HTTPS Post Bad Request](https://www.ruby-forum.com/t/https-post-bad-request/178844)

<div class="topic-metadata">

**Author:** [@finist](https://www.ruby-forum.com/u/finist)\
**Replies:** 0\
**Last updated:** [November 12, 2009, 4:53am UTC](https://www.ruby-forum.com/t/https-post-bad-request/178844 "2009-11-12T04:53:49Z")

</div>

Greetings all. My application works with a remote server. Server uses https authorization of the certificate. I have following code to authorize and sends request: uri = URI.parse(“https://db1-test.content.ertelecom.…

---

## [Exception for program running on ruby code](https://www.ruby-forum.com/t/exception-for-program-running-on-ruby-code/178839)

<div class="topic-metadata">

**Author:** [@ahmad](https://www.ruby-forum.com/u/ahmad)\
**Replies:** 4\
**Last updated:** [November 12, 2009, 12:26am UTC](https://www.ruby-forum.com/t/exception-for-program-running-on-ruby-code/178839 "2009-11-12T00:26:57Z")

</div>

Hello, I’m trying to get an output from /var/log/syslog for certain amount of time by executing %x\[sudo tail -f /var/log/syslog\] Is it possible to set a timer for the execution, and if the time end, the execution wil…

---

## [Problem with warbler](https://www.ruby-forum.com/t/problem-with-warbler/178826)

<div class="topic-metadata">

**Author:** [@noagenda](https://www.ruby-forum.com/u/noagenda)\
**Replies:** 2\
**Last updated:** [November 11, 2009, 11:14pm UTC](https://www.ruby-forum.com/t/problem-with-warbler/178826 "2009-11-11T23:14:39Z")

</div>

I’m trying to use warble to build a war file, and I’m getting: cp /Users/jamesmoore/.gem/jruby/1.8/specifications/activerecord-jdbcmysql-adapter-0.9.2.gemspec tmp/war/WEB-INF/gems/specifications/activerecord-jdbcmysql…

---

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

<div class="topic-metadata">

**Author:** [@teeos](https://www.ruby-forum.com/u/teeos)\
**Replies:** 1\
**Last updated:** [November 11, 2009, 11:00pm UTC](https://www.ruby-forum.com/t/ruby-and-framework/178830 "2009-11-11T23:00:37Z")

</div>

HI, i must make simple framework in ruby, i know ror is the best, but i nieed write it to schooll. I don’t know how i can start. Meybe you can help me find any info about how to do Please help me

---

## ["undefined method in 'targetnamespace='" in wsdl/import after upgrading to Snow Leopard/1.8.7](https://www.ruby-forum.com/t/undefined-method-in-targetnamespace-in-wsdl-import-after-upgrading-to-snow-leopard-1-8-7/178834)

<div class="topic-metadata">

**Author:** [@bill](https://www.ruby-forum.com/u/bill)\
**Replies:** 0\
**Last updated:** [November 11, 2009, 10:31pm UTC](https://www.ruby-forum.com/t/undefined-method-in-targetnamespace-in-wsdl-import-after-upgrading-to-snow-leopard-1-8-7/178834 "2009-11-11T22:31:55Z")

</div>

I upgraded to Snow Leopard this morning and the 1.8.7 wsdlDriver suite doesn’t like a wsdl file that 1.8.6 processed fine. I’m running this call: SOAP::WSDLDriverFactory.new(“https://api.yieldmanager.com/api-1.30/ co…

---

## [Ironruby hosting as scripting engine](https://www.ruby-forum.com/t/ironruby-hosting-as-scripting-engine/178577)

<div class="topic-metadata">

**Author:** [@Dotan\_N](https://www.ruby-forum.com/u/Dotan_N)\
**Replies:** 11\
**Last updated:** [November 11, 2009, 10:29pm UTC](https://www.ruby-forum.com/t/ironruby-hosting-as-scripting-engine/178577 "2009-11-11T22:29:00Z")

</div>

Hi guys sorry for the lengthy mail but i believe this is interesting since i’ve found a solution that someone else could use. just had a session of trying to embed IR in my application. I’m defining a user script whi…

---

## [Mailing list issues?](https://www.ruby-forum.com/t/mailing-list-issues/178824)

<div class="topic-metadata">

**Author:** [@Orion\_E](https://www.ruby-forum.com/u/Orion_E)\
**Replies:** 4\
**Last updated:** [November 11, 2009, 9:41pm UTC](https://www.ruby-forum.com/t/mailing-list-issues/178824 "2009-11-11T21:41:35Z")

</div>

I sent a couple of emails about potential regressions in IronRuby 0.9.2, but they haven’t yet shown up on the list. Is something wrong or are they likely to just be sitting in the moderation queue? Thanks, Orion

---

## [Re: Is it a bug?exec "cd"](https://www.ruby-forum.com/t/re-is-it-a-bug-exec-cd/178774)

<div class="topic-metadata">

**Author:** [@wkm](https://www.ruby-forum.com/u/wkm)\
**Replies:** 2\
**Last updated:** [November 11, 2009, 9:24pm UTC](https://www.ruby-forum.com/t/re-is-it-a-bug-exec-cd/178774 "2009-11-11T21:24:01Z")

</div>

‘cd’ isn’t actually a program. (typically; OS X seems to have it setup as a super obscure shell script) Note: \[wkm@zanoccio ~\]$ which cd /usr/bin/which: no cd in (/usr/kerberos/bin://bin:/usr/local/bin:/bin:/usr/bin…

---

## [IronRuby 0.9.2 bug - Can't define a singleton method on a COM object instance](https://www.ruby-forum.com/t/ironruby-0-9-2-bug-cant-define-a-singleton-method-on-a-com-object-instance/178659)

<div class="topic-metadata">

**Author:** [@Orion\_E](https://www.ruby-forum.com/u/Orion_E)\
**Replies:** 1\
**Last updated:** [November 11, 2009, 8:57pm UTC](https://www.ruby-forum.com/t/ironruby-0-9-2-bug-cant-define-a-singleton-method-on-a-com-object-instance/178659 "2009-11-11T20:57:41Z")

</div>

This code used to work under IronRuby 0.9.1 and earlier load\_assembly “microsoft.office.word.interop” word = Microsoft::office::Interop::Word::ApplicationClass.new metaclass = class \<\< word; self; end metaclass.send …

---

## [Disable compilation of scripts](https://www.ruby-forum.com/t/disable-compilation-of-scripts/178765)

<div class="topic-metadata">

**Author:** [@Martin\_Smith](https://www.ruby-forum.com/u/Martin_Smith)\
**Replies:** 3\
**Last updated:** [November 11, 2009, 8:45pm UTC](https://www.ruby-forum.com/t/disable-compilation-of-scripts/178765 "2009-11-11T20:45:23Z")

</div>

Hello, A while back I watched Jimmy on C9 talking about how IronRuby had a hybrid approach to execution only jitting after a code path had been run a couple times. Is there any way to control this. I’d like to exper…

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

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