151903-154944 subjects 152422-154877

Troubles with the installation of RAILS
152186 [janmeskens@p] I have the following error when I try to run RAILS (on ubuntu linux).
152196 [gilmaevski@m] I am getting this as well, and I know of at least one other getting the
152201 [janmeskens@p] And have you fixed the error ? Or have you done something alternative to
+ 152203 [stonelists@g] I've got everything working on ubuntu without any problems.  Did you
| 152220 [janmeskens@p] I've installed ruby with synaptec. Than I made a link for ruby in
| 152223 [stonelists@g] I'm just throwing things out because I have no idea what the problem
| 152232 [janmeskens@p] Thanks for answering.
| + 152236 [kevin.olbric] I assume you tried 'gem install rails'.....
| | 152246 [janmeskens@p] Yes,
| + 152239 [stonelists@g] wajig list-installed ruby
|   152252 [janmeskens@p] Okay,
|   152287 [stonelists@g] Okay, that's an Ubuntu issue with their rails package...
|   152288 [stonelists@g] Meant with their Ruby package...not Rails.
|   152390 [janmeskens@p] It's fixed !!
|   152397 [stonelists@g] Excellent!  Happy ruby rolling (or something like that) :)
+ 152341 [gilmaevski@m] Sorry. I had posted between throwing up my hands in exasperation, and

Seven lone Time methods
152194 [transfire@gm] Time is a core class of Ruby's. So why do we have to
+ 152197 [nobu.nokada@] I guess they are easier in ruby than C.
| 152198 [halostatue@g] Fair enough, but is there no way to make these available by default,
| + 152250 [surrender_it] actually I'd like to have #parse as builtin, but whay would we need
| + 152321 [nobu.nokada@] One idea I have is extending autoload.
+ 152298 [akr@m1 n. rg] matz against that a builtin method which name contains RFC number.

Another Newbie question
152205 [lsumnler@un ] I am running Ruby 1.8.2 on a XP machine.  I have several programs
+ 152207 [james@gr yp ] You're looking for the Kernel.system() method.
+ 152210 [ruby.brian@g] def execute(*args)
| 154251 [david@va ln ] As a sworn hater of magic global variables, I'd like to know: Is there
| 154268 [ruby.brian@g] Put the above into a library and use execute ;-).
+ 152211 [Ara.T.Howard] program, input, output = 'foo.exe', 'input.txt', 'output.txt'
  152273 [lsumnler@gm ] Thanks everyone I look at all of your suggestions.

