# Ruby

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

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

---

## [LISP macros vs Ruby procs?](https://www.ruby-forum.com/t/lisp-macros-vs-ruby-procs/178578)

<div class="topic-metadata">

**Author:** [@trevoke](https://www.ruby-forum.com/u/trevoke)\
**Replies:** 7\
**Last updated:** [November 7, 2009, 11:37pm UTC](https://www.ruby-forum.com/t/lisp-macros-vs-ruby-procs/178578 "2009-11-07T23:37:39Z")

</div>

I’m reading the LISP book on www.gigamonkeys.com to take a look at what some people still call the best language ever. It’s pretty cool. I’m reading about macros now, and I remember from Ola B.'s blog that Ruby can’t …

---

## [Possible to use svn as file system in rails application?](https://www.ruby-forum.com/t/possible-to-use-svn-as-file-system-in-rails-application/178557)

<div class="topic-metadata">

**Author:** [@murraj](https://www.ruby-forum.com/u/murraj)\
**Replies:** 6\
**Last updated:** [November 7, 2009, 7:20pm UTC](https://www.ruby-forum.com/t/possible-to-use-svn-as-file-system-in-rails-application/178557 "2009-11-07T19:20:23Z")

</div>

Hello All, In my rails application users can upload the files. At present i am using the file system as storage.( I don’t use any of the plugin such as acts\_as\_attachment or attachment\_fu) My new requirement is to us…

---

## [Help](https://www.ruby-forum.com/t/help/178592)

<div class="topic-metadata">

**Author:** [@newb](https://www.ruby-forum.com/u/newb)\
**Replies:** 2\
**Last updated:** [November 7, 2009, 2:24pm UTC](https://www.ruby-forum.com/t/help/178592 "2009-11-07T14:24:03Z")

</div>

Topic: How can i go about thisi want to move the folders which is older than 2 days from the current date. how can i go for the implementation. my folder structure is d:/MoveFiles/2009-10-31/g.html Any helps on this

---

## [Nanoc 3.0.2](https://www.ruby-forum.com/t/nanoc-3-0-2/178594)

<div class="topic-metadata">

**Author:** [@dddennisdennis734](https://www.ruby-forum.com/u/dddennisdennis734)\
**Replies:** 0\
**Last updated:** [November 7, 2009, 10:51am UTC](https://www.ruby-forum.com/t/nanoc-3-0-2/178594 "2009-11-07T10:51:16Z")

</div>

Hi, nanoc 3.0.2 is out! nanoc is a web publishing system written in Ruby for building small to medium-sized websites. For more information, check out http://nanoc.stoneship.org/ . This release fixes a bug related t…

---

## [Executing one of several ruby objects](https://www.ruby-forum.com/t/executing-one-of-several-ruby-objects/178477)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 10\
**Last updated:** [November 7, 2009, 10:25am UTC](https://www.ruby-forum.com/t/executing-one-of-several-ruby-objects/178477 "2009-11-07T10:25:31Z")

</div>

I am trying to write a program that will load a series of DSLs (ruby files) into it and then call the same class method in each one until one returns something other than nil. The current DSL is just a ruby class tha…

---

## [\[ANN\] ERBook 9.2.0](https://www.ruby-forum.com/t/ann-erbook-9-2-0/178591)

<div class="topic-metadata">

**Author:** [@snk](https://www.ruby-forum.com/u/snk)\
**Replies:** 0\
**Last updated:** [November 7, 2009, 9:03am UTC](https://www.ruby-forum.com/t/ann-erbook-9-2-0/178591 "2009-11-07T09:03:02Z")

</div>

ERBook 9.2.0 Write books, manuals, and documents in eRuby http://snk.tuxfamily.org/lib/erbook/ ERBook is an extensible document processor that emits \[1\]any document you can im…

---

## [Hpricot 0.8.2 released](https://www.ruby-forum.com/t/hpricot-0-8-2-released/178580)

<div class="topic-metadata">

**Author:** [@nicksnels](https://www.ruby-forum.com/u/nicksnels)\
**Replies:** 1\
**Last updated:** [November 7, 2009, 7:45am UTC](https://www.ruby-forum.com/t/hpricot-0-8-2-released/178580 "2009-11-07T07:45:47Z")

</div>

Hi all, I’m one of the three new maintainers for Hpricot (along with Ola B. and Emanuel Carnevale), and I’ve just pushed out a new 0.8.2 release last night. You can get the gem in the normal fashion via RubyGems (gem…

---

## [Hosting a REPL outside the command line](https://www.ruby-forum.com/t/hosting-a-repl-outside-the-command-line/178587)

<div class="topic-metadata">

**Author:** [@confundido](https://www.ruby-forum.com/u/confundido)\
**Replies:** 2\
**Last updated:** [November 7, 2009, 7:41am UTC](https://www.ruby-forum.com/t/hosting-a-repl-outside-the-command-line/178587 "2009-11-07T07:41:41Z")

</div>

I don’t suppose anyone has successfully run IRB outside of the console? I’m giving up at this point, as I get the feeling there is something special about running inside cmd.exe (on windows) that IRB really needs to f…

---

## [Reading from an external process with IO.popen](https://www.ruby-forum.com/t/reading-from-an-external-process-with-io-popen/178519)

<div class="topic-metadata">

**Author:** [@cluettr](https://www.ruby-forum.com/u/cluettr)\
**Replies:** 4\
**Last updated:** [November 6, 2009, 8:15pm UTC](https://www.ruby-forum.com/t/reading-from-an-external-process-with-io-popen/178519 "2009-11-06T20:15:45Z")

</div>

Hello all, I’m trying to wrap my head around IO.popen with some simple examples that send data to and read data from an external process. Â I’ve create a sample case in the shell like this: $ { echo hello ; sleep 2 ;…

---

## [JRuby startup very slow on Win7](https://www.ruby-forum.com/t/jruby-startup-very-slow-on-win7/178569)

<div class="topic-metadata">

**Author:** [@fmate14](https://www.ruby-forum.com/u/fmate14)\
**Replies:** 6\
**Last updated:** [November 6, 2009, 8:11pm UTC](https://www.ruby-forum.com/t/jruby-startup-very-slow-on-win7/178569 "2009-11-06T20:11:47Z")

</div>

Is it normal that printing “1” requires more than five second? Sorry my english. I am new to ruby, currently I use PHP and Perl in Windows, but I don’t like PHP and Perl is not 100% compatible to Windows (nor Ruby, as…

---

## [Auto test for maven?](https://www.ruby-forum.com/t/auto-test-for-maven/178570)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 2\
**Last updated:** [November 6, 2009, 6:56pm UTC](https://www.ruby-forum.com/t/auto-test-for-maven/178570 "2009-11-06T18:56:44Z")

</div>

Not actually a ruby related question, but does anybody know the equivalent of auto test for a maven based java project? Thanks! -r

---

## [Unsubscribe](https://www.ruby-forum.com/t/unsubscribe/178574)

<div class="topic-metadata">

**Author:** [@Deirdre\_Gist](https://www.ruby-forum.com/u/Deirdre_Gist)\
**Replies:** 0\
**Last updated:** [November 6, 2009, 6:51pm UTC](https://www.ruby-forum.com/t/unsubscribe/178574 "2009-11-06T18:51:28Z")

</div>

Â Â Â “The self is not something ready-made, but something in continuous formation through choice of action.” … John Dewey

---

## [\[Bug #2342\] bootstraptest/test\_thread.rb $B$,$^$l$K\<:GT$9$k(B](https://www.ruby-forum.com/t/bug-2342-bootstraptest-test-thread-rb-b-l-k-gt-9-k-b/178554)

<div class="topic-metadata">

**Author:** [@SSwanabe](https://www.ruby-forum.com/u/SSwanabe)\
**Replies:** 0\
**Last updated:** [November 6, 2009, 12:15pm UTC](https://www.ruby-forum.com/t/bug-2342-bootstraptest-test-thread-rb-b-l-k-gt-9-k-b/178554 "2009-11-06T12:15:09Z")

</div>

Bug #2342: bootstraptest/test\_thread.rb e$B$,$^$l$K\<:GT$9$ke(B http://redmine.ruby-lang.org/issues/show/2342 e$B5/I\<\<Te(B: \_ wanabe e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Low e$B%+%F%4%je(B: test, Target version: 1.9.…

---

## [Unable to work on pop up in selenium-rc](https://www.ruby-forum.com/t/unable-to-work-on-pop-up-in-selenium-rc/178552)

<div class="topic-metadata">

**Author:** [@punit](https://www.ruby-forum.com/u/punit)\
**Replies:** 0\
**Last updated:** [November 6, 2009, 11:25am UTC](https://www.ruby-forum.com/t/unable-to-work-on-pop-up-in-selenium-rc/178552 "2009-11-06T11:25:24Z")

</div>

I am using selenium-rc ruby to run my scripts. While recording through selenium, I am not able to save files. There is savelogs button on page when i click on that a new applet pop up named “Save” opens where i need t…

---

## [How do I send referer in get request?](https://www.ruby-forum.com/t/how-do-i-send-referer-in-get-request/178504)

<div class="topic-metadata">

**Author:** [@acemutha](https://www.ruby-forum.com/u/acemutha)\
**Replies:** 3\
**Last updated:** [November 6, 2009, 9:55am UTC](https://www.ruby-forum.com/t/how-do-i-send-referer-in-get-request/178504 "2009-11-06T09:55:51Z")

</div>

I know how to do it in post but I don’t know using GET. Thanks

---

## [Setting java.library.path in JRuby](https://www.ruby-forum.com/t/setting-java-library-path-in-jruby/178441)

<div class="topic-metadata">

**Author:** [@simon780](https://www.ruby-forum.com/u/simon780)\
**Replies:** 1\
**Last updated:** [November 6, 2009, 8:04am UTC](https://www.ruby-forum.com/t/setting-java-library-path-in-jruby/178441 "2009-11-06T08:04:04Z")

</div>

I’m attempting to use a JNI provided by somebody else (CLIPS). Basically I need to require a jar and then include a Java class into my JRuby environment. When my folder is setup like this it all works: script.rb CL…

---

## [New Ruby Style Language](https://www.ruby-forum.com/t/new-ruby-style-language/178537)

<div class="topic-metadata">

**Author:** [@Avatar](https://www.ruby-forum.com/u/Avatar)\
**Replies:** 0\
**Last updated:** [November 6, 2009, 4:50am UTC](https://www.ruby-forum.com/t/new-ruby-style-language/178537 "2009-11-06T04:50:22Z")

</div>

FYI… Updated pre-beta release of ruby-like programming language (www.nexuslang.org)

---

## [DRY up issues](https://www.ruby-forum.com/t/dry-up-issues/178509)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 1\
**Last updated:** [November 6, 2009, 3:34am UTC](https://www.ruby-forum.com/t/dry-up-issues/178509 "2009-11-06T03:34:15Z")

</div>

Might be nice to disable the issues on and provide a link to the JIRA in the README file for us githubbers to not get confused :slight\_smile: Thanks! -r

---

## [How do you convince .Net developers to use IronRuby?](https://www.ruby-forum.com/t/how-do-you-convince-net-developers-to-use-ironruby/178307)

<div class="topic-metadata">

**Author:** [@shayfriedman](https://www.ruby-forum.com/u/shayfriedman)\
**Replies:** 27\
**Last updated:** [November 6, 2009, 2:43am UTC](https://www.ruby-forum.com/t/how-do-you-convince-net-developers-to-use-ironruby/178307 "2009-11-06T02:43:52Z")

</div>

Hi there, In the last month I had 3 sessions about IronRuby, all of them in front of .Net audience. I really believe in the IronRuby but I find it very very hard to pass that to existing .Net developers. I try to s…

---

## [Migrations with Warfile deployment?](https://www.ruby-forum.com/t/migrations-with-warfile-deployment/176371)

<div class="topic-metadata">

**Author:** [@superwick](https://www.ruby-forum.com/u/superwick)\
**Replies:** 4\
**Last updated:** [November 6, 2009, 12:06am UTC](https://www.ruby-forum.com/t/migrations-with-warfile-deployment/176371 "2009-11-06T00:06:25Z")

</div>

We want to give a versioned WAR to customers for deployment on their internal environment, and are wondering how to handle migrations. It seems like a chicken-and-egg problem - you can’t fire up a new war until you r…

---

## [Replacing StandardInput for ScriptEngine?](https://www.ruby-forum.com/t/replacing-standardinput-for-scriptengine/178521)

<div class="topic-metadata">

**Author:** [@confundido](https://www.ruby-forum.com/u/confundido)\
**Replies:** 1\
**Last updated:** [November 5, 2009, 11:40pm UTC](https://www.ruby-forum.com/t/replacing-standardinput-for-scriptengine/178521 "2009-11-05T23:40:40Z")

</div>

Hello, I am experimenting with script IO in preparation for hosting an IRB session via an embedded SSH server and/or embedded HTTP server, but I’m having trouble getting the script environment to use a custom stream f…

---

## [Question about variables in ruby](https://www.ruby-forum.com/t/question-about-variables-in-ruby/178495)

<div class="topic-metadata">

**Author:** [@mittina](https://www.ruby-forum.com/u/mittina)\
**Replies:** 5\
**Last updated:** [November 5, 2009, 10:47pm UTC](https://www.ruby-forum.com/t/question-about-variables-in-ruby/178495 "2009-11-05T22:47:38Z")

</div>

hello folks i am preparing a ruby plugin for sketchup, i hope you can help me with this really nasty problem i am having here is the method ,which belongs to a class def moment\_calc weight = 0 variable\_load = 0 perma…

---

## [Freeze not freezing](https://www.ruby-forum.com/t/freeze-not-freezing/178500)

<div class="topic-metadata">

**Author:** [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Replies:** 3\
**Last updated:** [November 5, 2009, 5:11pm UTC](https://www.ruby-forum.com/t/freeze-not-freezing/178500 "2009-11-05T17:11:20Z")

</div>

Note that I am new to this list and to Ruby. Consider … irb(main):020:0\> c=\[0,1\] =\> \[0, 1\] irb(main):021:0\> c\[0\].freeze =\> 0 irb(main):022:0\> c\[0\]=2 =\> 2 irb(main):023:0\> c =\> \[2, 1\] irb(main):024:0\> Similarly…

---

## [Hash#count](https://www.ruby-forum.com/t/hash-count/178439)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 6\
**Last updated:** [November 5, 2009, 3:36pm UTC](https://www.ruby-forum.com/t/hash-count/178439 "2009-11-05T15:36:31Z")

</div>

I want to suggest Hash#count be defined such that it counts hash values. A it stands (using Enumerable#count) it only can ever return 0 or 1. Current: {:a=\>1,:b=2,:c=\>1}.count(\[:a,1\]) #=\> 1 {:x=\>1,:b=2,:c=\>1}.count(…

---

## [Proper/best way to merge PDFs from Ruby?](https://www.ruby-forum.com/t/proper-best-way-to-merge-pdfs-from-ruby/178482)

<div class="topic-metadata">

**Author:** [@Hal\_F](https://www.ruby-forum.com/u/Hal_F)\
**Replies:** 1\
**Last updated:** [November 5, 2009, 3:20pm UTC](https://www.ruby-forum.com/t/proper-best-way-to-merge-pdfs-from-ruby/178482 "2009-11-05T15:20:43Z")

</div>

Doing simple concatenation of PDF files. At the moment I’m invoking pdftk from within Ruby… works fine, but feels ugly, and I don’t want the dependency. Any good way to do this? Even a one-off would be welcome… Cheer…

---

## [RubyStation 0.1.5 (gives you the power of localhost!)](https://www.ruby-forum.com/t/rubystation-0-1-5-gives-you-the-power-of-localhost/178499)

<div class="topic-metadata">

**Author:** [@Yutaka\_H](https://www.ruby-forum.com/u/Yutaka_H)\
**Replies:** 0\
**Last updated:** [November 5, 2009, 2:46pm UTC](https://www.ruby-forum.com/t/rubystation-0-1-5-gives-you-the-power-of-localhost/178499 "2009-11-05T14:46:10Z")

</div>

RubyStation 0.1.5 has been relesed. RubyStation is an installer/launcher of browser-GUI desktop applications. Demo and screenshot: http://yhara.github.com/ruby-station/ == What is ‘browser-GUI desktop application’ …

---

## [Odd : a = Hash.new(Hash.new)](https://www.ruby-forum.com/t/odd-a-hash-new-hash-new/178435)

<div class="topic-metadata">

**Author:** [@trevoke](https://www.ruby-forum.com/u/trevoke)\
**Replies:** 12\
**Last updated:** [November 5, 2009, 1:27pm UTC](https://www.ruby-forum.com/t/odd-a-hash-new-hash-new/178435 "2009-11-05T13:27:22Z")

</div>

irb(main):086:0\> a = Hash.new(Hash.new) =\> {} irb(main):087:0\> a\[5\] =\> {} irb(main):088:0\> a\[5\]\[4\] = 3 =\> 3 irb(main):089:0\> a =\> {} irb(main):090:0\> a\[5\] =\> {4=\>3} irb(main):091:0\> a\[5\]\[4\] =\> 3 irb(main):092…

---

## [Free Oracle Books](https://www.ruby-forum.com/t/free-oracle-books/178491)

<div class="topic-metadata">

**Author:** [@eng](https://www.ruby-forum.com/u/eng)\
**Replies:** 0\
**Last updated:** [November 5, 2009, 12:25pm UTC](https://www.ruby-forum.com/t/free-oracle-books/178491 "2009-11-05T12:25:43Z")

</div>

Download free Oracle books BOOK 1 http://tinyurl.com/ylba2ta BOOK 2 http://tinyurl.com/yfg3lm6 BOOK 3 http://tinyurl.com/yhg6nun

---

## [Rainbows! 0.5.0 - dependencies and compatibility](https://www.ruby-forum.com/t/rainbows-0-5-0-dependencies-and-compatibility/178488)

<div class="topic-metadata">

**Author:** [@ericw](https://www.ruby-forum.com/u/ericw)\
**Replies:** 0\
**Last updated:** [November 5, 2009, 11:34am UTC](https://www.ruby-forum.com/t/rainbows-0-5-0-dependencies-and-compatibility/178488 "2009-11-05T11:34:12Z")

</div>

Rainbows! is a HTTP server for sleepy Rack applications. It is based on Unicorn, but designed to handle applications that expect long request/response times and/or slow clients. For Rack applications not heavily bou…

---

## [Unicorn 0.94.0 - small fixes and new features](https://www.ruby-forum.com/t/unicorn-0-94-0-small-fixes-and-new-features/178489)

<div class="topic-metadata">

**Author:** [@ericw](https://www.ruby-forum.com/u/ericw)\
**Replies:** 0\
**Last updated:** [November 5, 2009, 11:07am UTC](https://www.ruby-forum.com/t/unicorn-0-94-0-small-fixes-and-new-features/178489 "2009-11-05T11:07:51Z")

</div>

Unicorn is a HTTP server for Rack applications designed to only serve fast clients on low-latency, high-bandwidth connections and take advantage of features in Unix/Unix-like kernels. Slow clients should only be serv…

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

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