285272-414378 subjects 285772-311222

[ANN] Mr Bones - 1.2.0
285496 [tim.pease@gm] Mr Bones

pdf writer, are loose objects always "on top"
285497 [aktxyz@gm il] I have a watermark image that I want beneath the content of every
285515 [aktxyz@gm il] Ok, this seems to work...

social network analysis tools + ruby + mac
285498 [bs4114u@gm i] ...
285780 [alexg@ru ge ] IGraph (http://cneurocvs.rmki.kfki.hu/igraph/) and its Ruby bindings (http://igraph.rubyforge.org/igraph/

Ruby Web apps on OSX (not rails)
285509 [josh.schramm] Hey all,

Re: Zed Shaw - Zed has dodged annoying people
285512 [dangerwillro] Oh give Zed a break. He's an excellent programmer. He's not gentle or
285530 [jeremymcanal] I'm sure that's really hard for him, especially when someone yells

ANN: Butler 1.9 released
285516 [apeiros@gm .] Butler - the IRC bot with class - version 1.9 has just been released.
+ 285519 [apeiros@gm .] Oh and not to forget - if you use butler, don't forget to visit us in
+ 285520 [hutch@re ur ] Being one of those who are mostly/completely/almost-wilfully ignorant
  285526 [apeiros@gm .] Hey, thanks for the links and the compliment! I completly forgot about
  285539 [hutch@re ur ] Okay, that's obviously handy.
  285548 [apeiros@gm .] Mostly due to the way IRC is used. IRC is used more in multiway

create a irb like console for my program
285517 [junkone1@gm ] how do i create a irb like console for my ruby app. i am running on
+ 285518 [boss@ai bl d] Regards,
+ 285525 [mgreenly@gm ] ...
+ 285568 [mailing.mr@g] my hack that i use for quick debugging on my programs is

help in changing string format
285527 [junkone1@gm ] I need some help in converting this date time format to the one
285529 [sepp2k@go gl] Replace the slashes with dashes.

Embedding Ruby into a Borland C++ Builder Application
285531 [mo_mail@on h] I'm trying to embed Ruby as the scripting engine into a project of
285537 [jari.william] config.h is system-specific and it should build when you call
+ 285597 [mo_mail@on h] Thanks Jari - I didn't compile from source.  I thought I should have
+ 285660 [mo_mail@on h] Thanks for the advice and pointing me in the correct direction.  The
  285748 [nobu@ru y- a] It is that your setup wasn't enough, as you need the option in
  285753 [mo_mail@on h] Thank you for your replies.  My main reason to use BCC is simply because
  + 285778 [jari.william] Is there any such thing as extern "C++"? This must be a mistake in the
  | 285846 [mo_mail@on h] I think it's an error - it's in win32.h - I found an earlier link that
  | 285852 [nobu@ru y- a] It's valid.  The C++ spec requires extern "C" and "C++" at
  | 285855 [mo_mail@on h] Haha.. I see the point you 'make'!  But, thanks both of you for your
  + 285850 [nobu@ru y- a] It must be C++ due to a template without extern "C++", in

Shoes require
285532 [adam.bengtss] to require 'activerecord'. the error message says
285536 [jeremymcanal] require 'active_record'
285540 [adam.bengtss] didn't work, still the same error. It works when I dont use Shoes so im
285542 [rick.denatal] Have you installed the activerecord gem?
+ 285571 [adam.bengtss] ok. thanks for the help
+ 285617 [terragb@gm i] This is basically correct. As Shoes does indeed incorporate its own

Net::HTTP Timeout
285543 [fedzor@gm il] Yes, I have read the previous thread (http://www.ruby-forum.com/topic/
285608 [bryan@ra le ] This is a terrible idea. Starting in another thread causes rbuf_fill
285711 [fedzor@gm il] When I'm using ruby to download large files, everynow and then the
285872 [bg-rubytalk@] It seems to me that your program, or whatever is using Net::HTTP should
287037 [brian@em el ] The crash is caused by the default behavior of timeouts (which is what

Using SSL with HTTP Basic Authentication in Rails 2.0
285551 [btricha@gm i] ...
+ 285636 [boss@ai bl d] It might be easier to have Rails specify SSL at the appropriate time
| 285659 [btricha@gm i] ...
+ 285637 [gethemant@gm] You realize that Ruby On Rails has a separate mailing list? If yes,

ruby 1.9 porting problem
285557 [ruby@j- av s] I am having problems porting my extension to 1.9.
285576 [mneumann@nt ] That generally should work. Have you tried with a non-NULL value in
285579 [ruby@j- av s] Thank you for the reply. I think I found the problem: I was compiling

285560 [lucas.lnx@gm] ...

another newbie question
285578 [kosamster@gm] I apologize for the newbie question.
285580 [TimHunter@nc] Variables with names that start with $ are global.
285581 [kosamster@gm] Thank you very much. The $ sign is my friend here.
285591 [mortonda@dg ] Something else to consider, if the data is related, is to put it into =20=
285600 [dangerwillro] if your program grows to many files, and you still need $ globals,

transform hash key from string into symbol
285582 [kodama@bl ex] When dealing with hashes, I like using symbols for key names instead of
+ 285585 [cwdinfo@gm i] class Hash
| 285586 [kodama@bl ex] Thanks for your quick response, but I'm afraid that didn't do the trick.
| 285590 [cwdinfo@gm i] Sorry. Look at Greg's for the keen Ruby way to do it. There should be
| 285592 [kodama@bl ex] Thank you both for your answers. It's threads like these that make me so
| 285604 [andreas_s@ho] ...
| 285651 [transfire@gm] =A0You can selectively require parts of it. I think it's facets/hash_keyize.=
+ 285587 [ruby@an hr p] class Hash

would this thread loop continously
285593 [junkone1@gm ] would this thread loop continously or i have to put a while condition
285595 [vjoel@pa h. ] You *do* need an explicit loop. It's an easy one to forget, even after

service controller in ruby
285599 [junkone1@gm ] i have 4 ruby programs that i want to keep running. is there a service
285602 [djberg96@gm ] See win32-service, available on RubyForge at
285710 [fedzor@gm il] gem install god

how to pass variable value to a sql query
285610 [pradeepta.sw] How can i pass a variable to a sql query like
+ 285613 [mortonda@dg ] look up "placeholders".  A google search yielded:  http://www.kitebird.com/articles/ruby-dbi.html#TOC_8
+ 285623 [karthikeyan7] rs = dbh.prepare("select *from status_check where id=#{value}")
  285624 [mortonda@dg ] NO!  This is a security risk.

Windows Ruby (was Re: Zed Shaw - Ruby has dodged a bullet)
285614 [znmeb@ce ma ] Well ... let's open this for discussion. Austin, John, Charlie, please
+ 285622 [james.britt@] There are free versions of VMware one can use as well.
| + 285625 [ssmoot@gm il] Right, well, I meant on my Mac.
| | + 285629 [znmeb@ce ma ] Well, briefly -- in most cases, a Ruby extension written in C needs to
| | | 285644 [hawat.thufir] Completely off topic, but what's the equivalent for Linux?
| | | + 285647 [jameskilton@] ...
| | | + 285648 [hramrach@ce ] It has to be compiled. For every architecture, every libc version, ...
| | | + 285662 [znmeb@ce ma ] There is a compiler, usually gcc but others exist. It translates the C
| | + 285667 [khaines@en g] Extensions _aren't_ that hard.  Not for the Ruby->C glue, anyway.  Most of
| | | 285683 [ssmoot@gm il] t of
| | | + 285688 [jameskilton@] ...
| | | + 285694 [khaines@en g] Gotcha.  I took it as a technical comment, not a social one.  I agree
| | | + 285705 [mental@ry ia] What makes it more saddening is that each person's contribution to
| | + 285743 [halostatue@g] Depends on what one is developing.
| |   285836 [ssmoot@gm il] Absolutely. Projects like FasterCSV, REXML, Merb, etc are invaluable
| |   285837 [farrel.lifso] REXML is pure ruby.
| + 285627 [znmeb@ce ma ] Yeah ... I personally own a VMware Workstation 6 (Linux host) license,
+ 285632 [tpo2@so rc p] You can also instead use VirtualBox which is pretty much "click and run"
+ 285681 [jflam@mi ro ] M. Edward (Ed) Borasky [mailto:znmeb@cesmail.net]

Gems gone after upgrading RubyGems
285618 [cazador@lo o] I'm new to Ruby and Linux, I was happily doing some examples and
+ 285643 [cazador@lo o] Well I couldn't find where to change those default settings, so I
+ 286182 [drbrain@se m] If you installed RubyGems first using an apt package (apt's RubyGems

More Windows Ruby stuff (was Re: Zed Shaw - Ruby has dodged a bullet)
285619 [znmeb@ce ma ] I can't help you with ruby-core, but I *can* test MinGW (and Cygwin,
285640 [luislavena@g] Yeah, those tight controlled environments play they role in the
285646 [hramrach@ce ] Well, some jerks might demand whatever they wish. However, GPL
285649 [luislavena@g] Err, bad typing, I meant 'propietary software' not hardware :-)

RMagick Exif
285628 [john.smith@s] I have been working to extract the exif information from jpegs using
+ 285631 [fluido@fl id] Here I receive a populated hash. You say you are sure that the tags
| 285766 [john.smith@s] Yes, I have made sure that the exif information is there by loading the
| 285777 [fluido@fl id] The best thing you can do is open a ticket on rubyforge, attaching a
+ 285654 [TimHunter@nc] Open a bug track on RubyForge and upload the image you're trying to use.
| 285767 [john.smith@s] ImageMagick version 6.3.5.
+ 285781 [ollivier.rob] The way I deal with these is by using exiftool with the mini_exiftool Ruby module.  It has been working great so far.

Re: [rspec-users] RSpec on Ruby 1.9: before(:all) (Not Yet Implemented) pending messages instead of tests
285630 [ shot@ho .p ] s work

using pbpaste
285634 [hawat.thufir] I would like to use http://pastie.caboo.se/paste/4703 from the command

[ANN] WSO2 Web Services Framework for Ruby 1.0.0 Released
285645 [dimuthuc@gm ] WSO2 Web Services Framework for Ruby 1.0.0 Released

working with Test::Unit
285657 [aidy.lewis@g] I use Watir and Test::Unit.
+ 285673 [lojicdotcom@] I think this only partially applies to your situation, but the
| 285783 [aidy.lewis@g] class Common < Test::Unit::TestCase
+ 285674 [jari.william] Would using mixin instead inheritance work in your case?
  285782 [aidy.lewis@g] Could you give me an example of where the module would be used and
  285928 [matt_watir@h] We encountered a similar condition with our test framework.  While the

[OT] Re: Zed Shaw - Ruby has dodged a bullet
285677 [vjoel@pa h. ] OTOH (and OT), Nicolo Paganini, arguably the first rock star, gave up

Windows Compilation Madness
285678 [gwtmp01@ma .] No point in keeping this discussion in the Zed thread...
+ 285685 [cwdinfo@gm i] Confirmed that Windows does not come with a dev environment. But
| 285689 [frederick.ch] Fair enough for dlls in general, but loads of windows app ship with
| 285693 [cwdinfo@gm i] True enough, but a Windows developer makes a conscious decision
+ 285691 [jari.william] DLLs is a Windows standard file format (pretty much like an executable
+ 285704 [micathom@gm ] rbconfig.rb stores information about the tools that were used to
+ 285746 [halostatue@g] Not quite (close, though). Cygwin is and always will be incompatible
| 285762 [micathom@gm ] One can use cygwin gcc to compile non-cygwin apps (using -mno-cygwin)
| 285776 [shevegen@li ] The MinGW guys should offer a complete package as .exe downloader with
| 285789 [luislavena@g] Why they "should"?
+ 285862 [jftucker@gm ] Some of this has been said, some of it hasn't. I'm also not 100% on
  + 285880 [luislavena@g] Is funny you mention this James, it seems you made some progress since
  | 285888 [vjoel@pa h. ] That would be great, if it can be made to work. I have ruby programs
  | 285894 [luislavena@g] - 8MB for a gem will be problematic, mostly on how open-uri works (and
  + 285884 [luislavena@g] Most of this topic have been covered by previous ruby-talk and ruby-
  | + 285899 [jftucker@gm ] The biggest issue is that although this has been discussed many times
  | | 285911 [hramrach@ce ] BTW, as far as broken symlinks go there is a pure ruby implementation
  | | 285913 [jftucker@gm ] Sadly, the links in question are file links (so junctions are out),
  | + 285917 [gwtmp01@ma .] I'm not a Windows programmer and I didn't really want to cause a
  |   + 285930 [jftucker@gm ] No problem, Luis started a thread to discuss the other areas, and I'll
  |   | 285934 [gwtmp01@ma .] I wasn't actually differentiating between the two.  Having common
  |   + 285932 [luislavena@g] On *nix, all the binaries must be compiled and linked to the same
  |     285935 [gwtmp01@ma .] Yep.  My point wasn't that Unix was different in this regard but
  + 285957 [halostatue@g] Um. Yes and no. You can mix them *if* the libraries compiled against

Faker 0.3.0 released
285680 [benjamin.cur] faker version 0.3.0 has been released!

syntax to truncate decimal place
285682 [surjit.meite] What is the syntax to truncate decimal place
286073 [surjit.meite] Posted via http://www.ruby-forum.com/.

Pathname#relative_path_from questions
285684 [djberg96@gm ] Ruby 1.8.6p111
285686 [gwtmp01@ma .] Yes, but you are looking for the relative path from path2 ("b") to

ANN: Sequel 1.0 Released!
285687 [ciconia@gm i] I'm pleased to announce that Sequel version 1.0 has just been
285695 [wayneeseguin] ...

285690 [marushkevych] ...
287008 [jwu@ad il a.] Unsubscribe
287009 [jwu@ad il a.] Unsubscribe

Dynamically add a method to a TestCase
285696 [domma@pr co ] I'm experimenting with the dynamic features of ruby to add methods to
+ 285697 [jameskilton@] ...
| 285698 [jameskilton@] ...
+ 285699 [vjoel@pa h. ] It's the way the 'for' construct scopes the 'num' variable.  All three
+ 285740 [m_goldberg@a] <code>

[ADV] Updated PDF of Advanced Rails Recipes
285703 [mike@pr gm t] To get your updated PDF, simply sign in to your account (http://pragprog.com/my_account
285738 [geraldbauer2] Thanks for the update.

Clipboard command line utility
285707 [dfinnie@gm i] I've been doing a lot of Python for Google's Highly Open Participation
+ 285709 [gethemant@gm] I have seen these errors as well, you will have better luck if you
+ 285779 [perrin@ap th] I'm not saying you shouldn't write this utility -- I've been known to
  + 285939 [shevegen@li ] There are probably a many reasons, I do not know why he wants to have
  + 286146 [danfinnie@op] ...

hpricot - parse html
285708 [mcse@pa st k] I would like to parse html code and remove all tags that starts with
285745 [diegoslice@g] Try this...
285787 [yedingding@g] ...
285870 [devi.webmast] Don't forget about the multiline option, it's easy, just stick an 'm'

Getting Code Ready for Ruby 1.9
285714 [james@gr yp ] Please feel free to add your own tips in the comments.  I would love

285717 [name.goes.he] Well my CPU crashed and now TK84.dll isn't on it. Where can I get the
+ 285718 [joshua.schai] TK84.dll why aren't you at your post?
+ 285722 [vjoel@pa h. ] Their 8.4 seems to play well with OCI ruby.
| 285730 [name.goes.he] I've tried that it doesn't work for me. We reinstalled the OS on the
| 285733 [vjoel@pa h. ] Well, I was talking about the add/remove programs control panel, but if
| 285735 [name.goes.he] Is there any other GUIs besides the G something something? Please
| 285737 [vjoel@pa h. ] Fox/FXRuby comes with the Windows Ruby OCI. Take a look at the examples.
| 286140 [name.goes.he] Well I installed tcl 8.4.16 and now I don't get that error now it runs,
+ 316869 [stanbench@gm] I know it is to late...just click the link

gem question which is better
285721 [junkone1@gm ] I manytimes see win and ruby edition of gems and have to decide which
285723 [jan.dvorak@k] Assuming the gem in question needs compilation, 'ruby' is source code

change the symbol in an interpolated string value?
285742 [scooterm@ho ] I would like to be able to change the symbol in an interpolated string
+ 285750 [MonkeeSage@g] You can do it with regular expressions or a parser, but you
| 285819 [scooterm@ho ] It's not a dire need, but it would definitely be useful. For example,
| + 286172 [pstickne@gm ] Short answer: No.
| + 286201 [MonkeeSage@g] Hmm...what about using %q{} or escaping "#"? You can emulate the
| | 286345 [scooterm@ho ] Yes, PEP292 Template strings are probably rarely ever used in
| + 286204 [micathom@gm ] Some years ago amrita or so was "more" actively developed. IIRC misen
+ 285763 [micathom@gm ] whoever = "World"
| 285764 [micathom@gm ] Sorry, it seems I totally misunderstood your question ... which I
| 285820 [scooterm@ho ] I think you understood, take a look at my reply to Monkee for more
+ 286171 [scytrin@gm i] ...

problems about uploading file
285747 [tengxianggon] ================== code begin =================
285847 [boss@ai bl d] It looks like you're using Rails, in which case you might save

Re: Ruby 1.8.6 *stripped* documentation
285749 [exeQtor@gm i] nice new year for you too!

[noob] Mechanize problem
285758 [ramirodt@gm ] I can't run even the most trivial examples of Mechanize, neither on
285804 [ryand-ruby@z] rename your script from mechanize.rb to something else. '.' is in your
285859 [ramiro@di zt] Thank you very much Ryan !

[ANN]  January Phoenix Ruby User Group Meeting
285760 [james.britt@] January Phoenix Ruby User Group Meeting

Handling binary files with mod_ruby and cgi
285761 [zak.wilson@g] I'm trying to write a CGI script that will fetch a named file and send

Help Please!
285765 [jordan.rubyt] ...
+ 285769 [billk@ct .c ] Do you have `ri` installed on your system?
| 285791 [perrin@ap th] ri Kernel#gets
+ 285770 [wes@ve ti al] ~> ruby -e 'ARGF.each { |l| puts l.split.reverse.join( " " ) }'
| + 285771 [jordan.rubyt] ...
| + 285871 [vjoel@pa h. ] Golfing away...
|   + 285878 [wes@ve ti al] Oh that's clever!  I do believe you have honors on the next tee. ;)
|   + 285902 [jordan.rubyt] ...
|     285907 [joshua.schai] You don't use irb for that.  At the command prompt, that's the ruby
|     285938 [jordan.rubyt] ...
+ 285830 [plotchick@gm] I can't remember where exactly, but this is covered in at least one of