[SCIRUBY] Interview with Chris Harrop - making sure you can make sure the sun will be shining
152206 [Ara.T.Howard] this on week on sciruby (http://sciruby.codeforpeople.com), an interview with
152209 [Daniel.Berge] I'm getting a "not found".
152215 [Ara.T.Howard] 313

Building a REPL for Ruby
152208 [shalev@si pl] Yes, I know ruby already has irb, but I have a friend who keeps
+ 152212 [bob.news@gm ] irb(main):001:0> 1+10
+ 152213 [pit@ca it in] loop do
+ 152217 [batkins57@gm] Can he write a Python REPL in less than 70 lines?
| + 152218 [logancapaldo] And also not in Python? sheesh. This is the worlds strangest challenge.
| | 152225 [james_b@ne r] It makes me think that the "... and not in Ruby" clause is there because
| | 152253 [surrender_it] I guess that writing a python repl in few lines would actually be quite
| + 152291 [shalev@si pl] Yes.  Evidently he's written a REPL for python in C (using the python
|   + 152301 [rcs@bg ar .n] Well, for what it's worth: I'm a former Pythonista, now a 100% Rubyist.
|   + 152317 [james_b@ne r] Well, comparisons between Rails (with AJAX) and Visual Basic are not
+ 152243 [ptkwt@ar cn ] 'scuse my ignorance, but what's a REPL?
| + 152247 [james_b@ne r] Read Eval Print Loop
| | 152329 [r_mueller@im] the wisdom of the week
| + 152254 [surrender_it] Read-Eval-Print-Loop. Basically something similar to our IRB, or the
| | 152264 [reyn.vlietst] On a related note,
| + 152337 [chrisgame@ex] <Phew! Someone else asked first!>
+ 152405 [bg-rubytalk@] I guess he means write it in C then?
  152479 [shalev@si pl] Forgive my newbness, but how would one use/compile that code?
  152595 [bg-rubytalk@] gcc -I /usr/lib/ruby/1.8/i686-linux -lm -ldl -lcrypt -lruby -o repl repl.c

Rails the daemon side of things
152224 [bearitall@ra] While learning Ruby rails I just had it on my Linux server and used a
+ 152226 [james_b@ne r] Forgive me if I've so missed your question that I'm casting in the dark,
| 152331 [bearitall@ra] Yes, sorry, I wasn't being dumb really, well I was but in a forgivable
+ 152263 [bg-rubytalk@] This is the "development mode" for rails, using the Ruby "Webrick" web
  152330 [bearitall@ra] I am certain that is what is wrong now, that my web server space

Bug in cgi/session
152230 [kbrush@gm il] I couldn't find a bug tracker for ruby, to see if this was known or
+ 152266 [halostatue@g] The Ruby bug tracker is on RubyForge.org.
+ 154906 [matz@ru y- a] Sorry for being late.
  154909 [Ara.T.Howard] require 'cgi'

Re: HTTP, client cookie and client form handling
152235 [foobar@fu zb] I don't know why it wasn't answered, as it's all polite and so...

... old topic, new discussion
152237 [jeff.darklig] So,
+ 152238 [jeff.darklig] And by dominant platform, I mean there are more kids in school, and
| 152345 [chneukirchen] I'd be interested in what platforms Ruby users use... obviously,
| 152346 [twifkak@co c] Well, the population is skewed because the the language has a bias
| 152347 [jeff.darklig] ...
+ 152348 [olczyk2002@y] In terms of Perl, it was allready taking on the world when
  152352 [jeff.darklig] ...
  152576 [snowzone5@ho] i started with the 'gsar' version of perl. and used activestate when

comp.lang.ruby FAQ
152249 [hal9000@hy e] RUBY NEWSGROUP FAQ -- Welcome to comp.lang.ruby!  (Revised 2005-4-14)

comp.lang.ruby FAQ
152256 [hal9000@hy e] RUBY NEWSGROUP FAQ -- Welcome to comp.lang.ruby!  (Revised 2005-4-14)
152271 [bg-rubytalk@] Hey Hal (and everybody else),
152282 [james_b@ne r] Quantity, quality, etc.
+ 152283 [jeff.darklig] A lot has changed in Python in the last two releases ( 2.3 & 2.4 ) ...
+ 152284 [bg-rubytalk@] thing,
  152286 [halostatue@g] I disagree. Rails may be the first FAQ, but there is the occasional
  152293 [bg-rubytalk@] It's not meant to be an ad though, it's supposed to answer frequently asked
  152295 [r.mark.volkm] This seems fair to me.

Ruby MAPI Connectivity
152268 [greg.kujawa@] For my most recent project I have been trying to connect disparate
152314 [florgro@gm i] Certainly sounds like an interesting project. Make sure to mention it on

New site built using Ruby on Rails
152290 [dteare@te re] I wanted to introduce you to my latest site, palmsphere.com, which
+ 152292 [lyndon.samso] ...
| 152356 [dteare@te re] ...
+ 152294 [makenai@gm i] I haven't gotten a chance to look around the major parts of the store
| 152357 [dteare@te re] ...
+ 152300 [l.d.u.n.c.a.] Nice one! I particularly like the 'Favourites' idea - seems a very
| 152358 [dteare@te re] Thanks for the feedback.  The favorites were one of the most fun
+ 152307 [lists@ha ff ] =20
| + 152309 [botp@de mo t] #I wanted to introduce you to my latest site, palmsphere.com, which
| | 152361 [dteare@te re] ...
| + 152359 [dteare@te re] Thanks Tom for those kind words.  We tried very hard not to fall into
|   152371 [khaines@en g] Tangent proximity alert!
|   + 152499 [scott@al da ] Is the representation of Rails and AJAX at
|   | 152505 [khaines@en g] I really have no idea as I'm not a Rails user.  It is really the rest of what
|   | + 152512 [botp@de mo t] #As for sharing the code, honestly, there really isn't much to share.
|   | + 152629 [scott@al da ] Thanks, Kirk.  Hopefully, I will get a chance to play with this over the
|   | + 152695 [dteare@te re] For the most part, implementing Ajax in Rails is very easy.  The hard
|   + 152694 [dteare@te re] While I agree sometimes a full-blown Ajax solution is needed, one of
|     152700 [khaines@en g] I think it probably just boils down to making sure that the google spider can
|     152821 [twifkak@co c] Through CSS, we have display:none and visibility:hidden (which is
+ 152313 [bsd.SANSPAM@] Nice site! You forget to provide link http://www.palmsphere.com/ site.
| 152377 [dteare@te re] We decided not to use categories at all for looking up products
+ 152339 [dave.m@em il] nice work!
+ 152611 [anibalrojas@] How did you deployed the app? What's the system configuration?
  152693 [dteare@te re] We deployed the app on Lighttpd using fast CGI.   The system is a
  152699 [khaines@en g] Oh, I agree!  When I see .0035 second response times from a single processor

newbie trying to zip all .dat files in directory
152302 [lsumnler@gm ] I am running Ruby 1.8.2 on XP professional.  Have installed RubyZip
152315 [wilsonb@gm i] Well, I was just going to bang this one out, and help you out, but
152320 [lsumnler@gm ] Thanks
+ 152338 [dave.m@em il] It's the Zip module namespace.
+ 152351 [wilsonb@gm i] I was thinking about my message, and realized I had perhaps come
  + 152407 [chris.hulan@] I am able to run the original code on Win2K with ruby 1.8.2
  + 154087 [ts_news1@so ] I wouldn't think of it. besides I don't know where you live :-)

152303 [rene@so 6. e] i run into trouble trying to restrict connection-attempts to
152305 [djberg96@gm ] I think you need to splat the "ips" variable, e.g.
152308 [rene@so 6. e] thanks for your answer, but meanwhile i think my problem is quite mysterious,

ruby style question
152322 [joevandyk@gm] Browsing through the Rails code... I see a lot of lines over 80
+ 152326 [w_a_x_man@ya] What makes you think it's difficult?
| 152328 [pit@ca it in] In this case you can even omit the backslash. Because of the last dot
+ 152349 [gavin@re in ] ...
  152353 [khaines@en g] [talking about 80 character lines...]
  152354 [james@gr yp ] Well put.
  152380 [r.mark.volkm] Right.  There's a reason why newspapers wrap lines in articles the way
  152381 [khaines@en g] Though one should not follow print media guidelines too closely.  People

modules, self class, help!
152325 [joevandyk@gm] module JoeAccessors
+ 152327 [binary42@gm ] module JoeAccessors
+ 152350 [Ara.T.Howard] you're close - the issue is that including a module in another class/module
  + 152396 [joevandyk@gm] What's the rationale behind that?
  | 152400 [Ara.T.Howard] i'm not sure - but if it were true to include class methods by default it'd be
  + 152562 [pit@ca it in] Because Object#include is a private method, or are there other reasons?
  + 152577 [transfire@gm] You can just put the instance methods where they normally go. No

need ComboBoxEntry example
152335 [kb6mjb@ex it] I'm having problems getting the list to show in the popup.
152355 [dooby@d1 .k ] Not an example, but the documentation looks pretty good.
152406 [kb6mjb@ex it] God, I wish.  I've spent days with those docs, with no joy.
152408 [mutoh@hi hw ] Did you try ruby-gnome2/gtk/sample/misc/combobox.rb in tar-ball ?
152502 [kb6mjb@ex it] Probably not, I had my mental '*.rb' filter on, though, that title
152523 [dooby@d1 .k ] The author refers to the path within the tar-ball and it's correct.
152527 [kb6mjb@ex it] Thanks for taking the time and making the effort to help out.

Problem with rdoc and gem installation
152343 [olczyk2002@y] First a problem that I am unsure is related. It seems that I can call
152775 [chadfowler@g] Looks like a recently(ish) injected bug.  We'll put it on the list to

newbie, to_s question
152360 [eduardo.yane] class Tactic
+ 152363 [james@gr yp ] # ...
+ 152364 [gavin@re in ] ...
+ 152365 [bob.news@gm ] Because your to_s method returns nil. You want this
| 152367 [eduardo.yane] That's right, I forgot that to_s must return a string, not to print a string
+ 152368 [nobu.nokada@] You don't return a String, but nil.
+ 152370 [acharlieblue] You are not returning "4-4-2" in to_s. You are directly printing
+ 152372 [eduardo.yane] Ok, ok, I think I'll never forget!! :), thanks for the answers to all

[ANN] gmailer 0.0.1
152362 [phasis@bc in] ...
152664 [daniel.amela] Very cool! Its great to see people flesh out the RAA with interesting
152683 [phasis@bc in] Thanks for your suggestions.

[ANN] gmailer 0.0.1 (plain text)
152369 [phasis@bc in] Sorry for previous encoding message.
+ 152373 [martin.anker] very nice, thanks!
| 152374 [Daniel.Berge] First, get rid of camel case!  That, or at least provide aliases, e.g.
| 152511 [phasis68@ho ] I accepted your suggestions:)
| 152515 [lyndon.samso] ...
| 152536 [phasis68@ho ] Not yet.
+ 152462 [shanko_date@] Thanks for the quick release ;-)
  152490 [phasis@bc in] Thanks for your fix.

