279671-284430

279465-281875 subjects 279846-295010

^ Is there an equivalent in irb to command: history in bash?
279671 [stephen.bann] Is there an equivalent in irb to the command history in bash?
279675 [cmshea gmail] On Nov 18, 10:44 pm, Stephen Bannasch <stephen.banna...@deanbrook.org>
279686 [ben bleythin] I think so too ;)
+ 279739 [stephen.bann] Thanks ... perfect ;-)
+ 279795 [yedingding g] One more feature request: Why not auto save the history in .irb_history,
| 279801 [ben bleythin] Thanks!
| 279845 [yedingding g] Cool~, :)
+ 279809 [tpo2 sourcep] Ben, don't you want to add a link from the blog entry to where people can
  279813 [ben bleythin] The link from the thread takes you to the actual code, and both blog
  279852 [tpo2 sourcep] Oh, I was coming from the "RubyConf stuff" blog entry which AFAICS doesn't
  280170 [ben bleythin] Woops!  You're right, and I should fix that.  And now I have.  Thanks :)

^ create, read, update an sqlite database
279672 [hawat.thufir] This is all from <http://sqlite-ruby.rubyforge.org/sqlite3/faq.html>.
279682 [ryand-ruby z] [cut lots of shit that only makes helping you harder]
279705 [hawat.thufir] Thank you for the information, I googled it and found <http://sqlite-

^ my GUI is not work in ruby 1.8.6
279674 [bad_good_lio] already i used ruby 1.8.5 (my GUI program is worked well)
279681 [nobu ruby-la] How did you installed it?  Have you tried --enable-pthread
279683 [bad_good_lio] no i didn't ,,i ll try

^ [ANN] igraph 0.9.0 Released
279684 [alexg kuicr.] igraph version 0.9.0 has been released!
279749 [unbewusst.se] does it install successfully on Mac OS X 10.4.11 ???
+ 279752 [unbewusst.se] #! /usr/bin/env ruby
+ 279840 [alexg kuicr.] I've released a new gem (0.9.1) which disables the file read/write =20
  279850 [unbewusst.se] ~%> sudo gem uninstall igraph

^ Single Sign on
279690 [deepti.pg gm] I have been trying to have a single sign on for my rails application.

^ How to run same test suite multiple times using watir
279697 [vishwanath.u] I am using watir for testing our websites.

^ error: conflicting types for ...
279700 [saladin.mund] charset="iso-8859-1"
279702 [saladin.mund] the called method (rb_mod_findm) should be put above the method rb_mod_wrap

^ Break a recursive loop
279703 [alvaro.pmart] something that I think should not be very difficult, but i'm struggling
+ 279706 [stefano.croc] def find(name, where)
+ 279708 [michel.boave] You can set a variable and set it true if you find. Then inside the
+ 279709 [studlee2 gma] Instead of breaking out of the loop, why don't you return the object
| 279711 [alvaro.pmart] I tried but does not work if I want to return nil when I found
| 279713 [michel.boave] You can use the ObjectSpace Module, who give you acess of all objects
+ 279726 [ihatespam ho] I don't understand, exactly, what you're doing but there are some things
  279732 [ihatespam ho] with find().  It doesn't do what I thought it did.
  279742 [alvaro.pmart] That last works fine. The problem is that I need an instance variable
  279745 [ihatespam ho] Which "last" was that?
  279761 [alvaro.pmart] It's the only way that works so far. I need to explore inside the
  279777 [ihatespam ho] Did my examples not work at all?  I thought that, at worst, they'd have

^ to_plain_text() in hpricot doesn't do what you'd think it'd do...
279718 [ihatespam ho] You'd think that the to_plain_text() method would conver the HTML to

^ replacing spaces
279719 [vaqas.ashraf] I have a long string "that looks like this". I want to replace all
279720 [stefano.croc] "that looks like this".gsub(" ", " and ")
279722 [vaqas.ashraf] thanks :)

^ printing the array values in c
279721 [saladin.mund] charset="iso-8859-1"
279728 [rmagick gmai] rb_ary_entry(n) returns the VALUE at index n.

