144131-144957 subjects 144565-144960

Ruby references
144318 [Meino.Cramer] I would be very happy, if someone could give me a hint (or link ;)
144325 [assaph@gm il] ...

Re: ANN: ShortURL 0.0.1
144324 [jeevan@gm il] Just installed it and it works well. Nice work. :-)
144438 [vfoley@gm il] I just released version 0.1.0.  See http://shorturl.rubyforge.org for

Suggestion: Add definition of "POLS" to FAQ
144335 [ jupp@gm .d ] I broke the thread to avoid that this message is accidentally ignored

[rake] whishlist
144336 [dave.m@em il] hy,

[ANN] June 5 Toronto Ruby User Group meeting
144344 [mike@st k. o] We will be having our monthly meeting on Sunday June 5 at Sushi Rock.

ruby-serialport crashes on ruby 1.8.2 under Windows
144345 [muellerix@gm] I use the newest one-click-installer 1.8.2-15 and have a problem with a

How to use open uri or net/http class
144350 [sujeetkr@gm ] I am not able to access any http via Ruby program.I access internet
144353 [demerzel@gm ] HTH!
144355 [sujeetkr@gm ] I tried to run the code  of the site but it gives me error
144357 [demerzel@gm ] Could you try with an "http://" prefixed to that?

How to use access url using Ruby
144352 [sujeetkr@gm ] I am new to Ruby. I want to access http address using Ruby program .
144354 [bob.news@gm ] See "Accessing via Proxy" on

Google Summer of Code: status of Ruby Central
144362 [dblack@wo bl] There's a big buzz about the Google Summer of Code program
+ 144367 [florgro@gm i] Even if chances don't look good at this time for Ruby Central to be
+ 144369 [james_b@ne r] Maybe someone here knows:  Just how did Google announce this Summer of
+ 144372 [tanner.burso] I believe there is an option for "Other" on the application.  If I was
| 144374 [dblack@wo bl] See my previous post (crossed in the mail with yours) re the "other"
| 144383 [tanner.burso] If that's what it takes for me to get to apply this work towards
+ 144373 [dblack@wo bl] I should add: it does seem that you can still fill in the "other
+ 144391 [ptkwt@ar cn ] I'm not sure why Google was in such a hurry.  They just
  144396 [agorilla@gm ] To me, it sounds like the pre-selected the mentors, but forgot to

Where to discuss RubyGems feature
144363 [mailinglists] at the moment i'm writing a RubyGems frontend for my ArachnoRuby IDE.
144370 [agorilla@gm ] Bill Guindon (aka aGorilla)

how to create a variable with eval - solved! [WAS] Re: binding, ObjectSpace._id2ref [WAS] Re: [ANN] parseargs-0.0.0
144368 [Ara.T.Howard] everyone is!  ;-)
144385 [pit@ca it in] def a; "ouch"; end
144388 [Ara.T.Howard] hmm.  i guess here
144398 [pit@ca it in] Yes, this is what I wanted to show. "Name clash" was the wrong term.
144400 [Ara.T.Howard] check.

Ruby equiv of Perltidy?
144379 [RubyLANG@eq ] Apologies if this has been covered already but is there, or is anyone
+ 144387 [halostatue@g] What is Perltidy?
| 144394 [adrianh@qu e] Nope. For those who don't know perltidy is the Perl's code uber-
+ 144399 [marcel@ve ni] marcel
+ 144402 [drbrain@se m] refactoring tool (fixloops-demo.sh).

[Ann] RubyLexer 0.6.2
144380 [vikkous@gm i] Announcing, release 0.6.2 of RubyLexer, a hyper-correct stand-alone

still compiling opengl on OSX
144381 [enrike@al er] i am still trying to compile opengl on OSX 10.3.9
+ 144421 [trash@ph lk ] Well, the includes need to look like "#include <OpenGL/header.h>" and
+ 144447 [hramrach@ce ] You could also try the Fink rbogl package. It will compile against X11

still compiling opengl on OSX
144382 [enrike@al er] i am still trying to compile opengl on OSX 10.3.9
144457 [hramrach@ce ] You got into problems because ruby extensions are compiled with

requiring files
144390 [joevandyk@gm] If I start a Ruby application from a different directory than what the
+ 144393 [gfb@to es ft] $:.push File.expand_path(File.dirname(__FILE__))
| 144434 [assaph@gm il] ...
+ 144395 [drbrain@se m] ruby -I /path/to/libs

net/http and Windows Authentication
144403 [brian.takita] Does anybody know how to send a request to a url using Windows
144426 [daniels@pr n] A) install Python and http://ntlmaps.sourceforge.net/ and use that as