Ruby for my new business?
152375 [onceuponapri] ...
+ 152376 [francisramme] I understand software will play an important role!
+ 152378 [james_b@ne r] And many would agree with your approval of JavaScript.  It has suffered
+ 152382 [khaines@en g] If you haven't seen it, you should take a look at ruby.js.  It's a very
| + 152383 [james@gr yp ] Yes, I agree.  While I do a lot of local contracting work, I just got
| | 152385 [onceuponapri] ...
| | 152387 [mccarthyjame] I still think remote work is much better.
| | + 152393 [brockweaver@] You know, James' comment made me realize something -- what is a
| | + 152542 [james_b@ne r] Telent?  Is that talent that works via telnet?
| + 152403 [ptkwt@ar cn ] Since this is South Florida we're talking about, I suspect that if you
|   152415 [nugend@gm il] I'm in no ways any sort of authority on this subject or have any
+ 152384 [brockweaver@] We need more people like you Jared!  Asking fellow developers what
| + 152391 [onceuponapri] ...
| + 152394 [onceuponapri] ...
+ 152420 [mrcode@ne ro] I suspect I'm one of the few Ruby programmers in South Florida, at least
  + 152439 [onceuponapri] ...
  + 152581 [transfire@gm] Ditto. Well, except that I'm in Central Florida (W. Melbourne)
    153298 [onceuponapri] ...
    153303 [sy1234@gm il] Good to hear!
    153305 [dandrew.thom] Welcome to the fold my friend. We also made the same decision.
    153329 [brockweaver@] Okay!  So who's starting a business in Des Moines, Iowa that's using

