316917-317855 subjects 317371-372349

How to achieve syncshell service in Net::SSH v2 ?
317174 [cooldudevams] I have been using Net::SSH package for quite a long time and been using

SOAP '-' problem
317176 [krzysztofkac] I try to use this wsdl: http://webapi.allegro.pl/uploader.php?wsdl .
317183 [mark@th ma z] On Oct 8, 5:33=A0am, Krzysztof Kaczmarek

Build problems on OS X PPC
317178 [mike@st k. a] ...
317208 [ryand-ruby@z] ruby-core would get the quickest response.

calling methods of subclassed thread
317184 [christoforev] As you will see at the bottom of this code snippet, i've commented out
+ 317190 [pit.capitain] Chris, add
| 317203 [christoforev] ent.
| 317241 [shortcutter@] It executes and throws but you do not see the exception because
+ 317194 [shortcutter@] ...

Activesupport bug?
317188 [angel.of.nor] Ruby 1.9 does not work with rails.  My ruby1.9 cannot work with rails and
317213 [b.candler@po] I'm afraid you're asking on the wrong mailing list. This one is for

Plug and play installation for zena CMS
317192 [gaspard@te i] Since the most difficult part for the moment is getting zena to work

Memory leak problem
317199 [elioncho@gm ] I have a txt file with some data that i need to import to de database.
+ 317300 [rogerpack200] Yes that's right.  You've possibly run into an infamous "ruby's GC is
+ 317307 [danielhoey1@] I would suggest that you don't use member variables in this situation

Suggestions for common/global data in app (cli)
317200 [sentinel.200] I am writing a (my first) client side ruby app. Many programs use the
+ 317205 [vjoel@pa h. ] It also provides a utility method to find the right user dir to store
| 317206 [sentinel.200] Thanks, looks good. My app should become pretty large. I like the idea
+ 317211 [b.candler@po] This is very common.
| 317214 [sentinel.200] Small question. The app is not separate programs loaded from the command
| + 317234 [sentinel.200] Thanks for the tip on dependency injection. Did some reading up last
| + 317245 [b.candler@po] Yes. Your apps will be written in such a way that they're somewhat tied
+ 317237 [ara.t.howard] gem install configuration

How to use ruby, csv and webservice? Need a direction.
317201 [nick.gorbiko] I'm just a bit confused and need some direction here.
317202 [demerzel@gm ] ...
317215 [nick.gorbiko] Thanks, Shajith.

Re: scheduler 0.3
317207 [rem.gagnon@g] Do you have a little example to use it?