^ Short introduction on how to create good source doc?
279727 [forum josh.c] I'd like to document my Ruby sources in a clean and standardized way.
279737 [phrogz mac.c] when run through RDoc.
279774 [dejan.dimic ] Just to add a little observation.
279782 [forum josh.c] Thanks for the hint. Because I'm creating Ruby on Rails codes I'd like
279836 [phrogz mac.c] Slim2:~ phrogz$ ls -Flag /usr/local/lib/ruby/gems/1.8/gems/ | grep -E

^ mailing list translation gateway service released!
279731 [jtoy rubynow] rubynow.com . It takes several of the ruby mailing lists and translates

^ How to - SSH in Ruby
279734 [goswamiarind] I want to write some code to ssh to a linux machine, and then enter some
+ 279740 [gethemant gm] net/ssh or vlad
+ 279750 [kbloom gmail] Ken (Chanoch) Bloom. PhD candidate. Linguistic Cognition Laboratory.

^ Read last line of a file
279738 [shuaib.zahda] I was trying to find a method to read only the last line of a file. I
+ 279743 [ruby anthrop] Depending on your platform, you might find that using popen with tail -1
| 279756 [shortcutter ] You do not need the ".extend(Enumerable)" bit as an IO does already
| 279775 [ruby anthrop] Ah, sorry, you are correct. For some reason I was thinking of MySQL result
+ 279748 [fxn hashref.] The idea is that you put the file object in binmode and pick a chunk
| 279753 [james graypr] gem install elif
| + 279755 [fxn hashref.] Good!
| + 280079 [shuaib.zahda] Sorry for posting late
|   + 280105 [jarvo88 gmai] It works just like File#each, except in reverse order..
|   + 280125 [james graypr] require "elif"
|     + 280214 [shuaib.zahda] Thanks it works. But when i used require "elif". My ruby did not
|     | 280222 [botp delmont] RnJvbTogU2h1YWliIFphaGRhIFttYWlsdG86c2h1YWliLnphaGRhQGdtYWlsLmNvbV0gDQojIFRo
|     | 280224 [shuaib.zahda] Thanks a lot. It works well. So, I can conclude that I have to call
|     | 280228 [botp delmont] T24gQmVoYWxmIE9mIFNodWFpYiBaYWhkYQ0KIyBTbywgSSBjYW4gY29uY2x1ZGUgdGhhdCBJIGhh
|     + 280229 [botp delmont] # require "elif"
|       280846 [james graypr] This can be hard to support for all iterators, but Array does have =20
+ 280135 [lojicdotcom ] last_line = `tail -n 1 #{file_name}`

^ saving a text file from a web page & save us from PERL/PHP
279744 [bitdoger2 ya] ..unfortunately...our company is developing a web page from hand written

^ List of error messages
279747 [neoanderson1] Dear All,

^ Ruby Question
279754 [jimdurand ro] New to Ruby, getting "Application error (Rails)" when trying to access
279844 [celtic sairy] This sounds like a Rails question, and an implementation issue that's a

^ xml-mapping lib question?
279759 [david.zxem g] I got a xml looking like this.
279936 [david.zxem g] class VolPoint

^ assignment method semantics
279762 [adambillyard] Are there any guidelines for the operational semantics of assignment
+ 279765 [alex blackke] Yup, it's just setter sugar.  The method Material#texture= can do
+ 279772 [shortcutter ] IMHO the questionable part is that a setter can actually fail because

^ [ANN] Ramaze version 0.2.0
279764 [m.fellinger ] VGhpcyB0aW1lIHdlIGFyZSBwcm91ZCB0byBhbm5vdW5jZSBWZXJzaW9uIDAuMi4wIG9mIHRoZSBS
279788 [james.britt ] Sweet!

^ Issues installing ferret gem on OS X Leopard
279766 [lebreeze gma] Can anyone shed light on why this is happening?
281927 [manjiro gmai] I'm having the same issue as well.
284430 [jonathan.sut] I had the same problem.

