237421-246391

237266-238157 subjects 237644-245160

^ releasing under win32
237421 [peter rubyra] I am developing a ruby package under linux. When I packaged it into a
237621 [ryand-ruby z] I certainly don't package it special. I have to assume that their
237623 [peter rubyra] Thanks. This was what I wanted to hear :-)

^ Expect Module and Bash script
237422 [rblove airma] How do I use ruby expect to feed input to a simple bash script?  Here
237452 [rodrigo.berm] tricky but should work
237487 [rblove airma] Uh, thanks but it doesn't use the expect module at all.  Does it not

^ Re: rcodetools 0.5.0 (TDD++, automagic assertions, 100% accurate completion, doc/code browsing...)
237425 [fabian.erbac] thanks for the new release, it's great to have real auto-complete.
237474 [ mfp acm.org] Yes, that's the way it's meant to work :)
237673 [fabian.erbac] thanks for your reply. The completion works fine for me but I can't
238152 [ mfp acm.org] Is FastRI working OK for you otherwise?

^ Hash#rekey
237430 [transfire gm] There are a few facets (ie. extensions) I find myself using often. One
+ 237451 [gwtmp01 mac.] I seem to remember that matz backed off from this idea.
| 237456 [transfire gm] I think he backed off making Symbol a subclass of String, but I think
| 237555 [matz ruby-la] No.  "foo" and :foo are different keys in a hash.
| 237564 [transfire gm] And never the twain shall meet? So it's long live
| 237566 [matz ruby-la] The HashWithIndifferentAccess behavior will not be default even after
| + 237582 [twifkak comc] I quite like this idea.
| + 237586 [transfire gm] Okay, well I though the whole reason you considerd making Symbols a
| | 237765 [matz ruby-la] For me, 'rekey' is meaningless.  Coined word need guessing, which is
| | + 237785 [martindemell] alter_key(s), perhaps
| | | 237788 [B.Candler po] # existing
| | + 237793 [transfire gm] The use of re- as a prefix is very normal in English. Consider Merriam-
| |   237969 [matz ruby-la] Of course I know the prefix pre-, but it is difficult (for me at
| |   238115 [bofh softmed] what about reindex ? hash is a dictionary, and the method.. reindexes it
| + 238251 [steven lumos] How about this?
+ 237455 [transfire gm] Sheesh I forgot the most basic examples!

^ Gem Namespaces
237432 [transfire gm] I know I will probably be lambasted by the usual lambasting sort,
+ 237435 [halostatue g] RubyForge currently ensures that the only traits gem that will exist
| 237446 [transfire gm] That's too bad, I think. For instance, I have my own rendition of
+ 237484 [tom infoethe] A note on this - anyone on RubyForge can create and release a gem called

^ PHP in instant rails
237437 [hanan_mneimn] I'm trying to use php in rhtml(views) of Instant rails, but it is not
+ 237439 [tamreenkhan ] Well, javascript is handled by the browser, so it doesn't matter what server
+ 237510 [mr.cruft gma] You cannot use php in an rhtml file, only ERb.  It's just the way Rails
| 237515 [ml.chibbs gm] Instant Rails includes PHP because PHP is needed to run MyPhpAdmin. You
+ 237784 [threeeyedfis] Just out of curiosity ¡½ why do you need to use PHP in your Rails app?
  238057 [hanan_mneimn] Just for thesis purpose
  238060 [sam powersou] To my knowledge, PHP is included in Instant Rails only to provide access

^ Creating child processes in Windows?
237442 [sonny.chee g] Hey Guys,
+ 237447 [khaines enig] Here's something that I use as part of my test support package for IOWA.
+ 237464 [ara.t.howard] gem install systemu
+ 237869 [vjoel path.b] Thread.new do

^ Enumerated Types
237443 [dan.stevens.] As part of a solution, I wish the value of an attribute to be one of a
+ 237444 [shortcutter ] I believe there are enum classes in the RAA.  If you do not want to use
| 237683 [dan.stevens.] It seems to me that I should simply be able to use symbols as values
| + 237685 [logancapaldo] class Color
| + 237893 [shortcutter ] That's perfectly ok.  If you need your enums only for mapping then I'd
+ 237709 [drosihn gmai] # -------+---------+---------+-------- + --------+---------+---------+---------+

^ UTF in Regexp
237450 [a menhardt.c] I am sorrrrrry, but I am banging my head against this, and can't seem to
237458 [jan.svitok g] 1. it's possible to insert the chars directly, either in octal (226 =

^ Using Tk in Ruby 185
237457 [mliebelt web] today I upgrade from Ruby 1.82 to 1.85-21, I installed it under windows
+ 237460 [wonado donne] 2006-02
| 246305 [canol canol.] Do you know what the reason is? I just started to learn Ruby. I hardly
| 246391 [vagabond cat] I've run into this problem myself. ActiveTcl has a somewhat annoying
+ 237502 [nagai ai.kyu] Possibly, one-click-installer 185 supports Tcl/Tk8.4 only
  237533 [mliebelt web] Thank you a lot. After installing the current Tcl Environment, the

^ :foo is the same as "foo" (but only sometimes!) (was Re: Hash#rekey)
237462 [logancapaldo] Incidently, I'd like to point out why I think that's an especially bad
237624 [ryand-ruby z] % ./ruby-19 -v -e 'p ["foo", :foo, 2].uniq'
237637 [logancapaldo] Yeah I gathered as much from matz's replies

^ yet another linux <-> win32 question
237463 [peter rubyra] Sorry for these dumb questions but I am really off when it comes to
+ 237465 [ara.t.howard] gem install linux ??
| 237467 [peter rubyra] peter@brain:~$ sudo gem install linux
+ 237466 [logancapaldo] Did you #close the file before you tried to delete it?
  237468 [peter rubyra] Yep. This does not help...
  237471 [cmshea gmail] Have you tried using Tempfile instead? Or would Tempfile not fit your
  237472 [peter rubyra] Thanks for the tip! I will try it with a Temofile now and let's see.

^ gem issue
237469 [tim.pease gm] I'm working on Ruby program that will have a resource directory for
237478 [transfire gm] File.read(__FILE__).split("__END__").last
237553 [tim.pease gm] I'm trying to be clever in the way I bootstrap this config file into

^ Re: OO Design question for Net::HTTP caching extension
237470 [rz linux-m68] same old request.. could Net::HTTP use proxy by default?

^ Manipulating CSV files over SSH
237475 [olsonas gmai] All -
+ 237479 [logancapaldo] ssh user@host -x 'cat large.csv' | your_script
| 237481 [cameron.mcbr] That is essentially downloading the entire file, which he doesn't want to do.
+ 237480 [jan.svitok g] The natural way would be to upload the script there and run it on he
+ 237485 [thomas hafne] Where shall the result of that splitting reside? Also on the same unix
  237491 [olsonas gmai] Yes, I'd like the split files to be on the unix box as well. Obviously,
  + 237567 [olsonas gmai] Any ideas? If I can't do this with ruby does anyone here have any ksh or
  | 237650 [pbooth marke] charset="ISO-8859-1"
  + 237569 [ara.t.howard] installing rails would be a twenty ton sledgehammer approach.

^ [ANN] Transaction::Simple 1.4.0 Released
237486 [halostatue g] After nearly two years, Transaction::Simple 1.4.0 has been released.
237608 [gregory.t.br] Good work Austin!  Exciting to hear this.
237609 [gregory.t.br] Whoops, that was supposed to go off list, but nothing wrong with

^ Contributing back to the source (Was: Gem Namespaces)
237490 [drbrain segm] Why don't you instead adapt your changes into a patch and file it in
237492 [transfire gm] It not just one or two things, though. It's a good bit different in
237669 [drbrain segm] Ryan implemented an auto-config, but still as a separate stage...  It
237672 [ara.t.howard] i'm with eric.  when you take a wrong turn on the trail turn back fast!  not
237703 [transfire gm] fair enough. I'll send you a copy of mine and see waht we can work

^ [ANN] Ruby Reports 0.8
237493 [gregory.t.br] = Ruby Reports 0.8 : The "Evil Goldberg" Edition
237494 [gregory.t.br] That was some map to minnesota. Whoops.

^ Why this ruby code is not working
237496 [neeraj.jsr g] Why the value of temp2 is not consistent with the value of temp.
237497 [neeraj.jsr g] Never mind. I just need some coffee.

^ AOP?
237498 [mrunalp gmai] Is there an AOP implementation for Ruby?
+ 237568 [koko rpg-fre] For those of us who are lazy or interested in IOC features, there is
+ 237617 [frdrch gmail] Have a look at http://rubyforge.org/projects/aspectr/

^ Proc vs lambda vs proc
237500 [minkoo.seo g] I got a question on Proc.new and lambda { ... }. AFAIK, there's two
+ 237526 [shortcutter ] I think you have it slightly wrong: "proc" and "lambda" are aliases
| + 237527 [invalid gmx.] This is true for Ruby 1.8, but was changed in Ruby 1.9.  The decision was
| | + 237530 [dblack wobbl] Yes -- this was something that was raised at RubyConf in 2002 or 2003,
| | + 237531 [shortcutter ] Thanks for the heads up!  Me not being an early adopter tested with 1.8
| |   237534 [dblack wobbl] Originally, I think the decision was to deprecate 'proc' entirely --
| + 237612 [minkoo.seo g] Okay. The problem is that I am writing a ruby tutorial for people from
|   237662 [gwtmp01 mac.] This thread caused me to do some experimenting and I came across some
|   237668 [pit capitain] Very interesting! Thanks for sharing your experiments.
|   237696 [B.Candler po] Yes, it's interesting to be reminded of all this again.
|   + 237701 [dblack wobbl] I think the reason for there not being default arguments in code
|   | 237775 [B.Candler po] 3.times { (i=nil) puts i }
|   | 237781 [B.Candler po] or have a "yieldopt" statement, which does something like
|   + 237707 [gwtmp01 mac.] I think Ruby already has this via 'break'.  Also, the default behavior
|     237779 [B.Candler po] What are those different behaviours?
+ 237572 [jim weirichh] lambda and Proc.new do handle the return statement in different ways.
  237613 [minkoo.seo g] I guess the following block (do |item| ... end)
  237648 [patrick.fern] to be an interesting read on the different flavors of closures in
  + 237655 [gavin refine] Although certainly interesting, the author seems to have a slightly
  + 237698 [thomas hafne] Very interesting, indeed. BTW, in article

^ Verunka artistic nude
237504 [free yahoo.c] Verunka artistic nude

^ Ruby 1.8.4 build failure on AIX 5.3
237505 [manasd gmail] I am trying to do a Ruby 1.8.4 build on AIX 5.3. The options passed

^ Re: Installing 1.8.5 but getting unknown file type ./.ext/
237508 [zcvohland gm] Thanks for the reply Lyle,
237529 [nicolas.desp] Yes.
237532 [nicolas.desp] I found why .ext is not created.
237611 [zcvohland gm] Thanks Nicolas... that seems to work for me... though now "make install"
237616 [nicolas.desp] No, that's fine.

^ WIN32OLE in ruby windows one click installer
237516 [sgwong513 ho] I am new to ruby for programming win32ole. I install ruby on windows
237518 [masaki.suket] The Win32OLE version 0.9.2 comes with Ruby 1.9.0 (or later).
237521 [sgwong513 ho] From the latest version, it shows that it has fix some VT_ARRAY bugs.
237632 [masaki.suket] Ruby 1.9.0 is not the stable version, neither Win32OLE(especially
237783 [sgwong513 ho] I had tried to use the code above. It still not working, I am getting
238520 [masaki.suket] Sorry for being too late to reply.

^ Address of Mechanize::Page?
237522 [endy_tj lyco] I am using the Mechanize library to follow a link in a webpage.
237590 [aaron_patter] puts page.uri
237754 [endy_tj lyco] On Feb 5, 5:57 am, Aaron Patterson <aaron_patter...@speakeasy.net>

^ Ruby/Tk on 64 bit Centos 4.4
237523 [v.srikrishna] I installed ruby 1.8.5  on Centos 4.4 running on Xeon processors.

^ Re: String Equations (#112)
237525 [dan fluentra] That sounds right. How about if you have an equation a == b, you should
237540 [paulo.koch g] Wouldn't a prolog script be better at describing all the rules than
237546 [hungrylist g] here's my solution for this quiz
237557 [dan fluentra] I guess I have too much time on my hands :) This is a solver for
+ 237560 [james graypr] Wow.  That's all I can think to say.  ;)
+ 237574 [rubytraining] My solution to the quiz below belongs to this same family of
  237576 [rubytraining] I'll feed the datapoint pool as well using my solution.  Here is the

^ Change Proposal for "String#word_wrap" (Ruby on Rails - ActionView::Helpers::TextHelper)
237528 [wonado donne] Hope this is the right place (I'm not a Ruby on Rails user).
237548 [james.britt ] Rails topics are better addressed on the Rails mailing list.

^ not equal? "5".to_i+ "6".to_i   and  "5".to_i +"6".to_i
237535 [capitain gma] ruby 1.8.5 (2006-12-25 patchlevel 12) [i686-linux]
+ 237537 [rimantas gma] The second case +"6".to_i is treated as an argument for to_i method.
+ 237539 [eric.jacobon] so, you're calling "5".to_i.+("6".to_i), ie. "5".to_i.+(6),
  + 237541 [eric.jacobon] Ooops... i wanted to say "5" in base 6, converted to int...
  + 237642 [capitain gma] Thanks very much!

^ call to arms: list readers
237543 [alex.combas ] Custom Search Engine for Ruby http://rubykitchensink.ca
+ 237545 [peter rubyra] Yup, and basically any listing of ruby-related documents (or anything)
+ 237561 [peter rubyra] Yes, the whole process is automated...
+ 237577 [why ruby-lan] <http://rubyforge.org/mailman/listinfo/>
| 237592 [alex.combas ] This is exactly what I've been looking for.  How did I miss it?
+ 237580 [ shot hot.pl] Is there a reason why neither ruby-lang.org
| 237581 [peter rubyra] Well, sometimes it is the easiest to miss the obvious.
| 237643 [ shot hot.pl] For whomever whants to help: a good idea is, from time to time, to
+ 237594 [hhausman gma] -Harold
| 237606 [alex.combas ] I'm glad to hear someone likes it :)
| 237658 [avdi avdi.or] Any chance we could get an OpenSearch [1] plugin linked to that page,
| 237762 [alex.combas ] Avdi, this is fantastic thanks for mentioning it. I dont have any experience
| 237819 [avdi avdi.or] 1. An example or two of a canonical RKS search request URL, with all
+ 237695 [sonoflilit g] From using it a bit, I noticed that search relevancy is very low.
  237700 [peter rubyra] Could you elaborate a bit more please? Low compared by which measure or

^ Newbie question on Ruby module support.
237550 [simonsharry ] I'm very new to Ruby. Like its elegant syntax very much, so much so
237599 [GGarramuno a] It is probably not true, unless you are a true Perl expert that knows

^ [OT] Re: Using fork to conserve memory
237554 [ara.t.howard] i thought most of those issue did not apply to linux: for instance the

^ unit-testing sql interactions
237571 [carlton pani] I'm relatively new to SQL, and I'd like to get my hands a bit dirtier.

^ Re: Coming Soon...
237573 [jim weirichh] By grouping the not with the should, you are able to negate arbitrary
237575 [mushfeq.khan] Well, you can solve that problem by overriding method_missing on Object so

^ method visibility VS accessibility
237584 [lnthai2002 y] I've done java for a few years and ruby is pretty new to me. In java, a
237585 [shortcutter ] Actually there are four of them: you have to add "package" visibility to
+ 237634 [invalid gmx.] It seems that you did not write what you meant in the marked line.
| 237640 [shortcutter ] Correct.  There is a "class." missing.
+ 237874 [lnthai2002 y] So if i have a class method, I can invoke that method from anywhere by
  237965 [GGarramuno a] or

^ Exit rake silently
237588 [transfire gm] This haas been asked before... I know b/c I did a search for it. But
+ 237589 [transfire gm] Should have known.... as soon as I post this it hits me. Well, FYI to
+ 237601 [jim weirichh] Really?  For
  237603 [transfire gm] $ rake -s

^ Unbounded polymorphism
237591 [mrunalp gmai] One of the features, I have heard that Ruby has, is unbounded
237598 [rubytraining] Think of a bound as an upper limit with respect to the class
237602 [mrunalp gmai] That really helped me understand it clearly.

^ creating a rails app within a rails app
237593 [mcyi2mr3 goo] due to hosting constraints, i need to deploy a rails site within an
+ 237596 [slamboy gmai] Might check the rails list.
+ 237610 [gavin refine] comp.lang.ruby newsgroup) is for discussion of the Ruby language in
+ 237618 [jan.svitok g] I suppose you don't generate it within some folder of the main site.

^ rSpec and behavior driven development questions
237607 [gwtmp01 mac.] The rSpec tutorial (http://rspec.rubyforge.org/tutorials/stack_03.html)
237641 [dchelimsky g] But since you posted it here, I'll answer....

^ Mixin advantage
237614 [minkoo.seo g] Please proofread whether the following statement (written by me) about
237627 [robert.dober] ... multiple inheritance...

^ Can't view a ruby file after installation
237619 [veeraa2003 y] I'm new person to linux. I already installed PHP5 and MYSql on my
237620 [dudu dudu.ro] AddType application/x-httpd-eruby .rhtml
237626 [veeraa2003 y] I added the above lines

^ copying changed files in a tree
237622 [martindemell] Do any of the ruby build tools (rake, rant, somethingelse?) support
237625 [ryand-ruby z] use rsync. it rules.
237635 [martindemell] good point :) i was trying too hard for a pure ruby solution.
237639 [shortcutter ] GNU cp also has some nice options to deal with this (from memory, -a and

^ Exception never raised when threading an eval containing a malformed command [might be a bug ?]
237628 [benjamin coo] I've encountered a strange issue when coding a tool extending ruby, and
+ 237630 [jan.svitok g] $FOO+2 raises NoMethodError < StandardError
| 237631 [benjamin coo] Thanks Jan ! Really easy indeed, and it solved my problem :).
+ 237694 [ezmobius gma] Ben-

^ file icons
237636 [martindemell] Anyone involved with the KDE project - there's a vacuum where the

^ ANN: RubyGems 0.9.2
237638 [jim weirichh] = Announce: RubyGems Release 0.9.2
+ 237653 [dchelimsky g] Updating RubyGems...
| 237657 [lukeivers gm] I'm having problems with installing any gems after installing RubyGems
| 237659 [lukeivers gm] as planned.  Please forgive me the spam.
| 237660 [lukeivers gm] ARGH!!! ruby-forum ate my words!
+ 237670 [drbrain segm] * The source_cache updates correctly on Windows.
| 237766 [pit capitain] Thanks Eric, this was important for me.
+ 237845 [chriscodes g] I just updated from 0.9.0 to 0.9.2 with
  237857 [chad chadfow] Could you do sudo gem install rails --backtrace and paste the output?
  237859 [chriscodes g] I think I figured out the problem... User Error!
threads.html
top