New Win32 gem, Debian package for RMagick 1.9.0
152395 [rmagick@gm i] RMagick's Windows guru, Kaspar Schiess, has just released a new Win32
152437 [demetriusnun] Hey, great news. I was really looking forward to this!

[JOB] Ruby/XP developer position in Redwood City, CA
152398 [jos@ca no k.] A recruiter recently contacted me about a Ruby Developer opening with a

ruby openssl maintainer?
152410 [x5@da is h. ] does anybody know who's currently maintainer of the ruby openssl code?
152552 [matz@ru y- a] It's GOTOU Yuuzou.  I don't his address here for avoiding increase his

Module.nesting -> Kernel#nesting
152417 [transfire@gm] I'm trying to write a little method called Module#modspace, which will
152440 [dmartenson@m] This is mostlikely not the best way to do it, but here is a way to get
+ 152460 [vjoel@pa h. ] You can use name.sub(...) instead of self.ancestors.to_s.sub(...), but
| 152475 [dmartenson@m] Actually, it is a lot better since you avoid cases where there are
| 156359 [sean.ohalpin] class Module
+ 152519 [transfire@gm] Nice use of #eval. That's what I was missing. ( I usually try to avoid
  152545 [pit@ca it in] Maybe because the only thing you can nest are modules, and the result is
  152583 [transfire@gm] Actually that's my point. What you say is the common general thought,
  152586 [pit@ca it in] Seems I can't express my thoughts very well. I know that Module.nesting
  156354 [transfire@gm] True. But if you were to try to define it yourself it woul be a Kernel
  156358 [transfire@gm] Well, I'll correct myself. Techincally, you still need

Re: Prototype vs Class inheritance, (was: Ruby for my new business?)
152419 [jeff@op nd m] It's interesting the part western philosophy played in language design, I
152421 [binary42@gm ] Very interesting. Thanks for the link. This is all ironic right now as
+ 152432 [onceuponapri] ...
+ 152559 [pit@ca it in] Since I'm interested in both languages, too, could you describe in a few
  + 152608 [binary42@gm ] Sure. I am currently implementing Ruby's built-in's as primitives
  | 152612 [pit@ca it in] Brian, thanks for your detailed answer. This is a big task indeed,
  | 152613 [binary42@gm ] Thanks. I will be setting up a website and blog finally... so I may
  + 153188 [julian@co et] What's Io?
    153190 [jim.menard@g] Jim