^ AR: many to many with attributes
279769 [christian.ke] id
+ 279770 [christian.ke] id
| 279771 [kevin.cline ] On Nov 19, 11:13 am, Christian Kerth <christian.ke...@dynamicmedia.at>
| 280112 [christian.ke] I know, this is just an example.
+ 280124 [phrogz mac.c] On Nov 19, 10:13 am, Christian Kerth <christian.ke...@dynamicmedia.at>
  280127 [christian.ke] @1) yeah, i have set up the models with :through associations. The all
  280188 [phrogz mac.c] On Nov 21, 7:12 am, Christian Kerth <christian.ke...@dynamicmedia.at>

^ Copy image from a website
279773 [studlee2 gma] I'm trying to copy an image from a website, but can't seem to get it
+ 279804 [jan.svitok g] web page = (virtual) file
+ 280078 [dido.sevilla] T24gTm92IDIwLCAyMDA3IDI6MDAgQU0sIF9TdHVkIDxzdHVkbGVlMkBnbWFpbC5jb20+IHdyb3Rl

^ Scraping <table> from a website
279778 [charlieskilb] I need to extract everything between <table> and </table> on a website
+ 279779 [aledonne.lis] inner = page.scan(%r{.*<table[^>]*>(.*)</table>.*}m)
+ 279780 [funkaster gm] use the right tools for the right job :-)
| 279847 [hawat.thufir] Amazing -- I thought that the above would be a massive project, not what
+ 279784 [w_a_x_man ya] inner = page[ %r{<table.*?>(.*?)</table>}mi, 1]
  279796 [charlieskilb] Thanks all for your help. non greedy matching is the key.