Nuby problem w/CSV, tab-delimited files & embedded double-quotes
144405 [rpardee@co c] Hey All,
+ 144406 [contact@ma k] The problem is that there's no CSV standard. The Ruby CSV library
+ 144408 [Ara.T.Howard] i think that, to be legitimate, this file would have to be
  144410 [rpardee@co c] Woah--you are giving me the freak-out with that code. 8^)
  144432 [rpardee@gm i] Come to think of it--I don't really need CSV at all for this.  I can

Re: librend 0.0.1
144416 [Digikata@gm ] This is a really interesting library, I'm currently using
144443 [kig@mi fi in] Thanks for the interest and questions :)

Compiling under cygwin - make test fails
144424 [AnthonyF@Bl ] I'm trying to compile ruby 1.8.2 under Cygwin.  ./configure and make
144429 [nobu.nokada@] Try latest snapshort or compile under a directory which doesn't
144430 [AnthonyF@Bl ] Spaces were causing the problem.  Thanks for the quick response!

YAML loader Post-processors
144428 [mailing-list] Is there any way of altering the type of data being read from a YAML

WEBRick initialization
144433 [alex@ve k. n] I have some WEBRick server that I would like to run as WEBRick::Daemon
144442 [gotoyuzo@no ] How about calling WEBrick::Daemon.start directly?

[OT] requiring files
144435 [assaph@gm il] $LOAD_PATH.push File.expand_path(File.dirname(__FILE__))

Google Summer of Code update
144436 [dblack@wo bl] Unfortunately, it's official that the Google Summer of Code program is
+ 144451 [florgro@gm i] Thanks a lot for all the effort you put into this. It is very welcome
| 144462 [surrender_it] I second the thanks from Florian, and also the "we're not out yet" :)
+ 145740 [belorion@gm ] *snip*
  145748 [agorilla@gm ] They're only expanding the students, not the mentors.  Our hope lies

How to write in a Text file
144439 [hasmukh@aa a] I am very new to Ruby. I have written some test case for my Web
144440 [dave@bu t. d] "Hasmukh K P" <hasmukh@aalayance.com> asked...

[ANN] AllInOneRuby 0.2.3
144448 [pan@er kv en] I just released version 0.2.3 of AllInOneRuby.
+ 144456 [meteum@ya oo] Nice, what modules included in the built?
| 144463 [pan@er kv en] All subdirectories in the directory Config::CONFIG["libdir"]
+ 144526 [ptkwt@ar cn ] So you used FreePascal to write AllInOneRuby?

[ANN] RubyScript2Exe 0.3.5
144449 [pan@er kv en] I just released version 0.3.5 of RubyScript2Exe.

[ANN] newsstats 1.1.2 (pre-release) is released
144450 [bsd.SANSPAM@] ABSTRACT

