317188-339382

316985-317855 subjects 317400-338598

^ 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 teti] Since the most difficult part for the moment is getting zena to work

^ Memory leak problem
317199 [elioncho gma] 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 path.b] 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 gma] Does open-uri help?
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] I'm on ubuntu 8.04 and I'm using  netbeans 6.1 with native ruby option.
+ 317210 [james.britt ] Have you asked on the Rails mailing list?    You would likely get more,
+ 317225 [drbrain segm] 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 yah] I try to get"Slang " and "A close companion or comrade." ONLY out of
317284 [mark thomasz] There's not a whole lot of HTML structure there. If you can
317288 [chen_li3 yah] Thank you for the suggestion.

^ class_exec for 1.8.6?
317218 [henrik nyh.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 hoov] 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 sabotag] In PHP I've got a few functions that will turn data into links based on
317223 [notheory gma] I think everything you'd need to do to validate and produce links should
317227 [henrik nyh.s] URI.extract("Visit http://google.com/.")  # => ["http://google.com/."]
317372 [lrlebron gma] tHelper.html...

^ Re: ruby-ole-1.2.8 released!
317222 [aquasync gma] No there's no windows dependency. If you're looking for a library to
317353 [james.herdma] One wouldn't think so, but that seems to be the way the Windows Win32OLE

^ 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 lyr] Person = Struct.new(:name,:age,:city)
+ 317229 [botp delmont] # people_map =3D people_array.to_map{ |x| x.name }
| 317232 [botp delmont] # >> people_array.map{ |p| p.name }
| 317239 [phodgson lyr] Thanks, but that's not quite what I wanted. It creates a hash whose
| + 317249 [botp delmont] # >> 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 johngea] 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 NOTE0] Dear all,
317253 [transfire gm] "A few days ago, David Chelimsky announced that RSpec's Story Runner
317294 [gernot NOTE0] Thank you, yes, I found this entry in my searchd but did not notice the

^ Bug in Vector class?
317252 [dave.baldwin] charset=US-ASCII;
+ 317260 [tpreal gmail] 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 gmail] 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] charset=US-ASCII;

^ Builder::XmlMarkup extra to_s tag
317254 [ted yahoo.co] I'm trying to print out some xml and don't know what I'm doing. I'm getting
317255 [Rob AgileCon] xml = Builder::XmlMarkup.new(:target=>f, :indent=>2)
317440 [ted yahoo.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 graypr] Hope that helps.

^ tkxml
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 rhnh] How can I enumerate all the constants inside the module in the second
317264 [dblack rubyp] See comments in code, below.
317267 [contact rhnh] I'm not really sure what I need, I'll do some more reading and come back

^ unsubscribe
317263 [John.Hyaduck] unsubscribe

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

^ unsubscribe
317269 [virsadhu yah] unsubscribe

^ 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 AgileCon] => "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 googl] Yeah, though not really the most sensible in this case. Also you'd have to =
  317327 [toastkid.wil] Even better, many thanks.

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

^ Compile time options
317282 [barjunk attg] 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 AgileCon] It's your terminal doing line buffering on the output.
317292 [tennisbum200] Thanks for the information Rob.
317295 [keeperotphon] STDOUT.flush needs to be put after output, but before a gets call, for
317319 [tennisbum200] great, that seems to do it.

^ Installing 1.9 from binaries on Windows Qs
317293 [ABilyk maxis] 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 gma] 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 pea] 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 deletem] Perhaps RubyVM::InstructionSequence.compile or
| 317317 [ryand-ruby z] unfortunately, no... that's not even close. :(
+ 317315 [drbrain segm] 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 hineg] stickler version 0.1.0 has been released.
317365 [drbrain segm] Which is clearer than my english description, "matches a version from
317370 [jeremy hineg] Thanks.
+ 317376 [martindemell] martin
+ 317390 [ryand-ruby z] "automatic range"?
  317423 [paqs140482 g] I installed it but I got this error trying to setup the repository. I fixed
  317432 [jeremy hineg] 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>

^ unsubscribe
317306 [xieyubo gmai] unsubscribe

^ Help me to better understand modules
317308 [user domain.] 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 domain.] 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 rubyp] I assume it's just how Thread#initialize is defined. If it yields to
+ 317355 [vjoel path.b] 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 yah] I want to send the  word "copy" to the clipboard  and trigger an event
317331 [alex deletem] It depends what platform you're using.

^ rescue clause
317330 [wpdster gmai] I have been looking at the source code for rake (as you can probably tell
+ 317335 [sandro.pagan] The difference seems to be in that ' OptionParser::InvalidOption ' token
+ 317339 [perfectly.no] The the first rescue clause and the SystemExit in the second clause
  317341 [wpdster gmai] rescue Exception => ex

^ need help with win32-sapi
317333 [chen_li3 yah] I try to do some 'text to speach' stuff using win32-sapi.
317637 [chen_li3 yah] 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 moss.na] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D=
+ 317346 [Rob AgileCon] Modulo.new(value=0, modulus=26)
| 317348 [matt moss.na] Yes...
+ 317362 [kbloom gmail] Mod26=ModularBase.new(26)
| 317369 [matt moss.na] This issue requires some sort of design decision, which I
+ 317484 [caduceass gm] T24gRnJpLCBPY3QgMTAsIDIwMDggYXQgMTA6MTMgQU0sIE1hdHRoZXcgTW9zcyA8bWF0dEBtb3Nz
| 317501 [kbloom gmail] That only takes one more line to fix
+ 317493 [andrea.fazzi] class Modulo
+ 317496 [Rob AgileCon] ...
+ 317497 [Rob AgileCon] 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 pragpro] Does your system support select()?
| + 317356 [ricardogg gm] yes
| + 317357 [vjoel path.b] Doesn't #sleep use select() anyway, via rb_thread_wait_for()?
|   317358 [vjoel path.b] $ 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 hot.pl] 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 avdi.or] I just noticed (because libxml-ruby wouldn't compile) that the mkmf.rb
317382 [nobu ruby-la] from where and how did you installed it?  The file in the SVN
+ 317385 [nobu ruby-la] Anyway, I've modified those lines as preventive measures
+ 317431 [avdi avdi.or] 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 lin] 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

^ Accesing core File class
317371 [etaern yahoo] Hey , I have to deal with some classes written by someone else , and ,
317373 [etaern yahoo] using ::File worked.

^ Automatic ClassLoader (to eliminate 'require')
317395 [axyd80 gmail] interpreter encounters an unknown Class and going to raise the
+ 317396 [james.britt ] James Britt
+ 317397 [erikveen gma] module AutoRequire
  317402 [axyd80 gmail] Thanks! It works! :)
  317403 [tpreal gmail] There might be some drawbacks in this approach, like now you cannot
  317404 [axyd80 gmail] I'm hurry up, there are some bugs in current implementation. Do not use
  339348 [axyd80 gmail] I released it as gem, Quick Start here
  + 339350 [axyd80 gmail] forgot, gem name is RubyExt
  + 339374 [shortcutter ] Maybe you add a little abstract how this is better than "autoload".
    339376 [axyd80 gmail] Not exactly understood what you mean, as i know 'autoload' works almost
    339378 [shortcutter ] Not necessarily.  Basically you need this only for the first constant
    339381 [axyd80 gmail] Now i understood, you are absolutely right, explicit 'require' gives you
    339382 [axyd80 gmail] Yes, it inspired by Java ClassLoader :)
threads.html
top