396485-411955

396275-396840 subjects 396664-397042

Ramaze + CoffeeScript
396485 [lists@ru y- ] How, i can integrate to my Ramaze project, CoffeeScript?
396504 [transfire@gm] ...

About Sinatra
396486 [lists@ru y- ] require 'sinatra'
+ 396487 [ruby-talk@la] Try using a valid URL.
+ 396489 [ixti@me be .] The problem is with href url you are using.

Simple method & array question
396490 [lists@ru y- ] Sorry for the newbie question but how can I make a method which takes
+ 396491 [krishna@ar d] def repeat *arg
+ 396492 [lists@ru y- ] Why are you using *arg? This will take all the arguments of the method
| 396495 [ryand-ruby@z] Identity methods always make sense.
+ 396512 [lists@ru y- ] def repeat arg

simple IO question; full path not working
396493 [lists@ru y- ] text2.txt is located in O:\Ruby
+ 396498 [lists@ru y- ] i don't have a windows 7 box to test on, but it looks like your
+ 396499 [lists@ru y- ] Like jake already said: Don't use unescaped backslashes in double quoted
+ 396570 [lists@ru y- ] When using double quotes with strings, use double backslashes, which
+ 396581 [lists@ru y- ] Slightly off topic, but if you want an exception, couldn't you just use

nil exitstatus
396496 [James.French] With the following code (1.9.3-p125) I very occasionally find that @exitCod=
396497 [akr@fs j. rg] signal?
396501 [James.French] anaka Akira

Feedback: executable documentation compiler
396500 [lists@ru y- ] I created a prototype for an executable documentation compiler that

Syntax Highlighter
396503 [transfire@gm] ...
+ 396505 [josh.cheek@g] We should suggest this to http://codebrawl.com/ there hasn't been a good
+ 396506 [ralf.mueller] If you have a look, on what is scheduled for 1.1, there is a lot to come. But the problem is, when it will
| 396514 [transfire@gm] ...
| 396516 [ralf.mueller] ...
+ 396507 [quintus@qu n] I°«ve written a Lua scanner for CodeRay, but the pull request still isn°«t
| 396526 [lists@ru y- ] I submitted scanners for AVR Assembler and VHDL a few years ago, but they haven't been included. And unfortunately they aren't compatible with the current version anymore, so they probably have to be rewritten.
+ 396519 [ryand-ruby@z] to create a CodeRay scanner script for an as-of-yet unsupported format. =
| 396520 [hmaddocks@me] Fork it!
| + 396523 [ymendel@po o] And maintain it! And get everyone to use your version!
| + 396531 [ryand-ruby@z] contributions, this call to arms seems like a waste of effort. It seems =
|   + 396535 [ralf.mueller] Coderay seems to be well prepared for a plugin structure. The additions for the fortran scanner are very
|   | 396536 [ryand-ruby@z] additions for the fortran scanner are very little: only one additional =
|   + 396553 [lists@ru y- ] Has anyone privately contacted the maintainer with a specific plan?
|     396557 [ryand-ruby@z] That should be the cheerleader's job.
+ 396560 [lists@ru y- ] I think the author is murphy. I don't know how it was for you,
| 396566 [ralf.mueller] contacted via mail with link to ruby-forum, 'cause I wasn't sure murphy has subscribed to ruby-talk
+ 396640 [lists@ru y- ] private life in the last months, so I couldn't answer to all emails and

Great Ruby project in NYC
396509 [lists@ru y- ] Our client - a rapidly growing, well-funded financial services company

Parsing xml dict files
396517 [lists@ru y- ] I know that i can use "Nokogiri" to parse xml files and search for
+ 396518 [Carey.Nation] Something like the below but with actually building the hash on the fly?
+ 396528 [lists@ru y- ] #-----------
+ 396529 [hmaddocks@me] This is plist format. Google "ruby plist reader"
+ 396533 [shortcutter@] A -> val1
  396537 [luc@ho k- on] This furiously looks like a property list which I will assume is what =
  396538 [shortcutter@] I liked to use that opportunity to train my XPath skills. :-)  Also,