^ One for me as a noob hard task
279781 [jocke gnu.or] Write a program which asks us to type in as many words as we want (one
279786 [sepp2k googl] Pick one (bubble sort is quite easy) and then implement it in ruby.
279787 [jan.svitok g] Or for the beginning, before you try to implement any of those
279789 [jocke gnu.or] Thanks for the cool answer! However, I must say that I can't solve the
279791 [jocke gnu.or] sorted=[]; words.length.times do sorted<<words.delete(words.min) end;
279792 [sepp2k googl] That person was me.
279798 [jocke gnu.or] words = []

^ Why does IO.readlines() keep newlines?
279783 [ihatespam ho] At the very least, the win32 implementation of Ruby's IO.readlines()
+ 279814 [devi.webmast] On Nov 19, 2007 1:15 PM, Just Another Victim of the Ambient Morality
| 279853 [fxn hashref.] Indeed that's not the case.
| 280012 [devi.webmast] Unfortunately, files created on one platform inevitably make their way
| 280014 [fxn hashref.] ...
+ 279815 [phrogz mac.c] On Nov 19, 12:14 pm, "Just Another Victim of the Ambient Morality"

^ [ANN] rcov-0.8.1: compatibility with Ruby 1.8.6-p11[01], intentional testing with RSpec, etc.
279790 [ mfp acm.org] Source code, additional information, screenshots... available at
279864 [ mfp acm.org] The REXML workaround was being used incorrectly with 1.8.6 < p110.

^ Re: rails boredom antidote?
279797 [ben bleythin] I've been there.  I think most of the people who have been doing Rails
279800 [james.britt ] Makes sense.
279805 [znmeb cesmai] I'd venture to guess that Rails work in all covers about half of the
279818 [dangerwillro] I'm not actively enough working with it, but check out Gosu.
279854 [fxn hashref.] My company (ASPgems) is Ruby-based. Most projects are web, but some

^ float math?
279799 [tmac easystr] charset=US-ASCII;
279803 [jan.svitok g] Search the archive for 'float', or possibly 'float precision'. It's a FAQ.

^ using lambda, binding happens immediately?
279802 [slarbi gmail] require 'test/unit'
279891 [shortcutter ] I'm not sure I understand you but why don't you just do
279914 [slarbi gmail] Thanks Robert,
279918 [shortcutter ] Then you are using "year" outside the block as well and the code you
279934 [slarbi gmail] Robert,
279938 [shortcutter ] IMHO even older Ruby version should behave the same, i.e. when the

^ Re: igraph 0.9.0 Released
279806 [csardi.gabor] Une, maybe Alex has a better answer, but it seems that the Ruby igraph
279826 [alexg kuicr.] Yup, I'd not tested on OSX, but I'll get on it and see if there's a =20

^ Using irb as a REPL
279810 [srobertjames] Lisp programmers often use the REPL (similar to IRB) as a simple way
+ 279812 [srobertjames] irb my_class
| 279830 [cameron.mcbr] hmmm, I've also had some problems trying to add a command interface to
| 279833 [srobertjames] Then you miss out on the full power of Ruby in your interface!
| 279835 [cameron.mcbr] Sorry, I wasn't clear.  I'm talking about building a ruby library and
+ 279838 [why ruby-lan] The MimickIRB class just wraps IRB's RubyLex class in a very simple
+ 281383 [vjoel path.b] vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407

^ [ANN] OpenWFEru workflow engine 0.9.16 released
279816 [jmettraux op] OpenWFEru ("Rufus" for short) is an open source Ruby workflow and BPM engine.

^ Assignment without attr=
279817 [lists gregwi] Not even sure what to call this for the thread subject
+ 279819 [TimHunter nc] maybe I'm missing something obvious here, but why not just take the
+ 279821 [cmshea gmail] class PackedNumber
+ 279823 [justincollin] def initialize(num = nil)
| 279825 [lists gregwi] Yeah, either of those (.set or [ ]) will be fine.
+ 279869 [sepp2k googl] String

^ (none)
279820 [kazuya.fujio] unsubscribe

^ [ANN] RubyGems 0.9.5
279822 [drbrain segm] RubyGems 0.9.5 adds several new features and fixes several bugs.
+ 279876 [laurent.sans] Just a quick note to mention that Mac OS X 10.5 is now fully supported
+ 280053 [ news jay.fm] Congratulations!  I know this is a major step for the Gems team as they

^ exit call in script causes unit test to not run (newby)
279827 [weathercoach] I've been grappling with unit testing for a couple weeks now.   I'm
+ 279832 [ryand-ruby z] so don't call exit.
| 279834 [weathercoach] Ryan.
| + 279843 [ryand-ruby z] A call to exit impacts the execution of ruby... not just unit tests.
| + 280071 [shortcutter ] This sounds as if you did not yet get the hang of exception handling.
+ 279859 [shortcutter ] I disagree.  Ruby and Bourne Shell are two completely different

^ [ANN] user-choices 1.1.6
279837 [marick visib] A minor update, but I never announced this library before.

^ Looking for Google API expert to consult on our Google hosted apps  (calendar, maps, email, docs)
279839 [styles xlsui] Looking for Google API expert to consult on our Google hosted apps

^ Re: RubyGems 0.9.5
279841 [mgreenly gma] I got caught by some "tired at the end of the day" stupidity...
+ 279867 [chauk.mean g] RubyGems 0.9.5 looks great but I cannot installed the ruby-debug-ide
| + 279886 [chauk.mean g] I forgot to mention that I only use local installation of gems that I
| | 279915 [chauk.mean g] - rubygems 0.9.5 includes dependencies during installation by default
| | 280025 [drbrain segm] $ gem fetch ruby-debug-base
| | 280087 [chauk.mean g] What you did is installing ruby-debug-ide remotely.
| + 279910 [james graypr] $ sudo gem install rmagick
| + 280024 [drbrain segm] Thanks.
+ 279903 [rick.denatal] My way of looking a this is the brain-dead packaging of Ruby on debian
| 279907 [mgreenly gma] Hardly... in all package managed systems /usr/lib belongs to the package
| + 279921 [znmeb cesmai] Let me emphasize what you just said. /usr/lib belongs to the package
| | + 279927 [rick.denatal] Which is what I did on ubuntu, I just wasn't explicit about where I
| | + 279928 [halostatue g] 4. Complain to your distro manager to be more sensible when it comes
| |   + 279935 [mgreenly gma] I'm all ears if some one wants to fill me in on what Apple did...
| |   | + 279999 [halostatue g] Look to posts by Laurent Sansonetti on this list or the rubygems developer list.
| |   | | 280020 [mgreenly gma] That actually made me laugh.  Debian doesn't get package managment?
| |   | | 280065 [halostatue g] Try responding to what was actually written. I said Debian maintainers
| |   | | 280122 [eeklund gmai] The problem is that environment variables is a lousy way to keep
| |   | | 280134 [halostatue g] It's completely wrong and completely *not* RubyGems responsibility.
| |   | | 280439 [kbloom gmail] I have filed a bug in Debian regarding this. See http://
| |   | + 280023 [drbrain segm] Apple wanted to integrate RubyGems with Leopard in a manner that was
| |   |   + 280086 [sylvain.joye] Maybe because they would have to do that for every conceivable shell
| |   |   | + 280119 [halostatue g] Which, again, isn't RubyGems problem. It's a Debian problem. Ruby and
| |   |   | | 280129 [sylvain.joye] I think that's what people think when they say "you don't get anything
| |   |   | | 280137 [halostatue g] for anything RubyGems as far as I know.
| |   |   | | + 280230 [mgreenly gma] It's became very obvious to me who the anti-debian zealot is.  You may
| |   |   | | | + 280231 [mgreenly gma] So this thread left me thinking about how I'd like to see RubyGems work
| |   |   | | | | + 280269 [luislavena g] On any case, that wouldn't work. Doesn't packages contains a file
| |   |   | | | | + 280271 [halostatue g] Disagree re: environment variables. There are exactly two environment
| |   |   | | | |   + 280289 [eeklund gmai] [About stuff]
| |   |   | | | |   | + 280307 [shevegen lin] "Having two copies of RubyGems isn't really going to be a good choice,
| |   |   | | | |   | | 280308 [shevegen lin] "Hehehe, no intention to offend anyone, but I feel better manually
| |   |   | | | |   | + 280309 [transfire gm] The real problem is that the FHS is outmoded. Advances in file systems
| |   |   | | | |   + 280313 [mgreenly gma] My goal is to make using Ruby seem normal from both a Ruby users and
| |   |   | | | |     280440 [kbloom gmail] They should follow the lead of Debian's version of CPAN and symlink the
| |   |   | | | + 280270 [halostatue g] I'm anti-Debian-meddling. Not anti-Debian. (I use and recommend Ubuntu
| |   |   | | + 280430 [kbloom gmail] If you think that being able to upgrade RubyGems externally of the Debian
| |   |   | |   + 280516 [halostatue g] Then it's up to the distro-packagers to do that.
| |   |   | |   + 281122 [drbrain segm] I agree.
| |   |   | + 280120 [laurent.sans] On Nov 21, 2007 10:12 AM, Sylvain Joyeux
| |   |   |   280152 [luislavena g] On Nov 21, 10:52 am, Laurent Sansonetti <laurent.sansone...@gmail.com>
| |   |   |   + 280155 [ara.t.howard] why not simply allow for a site-wide gem configuration *within* the
| |   |   |   + 280157 [laurent.sans] System-wide doesn't necessarily mean /etc, default values for GEM_*
| |   |   |     280161 [ara.t.howard] bingo.  that sounds like a great idea.
| |   |   |     280178 [drbrain segm] And this is how RubyGems works right now, *unless* you want to do
| |   |   |     280186 [laurent.sans] Well, it's not easy to set up multiple gem repositories from
| |   |   + 280432 [kbloom gmail] What Debian is doing is sensible. Your decision to use non-debian methods
| |   + 280035 [znmeb cesmai] Apple Computer is a for-profit entity. Unless you're buying SuSE/Novell
| + 279998 [drbrain segm] Maybe for Linux distributions.  RubyGems works on more than just Linux.
| + 280431 [kbloom gmail] Please file a bug in the debian bug tracking system
| + 280441 [kbloom gmail] I have filed a bug in Debian regarding this. See http://
+ 279926 [halostatue g] That doesn't surprise me. I don't use the Ubuntu or Debian versions of
+ 279993 [drbrain segm] Rather than using features provided by RubyGems (GEM_PATH), Debian
threads.html
top