gem 1.3.0, netbeans 6.1 "Missing the Rails gem"
317209 [paqs140482@g] ...
+ 317210 [james.britt@] Have you asked on the Rails mailing list?    You would likely get more,
+ 317225 [drbrain@se m] No it doesn't.  Check your version numbers again, and check `which gem`.
+ 317233 [Prashant.Sri] Pablo, you might post to the Netbeans Ruby forum too, just in case this
  317236 [Prashant.Sri] Also, can you not only look at the Ruby platform (which the flickr

need help with Hpricot
317217 [chen_li3@ya ] I try to get"Slang " and "A close companion or comrade." ONLY out of
317284 [mark@th ma z] There's not a whole lot of HTML structure there. If you can
317288 [chen_li3@ya ] Thank you for the suggestion.

class_exec for 1.8.6?
317218 [henrik@ny .s] In Ruby 1.8.6, I want to evaluate a block of code like

gem_original_require zlib problem
317219 [stephen.g.da] I'm trying to just to a first time install of gems (and net/ssh ) in
+ 317220 [caduceass@gm] I had a similar error in Ubuntu, but I think I fixed it by making sure
+ 317246 [b.candler@po] If you built ruby itself from source, this means that the zlib extension
  317258 [hburney@ho v] I have been wrestling with this issue as well. How do I check for a
  + 317274 [b.candler@po] rpm -qa | grep zlib
  + 317281 [stephen.g.da] It appears that we were able to finally get Ruby to bind to the openssl

Auto-recognize links?
317221 [josh@sa ot g] In PHP I've got a few functions that will turn data into links based on
317223 [notheory@gm ] I think everything you'd need to do to validate and produce links should
317227 [henrik@ny .s] URI.extract("Visit http://google.com/.")  # => ["http://google.com/."]
317372 [lrlebron@gm ] tHelper.html...

Re: ruby-ole-1.2.8 released!
317222 [aquasync@gm ] No there's no windows dependency. If you're looking for a library to
317353 [james.herdma] ...

SUSE libopenssl-ruby1.8 install
317224 [stephen.g.da] I'm getting a failure to use gem net-ssh on a SUSE Linux 10 machine.

Looking for recommandations for Ruby parsing packages
317226 [kenneth.m.mc] I have need to build a parser, and was wondering if people could tell
317311 [ryand-ruby@z] what are your requirements for such a package?

Filling a hash from an enumerable
317228 [phodgson@ly ] Person = Struct.new(:name,:age,:city)
+ 317229 [botp@de mo t] # people_map =3D people_array.to_map{ |x| x.name }
| 317232 [botp@de mo t] # >> people_array.map{ |p| p.name }
| 317239 [phodgson@ly ] Thanks, but that's not quite what I wanted. It creates a hash whose
| + 317249 [botp@de mo t] # >> people_array.group_by{ |p| p.name }
| + 317251 [transfire@gm] You mean like "map hash", aka "mash".
+ 317231 [transfire@gm] Facets has #graph / #mash.
+ 317240 [w_a_x_man@ya] Hash[ * people_array.map{|x| [ x.name, x ] }.flatten ]
  317242 [shortcutter@] irb(main):001:0> require 'pp'

Dynamically naming an Object
317230 [john@jo ng a] I'm new to ruby, so this may be simple, but I can not figure it out.
317244 [shortcutter@] You did not state which objects you want to dynamically generate names for...

[ANN] webby 0.9.3 (Bill Gates Alien Love Child)
317238 [tim.pease@gm] Webby version 0.9.3

integration testing tools? story runner, rbehave, cucumber?
317247 [gernot@NO E0] Dear all,
317253 [transfire@gm] "A few days ago, David Chelimsky announced that RSpec's Story Runner
317294 [gernot@NO E0] Thank you, yes, I found this entry in my searchd but did not notice the

Bug in Vector class?
317252 [dave.baldwin] ...
+ 317260 [tpreal@gm il] I think it should not. Either the programmer knows what he or she is
| 317275 [dave.baldwin] The Vector class doesn't seem to have any idea that it is representing
| 317277 [tpreal@gm il] Vector.elements([1,2,3])*Matrix.identity(1)
| 317305 [dave.baldwin] OK, so you demonstrated a degenerate case that is not much use as you
+ 317262 [dave.baldwin] ...

Builder::XmlMarkup extra to_s tag
317254 [ted@ya oo co] I'm trying to print out some xml and don't know what I'm doing. I'm getting
317255 [Rob@Ag le on] xml = Builder::XmlMarkup.new(:target=>f, :indent=>2)
317440 [ted@ya oo co] thanks Rob.

rake: where to submit bug report
317256 [jan.aerts@gm] Can anyone tell me where I can submit a bug report for rake? I've
317257 [james@gr yp ] Hope that helps.

317259 [transfire@gm] Ok. How about any interest in creating Tk GUIs form an xml markup. Eg.
317279 [martindemell] Why not builder-style ruby markup?
+ 317280 [gregory.t.br] Root(:name => :test, :title => "test) do
+ 317291 [transfire@gm] ile", :underline =3D> 0}, ...

Enumerating constants in anonymous modules
317261 [contact@rh h] How can I enumerate all the constants inside the module in the second
317264 [dblack@ru yp] See comments in code, below.
317267 [contact@rh h] I'm not really sure what I need, I'll do some more reading and come back

317263 [John.Hyaduck] unsubscribe

317265 [arulselvi3@g] Computer - Wikipedia, the free encyclopedia

317269 [virsadhu@ya ] ...

simple regexp help needed - pull phrase out of string
317271 [toastkid.wil] Hey folks.  I feel like this should be easy but it's been a long week
+ 317272 [Rob@Ag le on] => "banana"
+ 317296 [patrick.he@g] irb(main):007:0> str.scan(/password:([^\s]+)/)[0]
  317320 [toastkid.wil] Aha, 'scan', that's great thanks.
  317322 [sepp2k@go gl] Yeah, though not really the most sensible in this case. Also you'd have to do
  317327 [toastkid.wil] Even better, many thanks.

Re: Calling all Ruby Developers
317278 [jaysduc@pe t] Use jaysduc@pentaconsulting.com or 020 8254 7487

Compile time options
317282 [barjunk@at g] I'm goofing around with compiling ruby from source.
317287 [Prashant.Sri] It's definitely a good thing to specify the architecture of the chip

"print" not showing immediately in output, but "puts" is
317286 [tennisbum200] Several times I have come across this issue. It seems to be dependent on
317289 [Rob@Ag le on] It's your terminal doing line buffering on the output.
317292 [tennisbum200] Thanks for the information Rob.
317295 [keeperotphon] ...
317319 [tennisbum200] great, that seems to do it.

Installing 1.9 from binaries on Windows Qs
317293 [ABilyk@ma is] There is no one-click installer for 1.9 on Windows as far as I can tell. Do=

ie.start & ie.new
317297 [pillaivij@gm] I am a beginner to Ruby & Watir, as new as three days :) I am facing
317375 [pmr16366@gm ] search the watir mailing list for an answer. Its been asked several

This can't get more amazing see for yourself! http://tardis-db.co.uk/
317298 [kkatovic@pe ] This can't get more amazing see for yourself! http://tardis-db.co.uk/

Error with gems 1.2.0 on ubuntu hardy
317299 [brunormoura@] First I apologize my poor English.
317310 [b.candler@po] You need to compile and install ruby again from source, but this time
317352 [brunormoura@] Thank's but After zlib1g libs installation the problem has not solved
317354 [b.candler@po] zlib1g-dev
317360 [brunormoura@] Thanks again Brian
+ 317364 [b.candler@po] Now look in ext/zlib/mkmf.log - that will probably tell you why the zlib
+ 317368 [brunormoura@] Brian, I  followed this tutorial and gotcha!

parse tree for 1.9
317301 [rogerpack200] Anybody know if there is anything like parse_tree for 1.9?
+ 317309 [alex@de et m] Perhaps RubyVM::InstructionSequence.compile or
| 317317 [ryand-ruby@z] unfortunately, no... that's not even close. :(
+ 317315 [drbrain@se m] require 'ripper'
+ 317316 [ryand-ruby@z] ruby_parser (new and massively improved release coming soon)... don't

[ANN] stickler 0.1.0 Released
317302 [jeremy@hi eg] stickler version 0.1.0 has been released.
317365 [drbrain@se m] Which is clearer than my english description, "matches a version from
317370 [jeremy@hi eg] Thanks.
+ 317376 [martindemell] martin
+ 317390 [ryand-ruby@z] "automatic range"?
  317423 [paqs140482@g] ...
  317432 [jeremy@hi eg] Yup, bug from when I was testing using progress bar for showing progress.

Parameterising RSpec tests
317303 [monch1962@gm] I'm trying to work out how to use RSpec to bundle up some existing

.rb to .html - syntax higlighting
317304 [frantisek.ps] is there an easy way to generate nice colored .html form .rb? something
+ 317324 [Richard.Brad] gives several options
+ 317325 [transfire@gm] On Oct 10, 3:35=A0am, Frantisek Psotka <frantisek.pso...@matfyz.cz>

317306 [xieyubo@gm i] ...

Help me to better understand modules
317308 [user@do ai .] theirs principle for a basic usage but get quite unsure for the present
317367 [b.candler@po] In principle it should be fine. Modules are just objects, and I believe
317391 [user@do ai .] Thank you Brian, for this very valuable explanation - It's very clear to
317416 [b.candler@po] That's right - you are explicitly calling a method which belongs to the

[ANN] hoe 1.8.0 Released
317312 [ryand-ruby@z] hoe version 1.8.0 has been released!

[ANN] minitest 1.3.0 Released
317313 [ryand-ruby@z] minitest version 1.3.0 has been released!

[ANN] minitest_tu_shim 1.3.0 Released
317314 [ryand-ruby@z] minitest_tu_shim version 1.3.0 has been released!

comp.lang.ruby u just click get some doller
317321 [govindharaj.] www.artsandscience4.blogspot.com

Thread: super should be first line or last line?
317326 [christoforev] While playing around with ruby threads I noticed that if you dont call
+ 317329 [perfectly.no] Sorry, I haven't a direct answer. Do you have a good reason to
| 317332 [christoforev] On Oct 10, 9:43=A0am, Stefan Lang <perfectly.normal.hac...@gmail.com>
| + 317336 [pit.capitain] There's nothing special going on. If you override a method in a
| + 317366 [b.candler@po] Another option to consider is using thread-local variables, rather than
+ 317340 [dblack@ru yp] I assume it's just how Thread#initialize is defined. If it yields to
+ 317355 [vjoel@pa h. ] class MyThread < Thread
+ 317374 [shortcutter@] irb(main):001:0> class T < Thread
+ 317378 [charles.nutt] I'll echo others' concerns about why you're doing this, but if the
  317387 [christoforev] On Oct 10, 6:19=A0pm, Charles Oliver Nutter <charles.nut...@sun.com>
  317393 [shortcutter@] There is no run method in Ruby's threads.

how to copy data to clipboard
317328 [chen_li3@ya ] I want to send the  word "copy" to the clipboard  and trigger an event
317331 [alex@de et m] It depends what platform you're using.

rescue clause
317330 [wpdster@gm i] ...
+ 317335 [sandro.pagan] ...
+ 317339 [perfectly.no] The the first rescue clause and the SystemExit in the second clause
  317341 [wpdster@gm i] ...

need help with win32-sapi
317333 [chen_li3@ya ] I try to do some 'text to speach' stuff using win32-sapi.
317637 [chen_li3@ya ] I solve this problem by myself as following(it crosses my mind when I

[ANN]  October Phoenix Ruby User Group Meeting: Ruby + Wii
317334 [james.britt@] [ANN]  October Phoenix Ruby User Group Meeting

[QUIZ] Modular Arithmetic (#179)
317337 [matt@mo s. a] -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
+ 317346 [Rob@Ag le on] Modulo.new(value=0, modulus=26)
| 317348 [matt@mo s. a] Yes...
+ 317362 [kbloom@gm il] Mod26=ModularBase.new(26)
| 317369 [matt@mo s. a] This issue requires some sort of design decision, which I
+ 317484 [caduceass@gm] T24gRnJpLCBPY3QgMTAsIDIwMDggYXQgMTA6MTMgQU0sIE1hdHRoZXcgTW9zcyA8bWF0dEBtb3Nz
| 317501 [kbloom@gm il] That only takes one more line to fix
+ 317493 [andrea.fazzi] class Modulo
+ 317496 [Rob@Ag le on] ...
+ 317497 [Rob@Ag le on] I agreed with Matthew's design choices regarding the type of "Integer
+ 317512 [caduceass@gm] Same as previous, but with #coerce, #recurse, and #/
+ 317525 [andrea.fazzi] I realized that Modulo#modularize contains a lot of useless conditionals.
+ 317562 [gregory.t.br] Doesn't handle division, may have some other issues, but more-or-less works.

Ruby Sleep
317342 [ricardogg@gm] Ruby sleep is based on the system time, and it doesn't work well for me,
+ 317343 [dave@pr gp o] Does your system support select()?
| + 317356 [ricardogg@gm] yes
| + 317357 [vjoel@pa h. ] Doesn't #sleep use select() anyway, via rb_thread_wait_for()?
|   317358 [vjoel@pa h. ] $ strace ruby -e '3.times {sleep 1}' 2>&1 | tail
+ 317377 [shortcutter@] What exactly is this supposed to mean?  Does your system clock change
  317379 [charles.nutt] System clocks are not generally guaranteed to be accurate to the same

Running Multiple Versions of Ruby on Debian?
317344 [indiehead@gm] Well so far things are going kind of good, I've built my own server and
+ 317347 [stefano.croc] I'd also suggest to pass configure the --program-prefix or --program-suffix
| 317350 [indiehead@gm] Thanks Stefano,
| 317351 [stefano.croc] not
+ 317349 [hassan.schro] I just create  files with appropriate PATH settings, like
+ 318086 [ shot@ho .p ] I run hand-compiled Ruby 1.8.6, 1.8.7 and 1.9.0 alongside

mkmf generates corrupt makefile in 1.8.6
317345 [avdi@av i. r] I just noticed (because libxml-ruby wouldn't compile) that the mkmf.rb
317382 [nobu@ru y- a] from where and how did you installed it?  The file in the SVN
+ 317385 [nobu@ru y- a] Anyway, I've modified those lines as preventive measures
+ 317431 [avdi@av i. r] MacPorts.

Why is Ruby Website Search Broken?
317359 [stephen.g.da] Is it just me, or is everyone aware that the Ruby main search is broken
317380 [caduceass@gm] What site are you talking about, exactly?
317381 [stephen.g.da] THE main Ruby WebSite
317438 [shevegen@li ] Works for me.

RichUnits 0.4.0
317361 [transfire@gm] Just wanted to let you know about the RichUnits project. This is a

Writing an OO wrapper (UI)
317363 [sentinel.200] I am writing an app generator for ncurses-ruby.
317388 [martindemell] Could you paste in some of your switch/case code? It would suggest
+ 317389 [sentinel.200] Have been checking a lot of ncurses wrappers. Sadly, many ruby projects
+ 317392 [sentinel.200] Am going thru the jttui source. I like the way he has done buttons,
  317394 [martindemell] As a fan of TUIs I'm looking forward to seeing your library :) You
  + 317398 [sentinel.200] Thanks to your interest, I put up some screenshots and a quick writeup
  + 317399 [sentinel.200] *dazed*
  + 317458 [sentinel.200] You
    317474 [martindemell] Not at all :) I took a look at your screenshots, looks pretty
    317475 [sentinel.200] First of all, I hope to *make* the OO layer over curses. Yes, it should