# Ruby

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

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

---

## [\[patch\] building Microsoft.Scripting.Metadata on Mono](https://www.ruby-forum.com/t/patch-building-microsoft-scripting-metadata-on-mono/191961)

<div class="topic-metadata">

**Author:** [@Jb\_Evain](https://www.ruby-forum.com/u/Jb_Evain)\
**Replies:** 1\
**Last updated:** [July 21, 2010, 6:29pm UTC](https://www.ruby-forum.com/t/patch-building-microsoft-scripting-metadata-on-mono/191961 "2010-07-21T18:29:46Z")

</div>

Hey, Microsoft.Scripting.Metadata is being built with warnaserror, but it contains a couple of issues that are not detected by csc, but that are by dmcs, crashing the build. Here’s a fix: \<\<\<\<\<\< diff --git a/Runtime…

---

## [Git request-pull on github and redmine](https://www.ruby-forum.com/t/git-request-pull-on-github-and-redmine/191977)

<div class="topic-metadata">

**Author:** [@Ricardo\_Panaggio](https://www.ruby-forum.com/u/Ricardo_Panaggio)\
**Replies:** 0\
**Last updated:** [July 21, 2010, 6:01pm UTC](https://www.ruby-forum.com/t/git-request-pull-on-github-and-redmine/191977 "2010-07-21T18:01:05Z")

</div>

Hello, I was wondering how I could make a request-pull to I’ve just tried “git request-pull 6113a5add0a05eea33935fb9dd95a8c8e5c2755d GitHub - ruby/ruby: The Ruby Programming Language” from my own repo (GitHub - pan…

---

## [More granular Benchmark times](https://www.ruby-forum.com/t/more-granular-benchmark-times/191454)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 14\
**Last updated:** [July 21, 2010, 6:00pm UTC](https://www.ruby-forum.com/t/more-granular-benchmark-times/191454 "2010-07-21T18:00:19Z")

</div>

Here’s a thought: would it be possible to use the equivalent of System.nano\_time within the Benchmark module, thus making it more accurate? That might be nicer by default.

---

## [Recommended web server for jruby sinatra](https://www.ruby-forum.com/t/recommended-web-server-for-jruby-sinatra/191944)

<div class="topic-metadata">

**Author:** [@pyr0](https://www.ruby-forum.com/u/pyr0)\
**Replies:** 16\
**Last updated:** [July 21, 2010, 5:08pm UTC](https://www.ruby-forum.com/t/recommended-web-server-for-jruby-sinatra/191944 "2010-07-21T17:08:23Z")

</div>

Want to leverage java threads within a sinatra app, but i’m not sure of which web server to use. I would like to avoid building war files. I have used both glassfish and jetty-rackup and both seem great thus far. …

---

## [Can't get ruby 1.9 to work after install on OSX](https://www.ruby-forum.com/t/cant-get-ruby-1-9-to-work-after-install-on-osx/191925)

<div class="topic-metadata">

**Author:** [@devrubygem](https://www.ruby-forum.com/u/devrubygem)\
**Replies:** 11\
**Last updated:** [July 21, 2010, 4:49pm UTC](https://www.ruby-forum.com/t/cant-get-ruby-1-9-to-work-after-install-on-osx/191925 "2010-07-21T16:49:40Z")

</div>

Hello I installed ruby 1.9 along with 1.8 and my .profile path looks like this: export PATH=/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/usr/lib:$PATH export PATH=/Users/musdev/.gem/ruby/1.9/bin:$PATH expor…

---

## [Building JRuby from Source in Netbeans](https://www.ruby-forum.com/t/building-jruby-from-source-in-netbeans/191967)

<div class="topic-metadata">

**Author:** [@akm](https://www.ruby-forum.com/u/akm)\
**Replies:** 0\
**Last updated:** [July 21, 2010, 1:43pm UTC](https://www.ruby-forum.com/t/building-jruby-from-source-in-netbeans/191967 "2010-07-21T13:43:28Z")

</div>

Hi, I’ve been trying to build JRuby from source in Netbeans 6.9 (on Windows 7), however when I open the source in Netbeans I find the following class is showing compile errors: org.jruby.anno.AnnotationBinder These…

---

## [Using msmq (ruby 1.9 and win7)](https://www.ruby-forum.com/t/using-msmq-ruby-1-9-and-win7/191884)

<div class="topic-metadata">

**Author:** [@sigurhel](https://www.ruby-forum.com/u/sigurhel)\
**Replies:** 3\
**Last updated:** [July 21, 2010, 1:25pm UTC](https://www.ruby-forum.com/t/using-msmq-ruby-1-9-and-win7/191884 "2010-07-21T13:25:55Z")

</div>

Hi. Been searching the forums for this and come up well almost blank. I need to access MSMQ from Ruby, but I am quite new to the ruby/win combination. Is there a wrapper/client out there similar to the ones for websp…

---

## [RubyGems](https://www.ruby-forum.com/t/rubygems/191938)

<div class="topic-metadata">

**Author:** [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Replies:** 2\
**Last updated:** [July 21, 2010, 10:50am UTC](https://www.ruby-forum.com/t/rubygems/191938 "2010-07-21T10:50:33Z")

</div>

I have been dealing with “gem” very much since using Ruby and RoR. I just want to ask. What exactly do we mean by a “gem”? Thanks.

---

## [This script is a bit confusing!](https://www.ruby-forum.com/t/this-script-is-a-bit-confusing/191558)

<div class="topic-metadata">

**Author:** [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Replies:** 2\
**Last updated:** [July 21, 2010, 10:46am UTC](https://www.ruby-forum.com/t/this-script-is-a-bit-confusing/191558 "2010-07-21T10:46:42Z")

</div>

I have this script from “Why’s poignant guide to Ruby”: http://pastie.org/1043938 And, have the following questions: 1- def join( sep = $, format = “%s” ) What is: $, “%s” ? 2- How can I call a method on “end”? W…

---

## [Modules in Ruby](https://www.ruby-forum.com/t/modules-in-ruby/191560)

<div class="topic-metadata">

**Author:** [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Replies:** 7\
**Last updated:** [July 21, 2010, 10:45am UTC](https://www.ruby-forum.com/t/modules-in-ruby/191560 "2010-07-21T10:45:04Z")

</div>

I have this script with slight change from “The Little Book Of Ruby”: http://pastie.org/private/6wgnmrtsodlmbh3ib1vg If I type the following: puts MyModule.greet I get the required result. But, there is an instance m…

---

## [Friday Night at My House](https://www.ruby-forum.com/t/friday-night-at-my-house/191934)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 4\
**Last updated:** [July 21, 2010, 9:20am UTC](https://www.ruby-forum.com/t/friday-night-at-my-house/191934 "2010-07-21T09:20:35Z")

</div>

Attendees: Me, Aaron P., Ben B., Eric H., Ryan D., and various pets and significant others. Before an ill-advised screening of “Leprechaun In The Hood,” we presented Ryan with a velvet painting of himself. I’ll ask th…

---

## [Hoe-bundler 1.0.0 Released](https://www.ruby-forum.com/t/hoe-bundler-1-0-0-released/191948)

<div class="topic-metadata">

**Author:** [@miked](https://www.ruby-forum.com/u/miked)\
**Replies:** 0\
**Last updated:** [July 21, 2010, 9:00am UTC](https://www.ruby-forum.com/t/hoe-bundler-1-0-0-released/191948 "2010-07-21T09:00:40Z")

</div>

hoe-bundler version 1.0.0 has been released! http://github.com/flavorjones/hoe-bundler Generate a Gemfile based on a Hoe spec’s declared dependencies. == FEATURES: Creates a rake task to generate a bundler Gemfile b…

---

## [How much of the rubyspec does hotruby implement?](https://www.ruby-forum.com/t/how-much-of-the-rubyspec-does-hotruby-implement/191932)

<div class="topic-metadata">

**Author:** [@akm](https://www.ruby-forum.com/u/akm)\
**Replies:** 2\
**Last updated:** [July 21, 2010, 1:56am UTC](https://www.ruby-forum.com/t/how-much-of-the-rubyspec-does-hotruby-implement/191932 "2010-07-21T01:56:20Z")

</div>

Greetings, Does anyone know how feature complete hot ruby is? That is, how much of the rubyspec it implements? Also, does anyone know if it uses 1.8 or 1.9 syntax? Thanks, Andrew McElroy TryRuby.org

---

## [Unable to locate component](https://www.ruby-forum.com/t/unable-to-locate-component/191916)

<div class="topic-metadata">

**Author:** [@jrnicl4](https://www.ruby-forum.com/u/jrnicl4)\
**Replies:** 2\
**Last updated:** [July 20, 2010, 8:06pm UTC](https://www.ruby-forum.com/t/unable-to-locate-component/191916 "2010-07-20T20:06:01Z")

</div>

I installed ruby on rails on windows xp and created and project (rails my\_project). I started the server(ruby script\\server). I openned the browser and launch the page (http://localhost:3000/). When I selected a link …

---

## [Adding to the Errno module](https://www.ruby-forum.com/t/adding-to-the-errno-module/191857)

<div class="topic-metadata">

**Author:** [@mjgp2](https://www.ruby-forum.com/u/mjgp2)\
**Replies:** 1\
**Last updated:** [July 20, 2010, 5:33pm UTC](https://www.ruby-forum.com/t/adding-to-the-errno-module/191857 "2010-07-20T17:33:58Z")

</div>

\[accidentally posted this from an non-subscribed address a few minutes ago … hopefully it doesn’t show up twice\] I’m trying to add some missing handlers to the Errno module on my system. But, clearly I’m missing some…

---

## [Ruby Shoes tray icon?](https://www.ruby-forum.com/t/ruby-shoes-tray-icon/191912)

<div class="topic-metadata">

**Author:** [@MrZombie](https://www.ruby-forum.com/u/MrZombie)\
**Replies:** 4\
**Last updated:** [July 20, 2010, 5:24pm UTC](https://www.ruby-forum.com/t/ruby-shoes-tray-icon/191912 "2010-07-20T17:24:00Z")

</div>

Hi all! Any way to have Shoes drop a tray icon in the tray, regardless of the used system?

---

## [File.basename](https://www.ruby-forum.com/t/file-basename/191911)

<div class="topic-metadata">

**Author:** [@James\_OSBrien](https://www.ruby-forum.com/u/James_OSBrien)\
**Replies:** 7\
**Last updated:** [July 20, 2010, 5:04pm UTC](https://www.ruby-forum.com/t/file-basename/191911 "2010-07-20T17:04:05Z")

</div>

File.open(‘myfile’) do |f| puts f.basename; end myfile exists on the filesystem but this code blows up with undefined method \`basename’ could someone explain why (given the docs http://ruby-doc.org/core/classes/Fil…

---

## [How do I format return this value?](https://www.ruby-forum.com/t/how-do-i-format-return-this-value/191900)

<div class="topic-metadata">

**Author:** [@superwick](https://www.ruby-forum.com/u/superwick)\
**Replies:** 2\
**Last updated:** [July 20, 2010, 4:31pm UTC](https://www.ruby-forum.com/t/how-do-i-format-return-this-value/191900 "2010-07-20T16:31:52Z")

</div>

I have a method which calculates values and creates and object in a class Acalculation.new(valuea, valueb) they go to def to\_s “#{@valuea}#{@valueb}” end If valuea is 100 and valueb is 555555.5555 What would be t…

---

## [Undefined method \`call' for nil:NilClass (NoMethodError)](https://www.ruby-forum.com/t/undefined-method-call-for-nil-nilclass-nomethoderror/191901)

<div class="topic-metadata">

**Author:** [@tensaiji](https://www.ruby-forum.com/u/tensaiji)\
**Replies:** 2\
**Last updated:** [July 20, 2010, 4:10pm UTC](https://www.ruby-forum.com/t/undefined-method-call-for-nil-nilclass-nomethoderror/191901 "2010-07-20T16:10:47Z")

</div>

Hello, Just playing around with a few things in Ruby, and I’m wondering why the following script would throw an error? I’m using Ruby 1.9.1 on OSX 10.6 #!/usr/bin/env ruby -wKU puts “Welcome” h = { ‘a’ =\> lambda { …

---

## [Cpa affiliate networks awesome earnings from your home](https://www.ruby-forum.com/t/cpa-affiliate-networks-awesome-earnings-from-your-home/191904)

<div class="topic-metadata">

**Author:** [@jameser](https://www.ruby-forum.com/u/jameser)\
**Replies:** 0\
**Last updated:** [July 20, 2010, 3:15pm UTC](https://www.ruby-forum.com/t/cpa-affiliate-networks-awesome-earnings-from-your-home/191904 "2010-07-20T15:15:43Z")

</div>

CPA AFFILIATE NETWORKS AWESOME EARNINGS FROM YOUR HOME Work with online free cpa network learn how to work from your home by using cpa offers Great payout methods( cheque,paypal,wire transfer) No investment Earn from…

---

## [How to uninstall ruby on FreeBSD 8.0?](https://www.ruby-forum.com/t/how-to-uninstall-ruby-on-freebsd-8-0/191889)

<div class="topic-metadata">

**Author:** [@wilsonwang111](https://www.ruby-forum.com/u/wilsonwang111)\
**Replies:** 3\
**Last updated:** [July 20, 2010, 2:51pm UTC](https://www.ruby-forum.com/t/how-to-uninstall-ruby-on-freebsd-8-0/191889 "2010-07-20T14:51:50Z")

</div>

Dear all, I am so stupid to install ruby in a wrong way so that I don’t know how to uninstall it from my server (OS: FreeBSD 8.0) now. I did the following things: wget ftp://ftp.ruby-lang.org//pub/ruby/1…1-p378.tar…

---

## [TCPServer Muliple Clients by Name or Alias](https://www.ruby-forum.com/t/tcpserver-muliple-clients-by-name-or-alias/191879)

<div class="topic-metadata">

**Author:** [@grauenwolf](https://www.ruby-forum.com/u/grauenwolf)\
**Replies:** 1\
**Last updated:** [July 20, 2010, 1:46pm UTC](https://www.ruby-forum.com/t/tcpserver-muliple-clients-by-name-or-alias/191879 "2010-07-20T13:46:42Z")

</div>

Dear List, I have read over the TCPServer docs and I have been able to implement a simple server that supports multiple clients and will echo input back to all users. What I cannot seem to find docs on or grasp, is ho…

---

## [How to judge web exists or not with open-uri?](https://www.ruby-forum.com/t/how-to-judge-web-exists-or-not-with-open-uri/191880)

<div class="topic-metadata">

**Author:** [@luofeiyu](https://www.ruby-forum.com/u/luofeiyu)\
**Replies:** 4\
**Last updated:** [July 20, 2010, 10:10am UTC](https://www.ruby-forum.com/t/how-to-judge-web-exists-or-not-with-open-uri/191880 "2010-07-20T10:10:03Z")

</div>

would you mind to tell me how to fix it, to make the following program to run? require ‘rubygems’ require ‘open-uri’ url=“www.123.com” open(url){|file| if url don’t exists then puts “url don’t exists” else puts “ur…

---

## [Assigned but unused variable](https://www.ruby-forum.com/t/assigned-but-unused-variable/191876)

<div class="topic-metadata">

**Author:** [@SASADA\_Koichi](https://www.ruby-forum.com/u/SASADA_Koichi)\
**Replies:** 1\
**Last updated:** [July 20, 2010, 6:52am UTC](https://www.ruby-forum.com/t/assigned-but-unused-variable/191876 "2010-07-20T06:52:45Z")

</div>

e$B!!$5$5$@$G$9!%e(B e$B!!:G6ae(B ruby -w e$B$GF0$+$9$H;H$o$l$FL5$5$=$&$JJQ?t$KBP$7$Fe(B “assigned but unused variable” e$B$H7Y9p$7$F$/$l$k$h$&$G$9!%e(B e$B!!$G!$$$$D$be(B -w e$BIU$-$GF0$+$7$F$$$k;d$G$9$,!$I8=\`%i%$%…

---

## [Help with simple JRuby/Java integration](https://www.ruby-forum.com/t/help-with-simple-jruby-java-integration/191762)

<div class="topic-metadata">

**Author:** [@bluetrust](https://www.ruby-forum.com/u/bluetrust)\
**Replies:** 9\
**Last updated:** [July 20, 2010, 2:39am UTC](https://www.ruby-forum.com/t/help-with-simple-jruby-java-integration/191762 "2010-07-20T02:39:55Z")

</div>

Hi all, I’m in the process of trying to add native JRuby support to the ruby-yui-compressor gem, but I’m stumped. I thought this would be a great chance to both get familiar with JRuby and do something really useful …

---

## [Faye 0.5: WebSockets, protocol extensions and CometD integration](https://www.ruby-forum.com/t/faye-0-5-websockets-protocol-extensions-and-cometd-integration/191866)

<div class="topic-metadata">

**Author:** [@james-calivar](https://www.ruby-forum.com/u/james-calivar)\
**Replies:** 0\
**Last updated:** [July 20, 2010, 12:07am UTC](https://www.ruby-forum.com/t/faye-0-5-websockets-protocol-extensions-and-cometd-integration/191866 "2010-07-20T00:07:09Z")

</div>

Hi all, I’ve just released Faye 0.5. Faye is an easy-to-use publish-subscribe messaging system for Ruby, Node.js and web browsers, based on the Bayeux protocol. It lets you send messages between web clients without wo…

---

## [The price of a modern list architecture?](https://www.ruby-forum.com/t/the-price-of-a-modern-list-architecture/191799)

<div class="topic-metadata">

**Author:** [@Jacko](https://www.ruby-forum.com/u/Jacko)\
**Replies:** 5\
**Last updated:** [July 19, 2010, 10:10pm UTC](https://www.ruby-forum.com/t/the-price-of-a-modern-list-architecture/191799 "2010-07-19T22:10:03Z")

</div>

http://groups.google.co.uk/group/comp.lang.forth/browse\_thread/thread/ef39e59023a8ae4c/9eb9f6b99139a5df#9eb9f6b99139a5df Simple really, if Lisp’s (X , Y) construct should have limits placed on assignment of Y for trans…

---

## [Launchy 0.3.7 Released](https://www.ruby-forum.com/t/launchy-0-3-7-released/191856)

<div class="topic-metadata">

**Author:** [@jeremyheiler](https://www.ruby-forum.com/u/jeremyheiler)\
**Replies:** 0\
**Last updated:** [July 19, 2010, 9:54pm UTC](https://www.ruby-forum.com/t/launchy-0-3-7-released/191856 "2010-07-19T21:54:49Z")

</div>

launchy version 0.3.7 has been released. gem install launchy http://copiousfreetime.rubyforge.org/launchy/ Launchy is helper class for launching cross-platform applications in a fire and forget manner. There are app…

---

## [Code Review: MonoFixes](https://www.ruby-forum.com/t/code-review-monofixes/191851)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [July 19, 2010, 8:45pm UTC](https://www.ruby-forum.com/t/code-review-monofixes/191851 "2010-07-19T20:45:44Z")

</div>

tfpt review “/shelveset:MonoFixes;REDMOND\\tomat” Comment : Fixes infrastructure so that irtests work on Mono (2.6.7 preview). codeplexcomment Tomas

---

## [Driving irb from IO.popen](https://www.ruby-forum.com/t/driving-irb-from-io-popen/191748)

<div class="topic-metadata">

**Author:** [@Jean-Julien\_F](https://www.ruby-forum.com/u/Jean-Julien_F)\
**Replies:** 5\
**Last updated:** [July 19, 2010, 6:43pm UTC](https://www.ruby-forum.com/t/driving-irb-from-io-popen/191748 "2010-07-19T18:43:36Z")

</div>

Hello, I’m stuck with a problem concerning IO.popen It’s not necessarily related to irb but that’s a good point where to start. I’d like to drive irb from ruby using IO.popen. The problem is: each time I type someth…

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

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