# Ruby

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

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

---

## [Err messages during make install-doc](https://www.ruby-forum.com/t/err-messages-during-make-install-doc/159229)

<div class="topic-metadata">

**Author:** [@mark](https://www.ruby-forum.com/u/mark)\
**Replies:** 1\
**Last updated:** [February 2, 2009, 5:38pm UTC](https://www.ruby-forum.com/t/err-messages-during-make-install-doc/159229 "2009-02-02T17:38:19Z")

</div>

Mac. I installed readline, then I followed the directions for installing ruby 1.8.6. I ran “sudo make install” - no errors. When I ran “make install-doc”, I get the following errors: No definition for proc\_getpgrp … …

---

## [SciTE](https://www.ruby-forum.com/t/scite/159227)

<div class="topic-metadata">

**Author:** [@blackthirteen](https://www.ruby-forum.com/u/blackthirteen)\
**Replies:** 2\
**Last updated:** [February 2, 2009, 4:58pm UTC](https://www.ruby-forum.com/t/scite/159227 "2009-02-02T16:58:20Z")

</div>

Once I have entered code, how do I compile it? The compile option (in Tool) is gray and cannot be used.

---

## [ANN: Rev 0.2.4, a libev-based event framework, now with Ruby 1.8.7 and 1.9.1 support](https://www.ruby-forum.com/t/ann-rev-0-2-4-a-libev-based-event-framework-now-with-ruby-1-8-7-and-1-9-1-support/159189)

<div class="topic-metadata">

**Author:** [@murfhy](https://www.ruby-forum.com/u/murfhy)\
**Replies:** 1\
**Last updated:** [February 2, 2009, 4:38pm UTC](https://www.ruby-forum.com/t/ann-rev-0-2-4-a-libev-based-event-framework-now-with-ruby-1-8-7-and-1-9-1-support/159189 "2009-02-02T16:38:25Z")

</div>

Rev is a high performance event library for Ruby, based around the libev C library. It’s similar to EventMachine, but builds on the Ruby core types including IO, Socket/TCPSocket and the Ruby OpenSSL library, and ex…

---

## [Symbol as String for C](https://www.ruby-forum.com/t/symbol-as-string-for-c/159226)

<div class="topic-metadata">

**Author:** [@arton](https://www.ruby-forum.com/u/arton)\
**Replies:** 0\
**Last updated:** [February 2, 2009, 4:07pm UTC](https://www.ruby-forum.com/t/symbol-as-string-for-c/159226 "2009-02-02T16:07:43Z")

</div>

artone$B$G$9!#e(B 1.9e$B$K$J$C$F!“e(BStringe$B$NBe$o$j$Ke(BSymbole$B$,JV$k$h$&$KJQ$o$C$?%a%=%C%I$,$”$j$^e(B e$B$9$,!JNc!'e(B Object#methodse$B!K!"$G$-$l$P4{B8$N3HD%%i%$%V%i%j$dAH$9~$e(BRuby e$B$KBP$7$F5:Q:v$,M$7$$$G$…

---

## [Jdbc, jndi database connection strings](https://www.ruby-forum.com/t/jdbc-jndi-database-connection-strings/158336)

<div class="topic-metadata">

**Author:** [@paulf](https://www.ruby-forum.com/u/paulf)\
**Replies:** 9\
**Last updated:** [February 2, 2009, 3:27pm UTC](https://www.ruby-forum.com/t/jdbc-jndi-database-connection-strings/158336 "2009-02-02T15:27:05Z")

</div>

Using normal jdbc connection string “jdbc:postgresql://localhost/playdb?user=username&password=passwd” What would the equivalent be for jndi connection if the jndi name was “jdbc/pg\_pool” when being used in a glassfis…

---

## [Ruby 1.9.1-p0 runner.rb errors on Mac OSX Leopard compile](https://www.ruby-forum.com/t/ruby-1-9-1-p0-runner-rb-errors-on-mac-osx-leopard-compile/159182)

<div class="topic-metadata">

**Author:** [@parasew](https://www.ruby-forum.com/u/parasew)\
**Replies:** 4\
**Last updated:** [February 2, 2009, 3:15pm UTC](https://www.ruby-forum.com/t/ruby-1-9-1-p0-runner-rb-errors-on-mac-osx-leopard-compile/159182 "2009-02-02T15:15:53Z")

</div>

hi there, we are currently compiling the packages for the Ruby O.-Click Installer for OSX ( http://rubyosx.com ) just wondering if anyone on OSX Leopard experienced the same error output from running “ruby runner.rb”…

---

## [Problem using logging gem (0.9.4) in JRuby 1.1.4](https://www.ruby-forum.com/t/problem-using-logging-gem-0-9-4-in-jruby-1-1-4/151104)

<div class="topic-metadata">

**Author:** [@SchultzS\_Darcy\_L](https://www.ruby-forum.com/u/SchultzS_Darcy_L)\
**Replies:** 2\
**Last updated:** [February 2, 2009, 2:23pm UTC](https://www.ruby-forum.com/t/problem-using-logging-gem-0-9-4-in-jruby-1-1-4/151104 "2009-02-02T14:23:51Z")

</div>

Here’s the code: require ‘rubygems’ gem ‘logging’ require ‘logging’ require ‘logging/appenders/rolling\_file’ require ‘logging/layouts/pattern’ logger = Logging::Logger\[‘default’\] logger.additive = false logger.tr…

---

## [How to install, and use "tidy" gem](https://www.ruby-forum.com/t/how-to-install-and-use-tidy-gem/159167)

<div class="topic-metadata">

**Author:** [@dcian](https://www.ruby-forum.com/u/dcian)\
**Replies:** 4\
**Last updated:** [February 2, 2009, 1:44pm UTC](https://www.ruby-forum.com/t/how-to-install-and-use-tidy-gem/159167 "2009-02-02T13:44:20Z")

</div>

Hi, Ruby newbie here. I’m trying to install the gem tidy so that it can be used as a filter by webby. I thought it was “gem install tidy” - but this tells me it is installed. - version 1.1.2! There is a comment on…

---

## [Problem with Hello World test, window shut instantly](https://www.ruby-forum.com/t/problem-with-hello-world-test-window-shut-instantly/159199)

<div class="topic-metadata">

**Author:** [@blackthirteen](https://www.ruby-forum.com/u/blackthirteen)\
**Replies:** 4\
**Last updated:** [February 2, 2009, 1:36pm UTC](https://www.ruby-forum.com/t/problem-with-hello-world-test-window-shut-instantly/159199 "2009-02-02T13:36:01Z")

</div>

Hello, Iâ€™m new to ruby. So I started with the famous Hello World program after installing Ruby. When I save a program as test.rb and I run it, the window open but shut very quickly. How can I see my results once I r…

---

## [ERB: Format for trim\_mode string](https://www.ruby-forum.com/t/erb-format-for-trim-mode-string/150863)

<div class="topic-metadata">

**Author:** [@Farrel\_L](https://www.ruby-forum.com/u/Farrel_L)\
**Replies:** 1\
**Last updated:** [February 2, 2009, 1:03pm UTC](https://www.ruby-forum.com/t/erb-format-for-trim-mode-string/150863 "2009-02-02T13:03:09Z")

</div>

In the documentation for ERB.new (http://www.ruby-doc.org/stdlib/libdoc/erb/rdoc/classes/ERB.html#M000649) it says: "If trim\_mode is passed a String containing one or more of the following modifiers, ERB will adjust …

---

## [\[Bug #1076\] wxRuby crashes with SIGSEGV](https://www.ruby-forum.com/t/bug-1076-wxruby-crashes-with-sigsegv/159085)

<div class="topic-metadata">

**Author:** [@Masaki\_Honda](https://www.ruby-forum.com/u/Masaki_Honda)\
**Replies:** 1\
**Last updated:** [February 2, 2009, 11:52am UTC](https://www.ruby-forum.com/t/bug-1076-wxruby-crashes-with-sigsegv/159085 "2009-02-02T11:52:13Z")

</div>

Bug #1076: wxRuby crashes with SIGSEGV http://redmine.ruby-lang.org/issues/show/1076 e$B5/I\<\<Te(B: Masaki Honda e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B%+%F%4%je(B: lib ruby -v: ruby 1.9.1p0 (2009-01-30 revi…

---

## [JDBC Connection pooling in Rails - Not for ActiveRecord](https://www.ruby-forum.com/t/jdbc-connection-pooling-in-rails-not-for-activerecord/159142)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 4\
**Last updated:** [February 2, 2009, 11:39am UTC](https://www.ruby-forum.com/t/jdbc-connection-pooling-in-rails-not-for-activerecord/159142 "2009-02-02T11:39:49Z")

</div>

Hi, does anyone have a recipe for implementing a pure JDBC connection pool in Rails? I’ve got a lot of existing Ruby classes that leverages JDBC database connections and work on resultsets that I’d like to be able to …

---

## [Logging 0.9.5](https://www.ruby-forum.com/t/logging-0-9-5/158632)

<div class="topic-metadata">

**Author:** [@timperrett](https://www.ruby-forum.com/u/timperrett)\
**Replies:** 7\
**Last updated:** [February 2, 2009, 11:27am UTC](https://www.ruby-forum.com/t/logging-0-9-5/158632 "2009-02-02T11:27:31Z")

</div>

logging version 0.9.5 by Tim P. http://logging.rubyforge.org/ == DESCRIPTION Logging is a flexible logging library for use in Ruby programs based on the design of Java’s log4j library. It features a hierarchical lo…

---

## [Could someone please explain the magic in this code](https://www.ruby-forum.com/t/could-someone-please-explain-the-magic-in-this-code/159174)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 4\
**Last updated:** [February 2, 2009, 8:22am UTC](https://www.ruby-forum.com/t/could-someone-please-explain-the-magic-in-this-code/159174 "2009-02-02T08:22:39Z")

</div>

I need to use erb templates so I went to look at the documentation. It all seems straight forwards until I get to the example where a lot of new coding concepts are pulled in and I’m left totally mystified about what’…

---

## [Ruby string question](https://www.ruby-forum.com/t/ruby-string-question/159112)

<div class="topic-metadata">

**Author:** [@tsunami](https://www.ruby-forum.com/u/tsunami)\
**Replies:** 7\
**Last updated:** [February 2, 2009, 8:11am UTC](https://www.ruby-forum.com/t/ruby-string-question/159112 "2009-02-02T08:11:41Z")

</div>

Is it possible to modify an existing ruby string without creating a new one ? If for example I have the following code : x = “first string” x = “second string” between asigning values , the object\_id() is different …

---

## [Q: send\_file with Ruby 1.9.1 only works for text files](https://www.ruby-forum.com/t/q-send-file-with-ruby-1-9-1-only-works-for-text-files/159162)

<div class="topic-metadata">

**Author:** [@marksbrain](https://www.ruby-forum.com/u/marksbrain)\
**Replies:** 3\
**Last updated:** [February 2, 2009, 5:56am UTC](https://www.ruby-forum.com/t/q-send-file-with-ruby-1-9-1-only-works-for-text-files/159162 "2009-02-02T05:56:03Z")

</div>

When I use Ruby 1.8.6 my Rails app works fine. Under Ruby 1.9.1 in development mode Webrick is trying to “split” binary data and throws an error: #\<ArgumentError: invalid byte sequence in UTF-8\> \["/Users/markw/bin/ru…

---

## [Integrating jruby with Shindig](https://www.ruby-forum.com/t/integrating-jruby-with-shindig/156367)

<div class="topic-metadata">

**Author:** [@snacktime](https://www.ruby-forum.com/u/snacktime)\
**Replies:** 3\
**Last updated:** [February 2, 2009, 5:06am UTC](https://www.ruby-forum.com/t/integrating-jruby-with-shindig/156367 "2009-02-02T05:06:01Z")

</div>

I’ve been researching the best way to integrate ruby into the Shindig opensocial container, so you can run your own opensocial container and do all your integration using ruby. Jruby is one option but I’m not sure i…

---

## [\[Bug #1073\] test\_to\_s(Complex\_Test) fails on Solaris](https://www.ruby-forum.com/t/bug-1073-test-to-s-complex-test-fails-on-solaris/159001)

<div class="topic-metadata">

**Author:** [@Shugo\_M](https://www.ruby-forum.com/u/Shugo_M)\
**Replies:** 2\
**Last updated:** [February 2, 2009, 4:47am UTC](https://www.ruby-forum.com/t/bug-1073-test-to-s-complex-test-fails-on-solaris/159001 "2009-02-02T04:47:38Z")

</div>

Bug #1073: test\_to\_s(Complex\_Test) fails on Solaris http://redmine.ruby-lang.org/issues/show/1073 e$B5/I\<\<Te(B: Shugo M. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Low ruby -v: ruby 1.9.1p5000 (2009-01-29 trunk 21875) \[i3…

---

## [Igem.bat](https://www.ruby-forum.com/t/igem-bat/159079)

<div class="topic-metadata">

**Author:** [@jirapong](https://www.ruby-forum.com/u/jirapong)\
**Replies:** 2\
**Last updated:** [February 2, 2009, 3:21am UTC](https://www.ruby-forum.com/t/igem-bat/159079 "2009-02-02T03:21:39Z")

</div>

How can i get igem.bat work correctly? right now, I get following error. C:\\dotNET\\ironruby\\ironruby\\Merlin\\Main\\Languages\\Ruby\\Scripts\\bin\>SET GEM\_PATH=C:\\ruby\\lib\\ruby\\gems\\1.8 C:\\dotNET\\ironruby\\ironruby\\Merlin\\Mai…

---

## [Trying to install curb on OS X Leopard Intel](https://www.ruby-forum.com/t/trying-to-install-curb-on-os-x-leopard-intel/159186)

<div class="topic-metadata">

**Author:** [@Francis\_H](https://www.ruby-forum.com/u/Francis_H)\
**Replies:** 0\
**Last updated:** [February 2, 2009, 2:45am UTC](https://www.ruby-forum.com/t/trying-to-install-curb-on-os-x-leopard-intel/159186 "2009-02-02T02:45:58Z")

</div>

Anybody ever see this problem? I’ve tried this using taf2’s fork of curb (GitHub - taf2/curb: Ruby bindings for libcurl) but am having similar problems with the gem from RubyForge. Any guesses at all would be apprecia…

---

## [Mocha 0.9.5 released / Ruby 1.9 Compatibility](https://www.ruby-forum.com/t/mocha-0-9-5-released-ruby-1-9-compatibility/159153)

<div class="topic-metadata">

**Author:** [@noagenda](https://www.ruby-forum.com/u/noagenda)\
**Replies:** 2\
**Last updated:** [February 2, 2009, 12:10am UTC](https://www.ruby-forum.com/t/mocha-0-9-5-released-ruby-1-9-compatibility/159153 "2009-02-02T00:10:25Z")

</div>

Mocha 0.9.5 should be compatible with Ruby 1.9.1 using MiniTest or Test::Unit. However, if you want to use Test::Unit, you will need to install the test-unit gem. http://blog.floehopper.org/articles/2009/02/01/mocha-…

---

## [Using the generated initializer](https://www.ruby-forum.com/t/using-the-generated-initializer/159172)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 3\
**Last updated:** [February 1, 2009, 10:56pm UTC](https://www.ruby-forum.com/t/using-the-generated-initializer/159172 "2009-02-01T22:56:01Z")

</div>

Hi I thought I created a ruby module and ruby class but I must be doing something wrong. using RubyMethodAttributes=IronRuby.Runtime.RubyMethodAttributes; using RubyModuleDefinition = IronRuby.Runtime.RubyModuleAttri…

---

## [Progress on ironrubymvc :)](https://www.ruby-forum.com/t/progress-on-ironrubymvc/159014)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 6\
**Last updated:** [February 1, 2009, 10:46pm UTC](https://www.ruby-forum.com/t/progress-on-ironrubymvc/159014 "2009-02-01T22:46:03Z")

</div>

Hi I think I can have a very basic version of ironruby mvc going over the weekend… that will probably be without support for things like filters etc. yet… but you should be able to define a controller and actions in …

---

## [Definition of "Support levels", 1.9.1 supported platforms and recruitment for platform maintainers](https://www.ruby-forum.com/t/definition-of-support-levels-1-9-1-supported-platforms-and-recruitment-for-platform-maintainers/145706)

<div class="topic-metadata">

**Author:** [@Yugui\_SYuki\_S.S](https://www.ruby-forum.com/u/Yugui_SYuki_S.S)\
**Replies:** 9\
**Last updated:** [February 1, 2009, 10:05pm UTC](https://www.ruby-forum.com/t/definition-of-support-levels-1-9-1-supported-platforms-and-recruitment-for-platform-maintainers/145706 "2009-02-01T22:05:39Z")

</div>

Hi, all. Ruby committers had the Ruby developers camp 20080811 (http://redmine.ruby-lang.org/wiki/ruby/DevelopersCamp20080811 ). We talked about platforms which Ruby will support, and decided 4 “support levels” yeste…

---

## [Ruby 1.9.1, Test/Unit, and EventMachine](https://www.ruby-forum.com/t/ruby-1-9-1-test-unit-and-eventmachine/159168)

<div class="topic-metadata">

**Author:** [@elliottcable](https://www.ruby-forum.com/u/elliottcable)\
**Replies:** 1\
**Last updated:** [February 1, 2009, 9:52pm UTC](https://www.ruby-forum.com/t/ruby-1-9-1-test-unit-and-eventmachine/159168 "2009-02-01T21:52:45Z")

</div>

I’m trying to install my second gem after updating to Ruby 1.9.1, and I’m having problems. First of all, I found that I couldn’t install EventMachine as it was, because it depended on Test/Unit which is apparently not…

---

## [Test/spec 0.10, a BDD interface for Test::Unit](https://www.ruby-forum.com/t/test-spec-0-10-a-bdd-interface-for-test-unit/159147)

<div class="topic-metadata">

**Author:** [@cneuhaus](https://www.ruby-forum.com/u/cneuhaus)\
**Replies:** 3\
**Last updated:** [February 1, 2009, 9:50pm UTC](https://www.ruby-forum.com/t/test-spec-0-10-a-bdd-interface-for-test-unit/159147 "2009-02-01T21:50:59Z")

</div>

Hello, today I’m releasing test/spec 0.10, a library to do BDD with Test::Unit. == News in 0.10: February 1st, 2009: Sixth public release 0.10. Support for Ruby 1.9. You must have the test-unit gem on 1.9. == Wh…

---

## [Link xampp mysql to Ruby's](https://www.ruby-forum.com/t/link-xampp-mysql-to-rubys/159170)

<div class="topic-metadata">

**Author:** [@farfignugen](https://www.ruby-forum.com/u/farfignugen)\
**Replies:** 4\
**Last updated:** [February 1, 2009, 9:50pm UTC](https://www.ruby-forum.com/t/link-xampp-mysql-to-rubys/159170 "2009-02-01T21:50:24Z")

</div>

I have xampp running on my computer now and I have mysql working with that. Is there a way to link Ruby to use the xampp mysql settings so I don’t have to install mysql twice on my computer?

---

## [What's the Status of Ming?](https://www.ruby-forum.com/t/whats-the-status-of-ming/159173)

<div class="topic-metadata">

**Author:** [@mschwab](https://www.ruby-forum.com/u/mschwab)\
**Replies:** 0\
**Last updated:** [February 1, 2009, 9:23pm UTC](https://www.ruby-forum.com/t/whats-the-status-of-ming/159173 "2009-02-01T21:23:32Z")

</div>

I quite like the idea of developing web sites using Flash created by Ming. I can’t however tell whether this is still actively supported. Has anybody used it with Ruby? Is there something else that is better?

---

## [Ruby 1.9.1 and Rubygems](https://www.ruby-forum.com/t/ruby-1-9-1-and-rubygems/159163)

<div class="topic-metadata">

**Author:** [@mike343](https://www.ruby-forum.com/u/mike343)\
**Replies:** 4\
**Last updated:** [February 1, 2009, 7:51pm UTC](https://www.ruby-forum.com/t/ruby-1-9-1-and-rubygems/159163 "2009-02-01T19:51:00Z")

</div>

Wanting to play with Ruby 1.9.1, I uninstalled (via apt) all my Ruby packages, downloaded the Ruby 1.9.1 source code and installed with ./configure, make, then make install. At this point, Ruby works fine, as do the …

---

## [What's the "current" Ruby?](https://www.ruby-forum.com/t/whats-the-current-ruby/159139)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 3\
**Last updated:** [February 1, 2009, 5:03pm UTC](https://www.ruby-forum.com/t/whats-the-current-ruby/159139 "2009-02-01T17:03:26Z")

</div>

Yugui wrote, “Ruby 1.8 series has been used since 2003 and many great products were born on it. Today Ruby 1.9 series starts its history as 1.8 series did.” This suggests that, as 1.8 superseded 1.6, 1.9 now supersed…

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

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