[QUIZ] Whiteout (#34)
144452 [james@gr yp ] 1.  Please do not post any solutions or spoiler discussion for this quiz until
144467 [dave@bu t. d] That means that a file that is just "require 'whiteout'" and then a bunch of
+ 144471 [florgro@gm i] If you are allowed to alter the shebang then you can append -ryourlib
| 144473 [james@gr yp ] #!/usr/local/bin/ruby -rwhiteout
+ 144472 [james@gr yp ] Correct.
| 144475 [drbrain@se m] I believe ParseTree can provide some of that for you.
+ 144549 [logancapaldo] The problem with doing source filters in ruby is that 'use' doesn't

RubyScript2Exe and GUI toolkits
144453 [pan@er kv en] I know that some of you use RubyScript2Exe in combination with
+ 144454 [ruby-talk@ba] I've used (some previous version of) RubyScript2Exe successfuly to bundle
+ 144455 [cribbsj@oa w] I have used RubyScript2Exe in several FXRuby applications.  The latest
+ 144470 [florgro@gm i] I've used RubyScript2Exe to bundle up my entry for the Ludum Dare 48
| + 144481 [greg.kujawa@] I have an employee survey application that I developed for my company
| | 144538 [pan@er kv en] You probably only saw the Ruby bindings for TK, not TK itself.
| | 144715 [greg.kujawa@] I saw the tk83.dll file in the unzipped directories if I am not
| | 144712 [greg.kujawa@] This option did the trick. The application launches fine using
| + 144537 [pan@er kv en] Which GUI toolkit did you use?
|   144578 [florgro@gm i] None at all. I used the ruby-gosu gaming library which handles creating
+ 144533 [kentda@pv .o] I dabbeled with RubyScript2Exe and Tar2RubyScript on a weekend about a
| 144540 [pan@er kv en] Almost... The cleanup is done by EEE, the bootstrapping program
+ 144671 [craig.m.mora] ...

Failure: test_verify(OpenSSL::TestX509Store)
144458 [ByrneJB@Ha t] I built ruby-1.8.2 stable from source (ruby-lang.org) on a CentOS4
144477 [gotoyuzo@no ] I guess the early version of libssl is installed with your
144479 [ByrneJB@Ha t] Many thanks for your prompt and informative reply.  I, sad to say,
144523 [gotoyuzo@no ] I think OpenSSL not to be so important for Rails.

[rails] newby question on validation
144465 [corti@in .e ] I am developing a small application with rails. I'll try to summarize my
144490 [joevandyk@gm] You'll probably have better luck getting answers from the Rails mailing list...

erb/apache problem
144468 [hal9000@hy e] I have an Apache server that I don't administer or configure. It
144469 [ruby-talk@ba] You could write a shell script .cgi that invokes your problem cgi, and
144483 [hal9000@hy e] A very reasonable idea, but it doesn't work for me. :(
+ 144513 [ruby.brian@g] #!/usr/bin/ruby
+ 144517 [andre@di ir ] You could install ethereal (www.ethereal.com) in your machine, and
| 144524 [paul__mcardl] This is how I got 1.6 to work on an unamed popular (read cheap) host.
+ 144551 [logancapaldo] Well that's the beginning of  your problem. Its getting EOF before

Read OpenStruct attribute name from variable
144478 [lispamateur@] Can't find that discussed anywhere, but maybe I just don't know how to
144510 [Ara.T.Howard] key = 'foo'
144692 [lispamateur@] A mathematics professor once told me that textbooks should contain

method_missing and assignment
144480 [clr5.10.rand] class A
+ 144482 [vjoel@pa h. ] It's not particularly a property of method_missing--you can't even
+ 144496 [gavin@re in ] a.foo = ["bar","baz"];

Re: newby question on validation
144484 [greg.kujawa@] You should be able to access this text field's value by referring to
144488 [corti@in .e ] if @params['a']['b'] != nil and @params['a']['b'].to_i < 100
144503 [ruby-ml@ma i] Does this work?

Re: * * * Please Read And/Or Print This! * * * Press [Ctrl][P] Keys On Your Keyb
144485 [porschefranz] I feel that censorship on the internet, by the C&A or whoever, is  * * * * *
144486 [porschefranz] Somehow i get the idea that there are people who try to establish censorship

Building a business case for Ruby
144487 [joevandyk@gm] I asked this question a little bit ago, but wanted to bring it back up.
+ 144491 [bg-rubytalk@] "We don't need a Philips screwdriver, we already have a flathead".
| + 144492 [joevandyk@gm] Thanks!
| | 144504 [mailinglists] They are almost the same.
| + 144498 [james_b@ne r] Not to be difficult, but this sort amounts to arguing that the
| + 144501 [mailinglists] You can add BMW here. Sorry if i tell you more i must shoot you.
+ 144493 [james_b@ne r] Mmmm.  Bias.  Not good.
| + 144497 [joevandyk@gm] That would be fine, in my group.  And it would be one example when
| + 144500 [jim@fr ez .o] James, you seem to be right on.
+ 144499 [jim@fr ez .o] So, you're saying they are making judgements about Ruby without actually
| 145173 [ng@jo nw on ] Jim, this is a wonderful case for Ruby. Could you write it up somewhere
+ 144509 [dan@ep rk ab] Joe,
| 144527 [dave.m@em il] You could try to do an experiment: ask or propose to your company a table
| 144528 [botp@de mo t] #Language Evaluation Table for a Test Project
+ 144531 [bob.news@gm ] This indicates that for every supported technology there's quite some
+ 144532 [Stephan.Kaem] With one more language you have one more choice - which can be a good
+ 144787 [snail@ob me ] <joevandyk@gmail.com> writes
| + 144791 [glenn.parker] I have, and it was rather painful.  Getting the reference-counting of
| + 144802 [curt@hi bs c] I like the way that Ruby extensions appear (to a Ruby program) to be a
|   + 144821 [snail@ob me ] writes
|   | 144856 [surrender_it] well, but IIRC python's extensions have this bad thing that you have to
|   | 144866 [snail@ob me ] <surrender_it@remove-yahoo.it> writes
|   | 145102 [rick@no ne .] I have written complex extensions for both Ruby and Python in both C and
|   + 145106 [nohmad@gm il] Creating a PyTypeObject (C implementation of python class) in C needs
+ 144823 [lyndon.samso] You could, er, load ruby as a python extension...
  144830 [james_b@ne r] Or sneak it in with JRuby.

Working with WxGrid
144489 [paniagua@pc ] I'm using WxGrid... Anyone knows if there is a way to eliminate the
144511 [camboris@gm ] you can use
144518 [paniagua@pc ] Thanks! It worked just fine!

Teaching Ruby
144494 [joevandyk@gm] Somewhat related to the other thread I just started.  In order to get
+ 144506 [eustaquioran] I'll give some impressions some weeks later.
+ 144508 [bg-rubytalk@] "Teaching" works best when you're not actually "teaching", but enabling
| 144646 [Mail@Jo as H] This is totally true.
+ 144512 [ruby.brian@g] But it may be that this is the wrong audience for it.
| 144648 [Mail@Jo as H] [snip]...[/snip]
+ 144643 [marcel@ve ni] Blocks, blocks and more blocks.

multiple assignments (was: method_missing and assignment)
144495 [clr5.10.rand] I should have tested the obvoius, thanks for this out.
144502 [eric_mahurin] The above isn't valid syntax because it is being parsed as an
144514 [clr5.10.rand] OK, I see.

Disabling comment processing with rdoc in C extensions
144507 [djberg96@ho ] How do you disable comment processing with rdoc in C extensions?  In
144515 [mailing-list] nikolai

ANN: ShortURL 0.2.0
144520 [vfoley@gm il] Hey guys,
144635 [vfoley@gm il] Version 0.3.0 is out the door!  gem update now!

Problem with building gem, require path
144521 [djberg96@gm ] Windows XP
144633 [erazor@mi oc] i found that rubygems copies the libraries in the first require_path,

Help, how to download a binary file through Net::HTTP
144522 [eric.wenbl@g] ...
+ 144525 [discordantus] require 'net/http'
+ 144530 [pan@er kv en] You can't download a file. But you can download the contents of
  144563 [martindemell] A #download(source, dest) might not be such a bad addition to the API,

Re: AllInOneRuby 0.2.3
144529 [google@er kv] Shocked?...

ANN: eric3 3.7.0 released
144534 [detlev@di -o] this is to let all of you know about the release of eric3 3.7.0. Next to
144590 [Richard_Dale] Very nice! I think this is a pretty good advertisment for the pyqt bindings.

ruby-dev summary 26128-26222
144535 [aamine@lo er] This is a summary of ruby-dev ML in these days.
144547 [aredridel@nb] My first thought is that the optparse API is much nicer -- it could be
+ 144553 [michael.camp] ropt looks more like what I'm used to in the unix world; I think
+ 144554 [djberg96@gm ] I concur.  Folks would do well to take a look at Perl's Getopt::Std and
| 144555 [michael.camp] ?  perl's getopt::Std looks pretty much like what ropt looks like... no?
+ 144556 [drbrain@se m] What I like about optparse is that it is so simple to get a usage
| 144576 [lorisx@gm il] I don't think so. It seems to me you can leave out a great quantity of
| 144582 [drbrain@se m] $ cat x.rb
| 144585 [lorisx@gm il] Sure, if -s is sufficient for your purposes.
| 144587 [drbrain@se m] Exactly, when -s is sufficient, optparse is overkill.  When it is
+ 144744 [nobu.nokada@] ropts also is nice enough as OO-style, and closer to getopts,

[ANN] RubyWebDialogs 0.2.0
144536 [pan@er kv en] I just released version 0.2.0 of RubyWebDialogs.
+ 144539 [dave.m@em il] uau!
+ 144550 [mvondung@gm ] Thanks for that, too. It's actually exactly what I needed for a tiny,

Converting variable-length binary value
144545 [B.Candler@po] I'm sure there ought to be a Ruby function to do this, but I've been
+ 144546 [discordantus] You're on the right track... It looks like you're just doing too much
+ 144596 [B.Candler@po] irb(main):006:0> 1234.to_s(16)

AllInOneRuby 0.2.3 on SunOS?
144548 [xeno@es im .] Say, my ISP, Eskimo.com, is decidedly not into installing new software
144552 [mailinglists] Change your ISP !

Calling a procedure with dinamyc name
144557 [paniagua@pc ] I'm using Kirbybase database and it has the peculiar way to access
+ 144558 [sera@fh an .] field = 'client_id'
| 144559 [paniagua@pc ] For the the Kirbybase it seems like the right option.  As for the other
| 144561 [sera@fh an .] You could look at either Object#methods or Object#respond_to? depending
+ 144560 [mrcode@ne ro] field = 'client_id'
  144562 [paniagua@pc ] Thanks!  I think that for Kirbybase I will get the method using the

Question about string's in-place modification
144564 [sam.s.kong@g] I wonder how destructive methods work in the behind.
+ 144566 [gfb@to es ft] Just look into string.c in Ruby distribution. It's open source, after
+ 144570 [dblack@wo bl] The references aren't the same as memory pointers, though.  They're a
+ 144571 [cyclists@nc ] Don't think of an object's id as a memory address. Think of it as a
+ 144575 [mailinglists] puts s #->>'12three45'