MRI GC never collects?
396524 [lists@ru y- ] def finalized_puts bad, benign
396525 [lists@ru y- ] Looks like I fell victim to the "never use a proc or block for a

[ANN] YARD TomDoc v0.5.0 released
396527 [transfire@gm] YARD TomDoc 0.5.0 has been released.

WIN32OLE & VT_RECORD
396530 [dsisnero@gm ] Is there any way to get VT_RECORD support in WIN32OLE?

File.delete()-Permission denied error in windows
396534 [lists@ru y- ] All,
+ 396540 [lists@ru y- ] Mmmm, not prety sure, but when you are moving a file or dir with
| 396541 [lists@ru y- ] Damian,
+ 396542 [lists@ru y- ] What OS do you have?
| 396543 [lists@ru y- ] I am running in windows. I also gave all the permission (Full Control) for "administrator" user.
+ 396544 [lists@ru y- ] I don't have many time so research(working...). My suggestion is: look
  396546 [lists@ru y- ] Thanks for your comments. I'll try to give the permission.

Convert .doc to pdf in ruby
396539 [lists@ru y- ] Any one have any idea, how to convert .doc to pdf in ruby?
+ 396552 [matma.rex@gm] I doubt it. Generally the best way to convert anything to PDF is to
+ 396555 [lists@ru y- ] Does this help?
+ 405466 [lists@ru y- ] I recently authored a blog post, including Ruby sample code, to
| 405467 [lists@ru y- ] Looks interesting, there seems to be a lot of demand for pdf file
+ 405468 [lists@ru y- ] Doh!
+ 410251 [lists@ru y- ] If you wanna save these complicated steps and find a easy way, you can
| 410252 [humbroll@gm ] You can see pandoc(http://johnmacfarlane.net/pandoc/) and pandoc ruby gem(
| 410256 [tamouse.list] gem(https://github.com/alphabetum/pandoc-ruby).
+ 410343 [lists@ru y- ] if your on windows, you may be able to use the ole library, to save as

[ANN] glorify 0.2.0 Sinatra extension to parse markdown with syntax highlighting
396545 [zachary@za h] TGIF!

Re: Welcome to our (ruby-talk ML)         You are added automatically
396547 [guc@up c. du] confirm 2001022200210517821527915609 Joseph Smith=0A=

Help with Ruport
396548 [lists@ru y- ] Im very new to Ruby, and I am trying to reduce input from a ruport
+ 396549 [hassan.schro] Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
+ 396550 [lists@ru y- ] I am running into errors = I am getting "undefined method 'sub_table'
+ 396551 [chris.hulan@] ...> [code]

NoMethodError: undefined method °∆describe°« for main:Object when running rspec test in TextMate
396556 [lists@ru y- ] I am trying to run rspec test but I can't seem to get it to work on my

Help using optionparser
396562 [lists@ru y- ] I wanted to take cmd line inputs of the form
+ 396563 [matma.rex@gm] The non-flag command line arguments are left in ARGV after
| 396568 [shortcutter@] Yes.  Note that one has to use OptionParser#parse! in order to have it
+ 396564 [drbrain@se m] opts.on "-p [STRING]", Array do |ary|
+ 396603 [lists@ru y- ] Thank you all for the suggestions :)

Re: problem installing TkRuby on Ubuntu 12.04
396567 [lists@ru y- ] I have asked the same question on AskUbuntu(long ago) - where I got this

Enumerable#every, the Functor and Ruby support for HOM
396569 [transfire@gm] ...

Connect ActiveRecord to an sqlite3 database
396571 [lists@ru y- ] Please install the sqlite3 adapter: `gem install

regular expression to get IPCONFIG information
396572 [lists@ru y- ] Dear all
+ 396574 [lists@ru y- ] Well, since you didn't give us the actual output of "ipconfig /all", we
+ 396579 [lists@ru y- ] good idea, it is easy to get information in each block, thanks!

[ANN] slideshow v1.1.0 Update - More Template Packs (Deck.js, Impress.js, CSSS, etc.)
396573 [gerald.bauer] I've uploaded a new slideshow gem (aka Slide Show (S9)), that is, v1.1.0.

error installing libxml-ruby (1.1.4)
396575 [lists@ru y- ] have searched on google tried all types of solutions I found, but it
+ 396578 [jam@ja an be] What have you tried? https://github.com/carlhuda/bundler/issues/1722 is the f=
+ 396617 [drbrain@se m] /home/phanindra/.gem/ruby/1.9.1/gems/libxml-ruby-1.1.4/ext/libxml/gem_make=

method parameters
396576 [lists@ru y- ] I want to re-implement some methods when inheriting,
+ 396577 [lists@ru y- ] Oh! I found
| 396580 [josh.cheek@g] It's not really clear to me what you're trying to do, but it's correct if
+ 396582 [lists@ru y- ] I think my solution is correct.

Transition to 1.9 - DL/CPtr issue
396583 [lists@ru y- ] I am trying to transition an app to Ruby 1.9 from 1.8.7. This app is
396585 [lists@ru y- ] Try #2 to post this.... hopefully no dup.

Deploying Ruby-Tk app on OS X
396584 [kw@co eb ke ] I'm looking for a straightforward way to deploy a standalone Ruby-Tk
+ 396602 [kw@co eb ke ] Alas, I think what I am looking for does not exist.
+ 396715 [lists@ru y- ] I hope to build one for OS X sometime in the near future, perhaps we can
+ 396756 [lists@ru y- ] I would be interested. I'm pretty much a newbie with Ruby but have a lot
+ 396770 [lists@ru y- ] Sure maybe let's take it offline (not fighting words by any stretch of
  + 411954 [lists@ru y- ] Hmmm, I too need to deploy a ruby/Tk app on MacOS.  I used the Ocra gem
  + 411955 [lists@ru y- ] Hmmm, I too need to deploy a ruby/Tk app on MacOS.  I used the Ocra gem

Unsubcripe
396589 [sureshrajche] Unsubcipe my mail address from the group.
396599 [mcpierce@gm ] No [1].

Re: Overwriting one Ruby array of arrays with another
396590 [lists@ru y- ] Thanks Jan
396598 [lists@ru y- ] Well, you've already done this with Martin's approach. The only

Re: Unsubscripe
396592 [raghav.dasso] Please Unsubscribe my mail id from the list as well.
396593 [cdoukas@da a] ...

Re: Unsubcribe
396595 [colin@ds -e ] I unsubscribed manually, and got a confirmation email, yet I'm still
396596 [matma.rex@gm] Because you people are dumb.
396597 [subscription] And if you do so you will find that it does not work.
+ 396604 [cathy1428@gm] DITTO! Very hard to get off the list.  Tried several times.  Someone even
| + 396605 [echristopher] It's seeming more and more that there is a legitimate problem with
| | 396610 [matma.rex@gm] As I said, I tried unsubscribing using my method and it worked immediately.
| + 396612 [code@ap th o] This may be a dumb question, but . . . did you use HTML email to reply?
| + 396632 [mike@os n. r] Hey, in the worst case (things aren't just "most supriseful"
| + 396634 [ryand-ruby@z] even butted in with instructions with proof that he/she was =
+ 396613 [quintus@qu n] I°«ve subscribed and unsubscribed from ruby-talk several times, and I've
  396616 [timobrien@ho] Bartpscz can kiss my ass ! I too was sent the confirmation, but I am still getting these e-mails.
  + 396619 [drbrain@se m] still getting these e-mails.
  | + 396622 [normalperson] Unlike Mailman, the software which powers ruby-talk-ctl also seems to
  | + 396623 [saji@u- iz .] did you try the instructions at
  + 396633 [ryand-ruby@z] still getting these e-mails.
    396635 [ryand-ruby@z] still getting these e-mails.

Phone Apps Development with Ruby
396600 [lists@ru y- ] I am new with Ruby, and I was trying to developing an phone application
396625 [jam@ja an be] Hey Alexander,

[ANN] sfl 2.2 Released
396601 [muraken@gm i] sfl version 2.2 has been released!

TO MR Bartosz Dziewoski - WHO'S DUMB
396606 [cathy1428@gm] *That's exactly why I wanted to unsubscribe because of very RUDE people
396608 [mcpierce@gm ] I know I'm out of here. And, guess what, the unsubscribe worked the
396609 [subscription] Bet you're still here.
396611 [matma.rex@gm] I'm here to help you fix your Ruby issues, not your life issues. I'm
396618 [lists@ru y- ] @bartosz -

[ANN] Modul-mania - Slide Show (S9) Spin Off Five New Gems - props, textutils, markdown, fetcher, pakman
396607 [gerald.bauer] I've cleaned up the Slide Show (S9) code a little and moved more

How to Unsubscribe
396614 [drbrain@se m] even butted in with instructions with proof that he/she was =

Symbols and Strings...
396615 [rubyhacker@g] A modest proposal here... I think (tentatively) that Symbol should inherit
+ 396620 [drbrain@se m] inherit
| + 396621 [rubyhacker@g] Silly of me. I not recall this at all, and even believed it was an
| | 396626 [matthew@ke w] <http://ruby.11.n6.nabble.com/Bikeshed-No-more-Symbol-lt-String-td3558662.h=
| + 396641 [shortcutter@] 't think of the proper keywords to find the reason for the reversion.
|   396643 [rubyhacker@g] Personally, I don't have a problem with "reducing the contract"
|   396646 [shortcutter@] It's just that Ruby is not particularly suited to using inheritance in
|   396659 [rubyhacker@g] Hmm. If a Symbol is-a frozen String, how does that reduce the range
|   396678 [shortcutter@] Freezing does _not_ reduce the state, which is what I said above.
|   396701 [hmaddocks@me] This is a very good point. String should be a sub class of Symbol. I wonder if this was considered.
|   396702 [matma.rex@gm] This is an extremely bad idea.
|   396703 [hmaddocks@me] Well a lot of people, including Matz, disagree with you.
|   + 396704 [matma.rex@gm] I'd like to see where he explicitly disagrees with this.
|   + 396710 [jeremy@bo p.] Given that Strings and Symbols are different entities (as has been
|     396711 [rubyhacker@g] I suppose that's the biggest area of concern for me.
|     + 396712 [shortcutter@] Even that would not be solved by inheritance because instance of
|     | 396727 [jeremy@bo p.] I didn't mean to imply that it would.  Personally, I prefer having Hash
|     + 396720 [jeremy@bo p.] With regard to metaprogramming, perhaps the problem could be better
|     + 396733 [ryand-ruby@z] ...
+ 396655 [echristopher] ...

[ANN] Hashery v2.0.0 released
396624 [transfire@gm] Hashery 2.0.0 has been released.

Does ERB have recursive template support?
396627 [lists@ru y- ] I want to use ERB template library to do some code generation. It
396630 [shortcutter@] What exactly do you mean by "recursive templates"?  Do you mean a
+ 396645 [nstandif@li ] I am currently using ERB for code generation. I implemented this using a xml
| 396672 [lists@ru y- ] Nathan, what does this mean? Could you give me more details? Thanks!
| 396694 [nstandif@li ] I have an XML file which has an integer weight for the template and template file information.
+ 396671 [lists@ru y- ] My code generator will generate Java nested classes. The problem is the
  396682 [jgabrielygal] # template.rb
  396683 [shortcutter@] You are doing too much file reading here because you reread the
  + 396684 [jgabrielygal] You are right. I was focusing on the temporary erbout variable approach.
  + 396713 [seki.at.drub] I like ERB#def_method.

[ANN] raindrops 0.10.0 - minor feature updates
396631 [normalperson] Raindrops is a real-time stats toolkit to show statistics for Rack HTTP

[OT] let's just get over it -- it's summer :)
396636 [mike@os n. r] Hey, forgive him.  Poor pan polak probably has had a bad day.
396637 [narkoz.2008@] +1. We are the Ruby community afterall, not the PHP one.
396638 [matma.rex@gm] You're not exactly helping.
396639 [shortcutter@] Come on, that's a vast exaggeration!  Plus you can easily set up a

[ANN] hoe-debugging 1.0.4 Released
396642 [mike.dalessi] hoe-debugging version 1.0.4 has been released!

From Java Socket to Ruby Socket
396644 [lists@ru y- ] I am a newbie of Ruby, I met a problem when dealing with converting
396648 [lists@ru y- ] Write converts its argument to a string.
396650 [lists@ru y- ] Thanks Dan, It works!

Re: Symbols and Strings.
396647 [lists@ru y- ] I've liked the distinction between symbols and strings since I first
396669 [matthew@ke w] I'm pretty sure I'm not a beginner (although programming changes so

Looking for a better way to add a method to a core class than monkey patching
396649 [iainspeed@gm] I'd like to add a method to the String class for a gem I'm making. =
+ 396651 [matma.rex@gm] I think there's nothing wrong with monkeypatching (as long as you're
| 396658 [iainspeed@gm] Thanks for the reply. I'll relax a bit now in the knowledge it's not just me. But then maybe it's just us two! :)
+ 396663 [hmaddocks@me] I don't have a problem with re-opening classes either. It's a tool in the Ruby tool box so why not use it. Especially when, as you pointed out, inheritance sometimes doesn't do what you'd expect. Some Ruby base classes don't call initialize which can be a problem.
| 396665 [iainspeed@gm] see your module in the list which will give users a clue why the class =
+ 396670 [groups@in ox] Please do not monkey patch core libraries in gems, unless the *purpose* of
  + 396673 [hmaddocks@me] <rant>
  | + 396698 [groups@in ox] And I answered the OP's question: he can cause the least amount of problems
  | + 396736 [shortcutter@] of your library is to add functionality to core, eg a library of extensions=
  |   396744 [iainspeed@gm] Ok, sorry to be the cause of confusion and/or consternation!
  |   396745 [shortcutter@] /yb66/sequel/blob/master/lib/sequel/extensions/pg_hstore.rb. The method(s) =
  |   396746 [iainspeed@gm] .rb. The method(s) would be a Hash#to_hstore and a String#from_hstore. =
  + 396697 [sto.mar@we .] Is there a way to limit the scope of an override or addition
    + 396699 [matma.rex@gm] No, but it has been proposed. Google "ruby refinements".
    + 396799 [lists@ru y- ] /regex/ === 'string'
      396801 [sto.mar@we .] Nice!
      396803 [shortcutter@] Or even

Access array data - problem
396652 [lists@ru y- ] UI.messagebox ("layers: " + YV_layer_array.to_s)
+ 396653 [sto.mar@we .] irb(main):001:0> YV_layer_array = [108, 190, 95]
+ 396654 [murphy@ru yc] Could thin in any case be the character code of "9"? Ruby 1.8.7 behaves
+ 396656 [lists@ru y- ] Maybe Marcus and Murphy...
| 396657 [hmaddocks@me] What does this show you?
+ 396660 [lists@ru y- ] Henry, it doesnt change anything :/ tnx anyway
  + 396661 [hmaddocks@me] What do you mean? It still outputs =>output will be: "layer: 57" That would be very strange.
  + 396662 [sto.mar@we .] I think you first need to figure out what kind of object your
threads.html
top