366508-367088

366273-366679 subjects 366727-369696

[ANN] Detest 3.1.0
366508 [sunaku@gm il] Detest

[ANN] Inochi 4.0.0
366509 [sunaku@gm il] Inochi

Beginning meta-programming question
366510 [wagner.andre] I'm pretty new to ruby, and just playing around. I can't work out why the
+ 366513 [cppcodeguy@a] ...
+ 366514 [jgabrielygal] When you open the singleton class of parent, you don't need to define

ruby on rails.
366516 [music@mu i. ] Is it a NG also for ruby on rails?
+ 366517 [alan@bl go e] Alan Gutierrez - alan@blogometer.com - http://twitter.com/bigeasy
+ 366529 [piyush.pr@gm] I think thats a very rude reply to a question which is just asking whether

ruby calc.rb     or just     calc.rb
366519 [sbstn26@ya o] Beginner here (in ANY programming language), so pls bear with me.
+ 366520 [jgabrielygal] I'm not a Windows expert, but what this is saying is that "ruby", the
| 366522 [elysah@el sa] the ruby command will only work if you put the "$path\ruby\bin"  in your
+ 366526 [joseph.savar] You need to set your path top the Ruby bin directory.  The error: 'ruby' is
  366533 [oscartheduck] As a curiosity issue, what version of Windows are you using? Because Windows

stop program with entering a key...
366521 [niyaziates77] i m a new in Ruby . sorry may be its a silly question.
+ 366536 [mjijackson@g] The following code doesn't do exactly what you need, but it should be
| + 366548 [cppcodeguy@a] ...
| + 366561 [niyaziates77] thank you MJ
|   366564 [thiagown@gm ] Just define a function like "play_game" and do a loop that gets the input in
|   + 366565 [jeanjulien.f] JJ Fleck
|   + 366570 [niyaziates77] thank you TM and others ;
|     366571 [niyaziates77] change the line  like ; if (k='Y') or (k='y')
+ 366580 [cidza@ti .i ] def menu
  366661 [niyaziates77] thank you G. Z.

I GOT $2,000 FROM ' PAYPAL'
366523 [bayofbengal2] I GOT $2,000 FROM ' PAYPAL'  At  http://veryhotguru.co.cc

RubyGems.org Still Down?
366525 [transfire@gm] ...
+ 366527 [ben@bl yt in] Works fine here. Maybe your end?
+ 366528 [botpena@gm i] it's good here.
  366550 [transfire@gm] Server error.
  366604 [transfire@gm] I had to remove a _test_token cookie (or some name like that) to get
  366651 [gsinclair@gm] Thanks Trans.  I was experiencing the same problem; that fixed it.

Regex ^ beginning not strong?
366530 [iainspeed@gm] regexes and inspect the parts (we all have our reasons for the things we =
366545 [shortcutter@] I think you found a bug - probably related to referring to back
366552 [iainspeed@gm] ...

Unable to access the elements in an array with array[1][0]
366531 [arti.p.singh] I feel quite silly asking this question, but here I am. I have what I

Re: Unable to access the elements in an array with array[0]
366535 [arti.p.singh] Thanks, James. I owe you one.

Confused with "include" and require
366538 [stevepauly@c] I am getting an error when I include or require a file.
366540 [flo@an er gr] the
366551 [stevepauly@c] Florian,

Erroneous output from ri File
366539 [echristopher] I mentioned this in another thread, but didn't get an answer.

Directory structure best practice?
366541 [mrzombie@th ] What are the best practices concerning directory structures for Ruby programs?
+ 366542 [joseph.savar] Also, look in gems you have installed.
+ 366601 [  jbw@jb .c ] You can , if you're feeling lazy, install a gem called "jem" which

Issue with mongrel and apache.
366543 [javaalley@gm] I just upgraded rails to 2.3.8 on my test server and now the apache is
366577 [rogerpack200] On all browsers? Also you may want to ping the RoR ML.
366578 [javaalley@gm] On firefox and chrome it did the same thing.   On IE7 it rendered correctly.
366610 [javaalley@gm] Just wanted to let everyone know i sloved the issue.  There is a bug in

Help: How to pass a struct as a pointer to Win32API?
366544 [thyrlian@gm ] As titled, I want to read text content from a standard syslistview32
366556 [phasis@gm il] Here is a code using VirtualAllocEx and WriteProcessMemory for a
366563 [thyrlian@gm ] Thanks for your answer, and I've tried your code, everything is fine but
366566 [phasis@gm il] Did you tried the whole code with VirtualAllocEx and WriteProcessMemory?
366569 [thyrlian@gm ] I tried both, with VirtualAllocEx and WriteProcessMemory part and without.

interactive ruby development
366546 [syamajala@gm] As someone who has used lisp, emacs, and slime in the past, I get
+ 366576 [rogerpack200] I believe netbeans has auto-completion. Anybody else know of one?
| 366579 [sroach@in es] I've used Netbeans as well and really like it.  However, I'm in love with
+ 366581 [brabuhr@gm i] ...
+ 366775 [gabriel.horn] You may want to try inf-ruby-bond(http://github.com/pd/inf-ruby-bond)

[ANN] RubyConf Uruguay 2010, October 29th and 30th
366547 [contacto@ni ] Hey there!

How to proceed?
366553 [railsfid@gm ] I am a fairly new member to RoR community and programming for that
366554 [ninja@sl ph ] That sounds like a really fragile approach.

IO.popen   exit the program when it failed
366555 [soloparamsn2] i have been trying to recieved the output of a command with IO.popen and
366557 [soloparamsn2] i found the solution on the forum :D
366573 [rogerpack200] use .read instead of .gets (?)

Beginner help needed: use a class def to create new instance
366558 [stevepauly@c] I am attempting to put as much code inside classes as possible, to
+ 366559 [jgabrielygal] - I tend to separate the domain objects from the code that interacts
| 366817 [stevepauly@c] Jesús Gabriel y Galán,
| 366821 [jgabrielygal] Maybe call this coa=3D, as it's a setter?
+ 366869 [b.candler@po] I think you want a class method, not an instance method, since you're

thanks guys
366560 [sbstn26@ya o] To James, I'm still on windows xp.
366562 [jgabrielygal] No problem, we were all novices at some point in time. When you type
366595 [jarmo.p@gm i] If you don't know how to change PATH variable in Windows (then you
366645 [steve.j.swif] It used to be the habit of my employers to send us our PC's with a

sample programm using savon to connect toms-exchange ?
366572 [laguna53@ym ] ms-exchange ?

Dolphin Dale high School: N Naveen Chowdary
366582 [mahesh2.p@gm] N Naveen Chowdary At Dolphin Dale High School.

RSpec configuration?
366583 [mrzombie@th ] Is there anyway to make it so that --color be a default option? Like a
366588 [eregontp@gm ] ~/.rspec
366592 [mrzombie@th ] That will sound stupid, but it doesn't work for me. Any other magic
366594 [mrzombie@th ] Meh. I ended up aliasing the command in my bash profile. Thanks anyway :P

Re: nmap-1.1.0
366584 [ara.t.howard] eeks.  it's 1.1.0
366623 [joelvanderwe] Any idea why narray.h doesn't get found (or more to the point, why the

Where can I find the 'shebang' line?
366590 [azzzz@gm .n ] I seem to be having trouble with RVM (after an update to Rails 3 RC),
366602 [echristopher] The shebang line is (optionally) the first line of a Unix script,
366605 [azzzz@gm .n ] Thanks for your help Eric :)
366608 [azzzz@gm .n ] I fixed it!
366609 [echristopher] No problem. Out of curiosity, where was rake located? Since it was
366615 [azzzz@gm .n ] /Users/me/.rvm/gems/ruby-1.9.2-head/bin/rake

In Ruby 1.9 Test::Unit::TestCase parse ARGV differently
366600 [oliver.peng@] After upgrading to Ruby 1.9, I found that class Test::Unit::TestCase
+ 366603 [oliver.peng@] Find the reason. In Ruby 1.9, it uses new Unit Test framework
+ 366669 [rogerpack200] File a bug with minitest?

Which Ruby is in use?
366611 [hassan.schro] Is there a way to tell from within a program which executable is being
+ 366614 [joseph.savar] The best way is to check your path or your #! Line....
| 366617 [hassan.schro] As I said, I'm not interested in the version, just the path to the executable.
| 366620 [joelvanderwe] Maybe this will work?
| 366622 [hassan.schro] Works in a Rails console, but not a Ruby program. But thanks, now
| + 366624 [joelvanderwe] Hm, that's surprising. I tested it in ruby and jruby programs. What's
| | 366625 [hassan.schro] puts File.join *Config::CONFIG.values_at("bindir", "ruby_install_name")
| | + 366626 [joelvanderwe] $ ruby -v -rrbconfig -e 'p File.join(*Config::CONFIG.values_at("bindir",
| | | 366627 [hassan.schro] Yes, I see that -- my first thought was that that's not going to be practical
| | | 366631 [fmg134s@ya o] hope I did not misunderstand the question, but would this work??
| | | 366633 [hassan.schro] Thanks, but
| | | 366635 [edward.middl] Thats because the $0 is being evaluated by the shell not ruby.  What you
| | | 366637 [fmg134s@ya o] Yeah I missed that.  I could not execute/test the code I suggested
| | | 366642 [vikkous@gm i] $ ruby -e 'p $0'
| | | 366677 [hassan.schro] Yeah, that's the pick of the litter. I was looking for the minimal solution
| | | 366680 [rogerpack200] ENV['_']
| | | 366695 [vikkous@gm i] I just did a quick check, and I'm not seeing anywhere in the ruby
| | | 366698 [joelvanderwe] $ ruby -e 'p ENV["_"]'
| | | 366700 [hassan.schro] Ah, good detectorizing :-)  and that explains the JRuby "issue" -- even
| | + 366676 [joseph.savar] You forgot to require "rbconfig"
| + 366675 [joseph.savar] Maybe
+ 366616 [joseph.savar] RUBY_COPYRIGHT
+ 366668 [rogerpack200] => "c:/installs/ruby192-rc1/bin/ruby.exe"

Chat client
366618 [soloparamsn2] the part where i can create a chatserver with Gserver
+ 366632 [fmg134s@ya o] Daniel, you need to include more info.
| 366703 [soloparamsn2] I am sorry!!!
+ 366649 [jgabrielygal] test_socket.rb:6: undefined local variable or method `s' for

tool to compare DB schema against DDL file
366629 [fmg134s@ya o] First of all any feedback from you guys will be of tremendous help.
+ 366643 [shortcutter@] It wouldn't.  This is a solved problem already, for example Sybase has
| + 366678 [fmg134s@ya o] Is Sybase open source?  I'm disregarding proprietary, non open source
| | + 366688 [brabuhr@gm i] RoR ActiveRecord can dump a ruby representation of the database schema
| | | 366706 [fmg134s@ya o] Well I'll grant you one thing, it sure ain't pretty but it gets the job
| | | 366713 [brabuhr@gm i] I've not tried it; it should work, but I'm more comfortable reading
| | + 366689 [shortcutter@] No.
| |   366705 [fmg134s@ya o] The answer might be that it cannot, it's a matter of where you put your
| |   366717 [shortcutter@] But what are you looking for?  The subject says you want to compare a
| |   366749 [fmg134s@ya o] I ultimately need to compare a DB (extracting data to a DB custom tool
| + 366750 [fmg134s@ya o] Robert, wouldn't an AR model fit the bill for the marshalled object
+ 366764 [rogerpack200] Is this just for oracle then?
  366768 [fmg134s@ya o] Actually this would be for DB2.  I'm not particularly fond of it but
  366770 [rogerpack200] GL.

multidimensional array insert syntax
366630 [dcastellano1] Can anyone help me with the correct syntax to insert into a
366648 [jgabrielygal] answer_choices[x][0] =3D correct_ans_1
366653 [dcastellano1] I actually want to insert rather than replace. Is there a way to do
+ 366655 [jgabrielygal] irb(main):001:0> a = [1,2,3,4]
+ 366657 [shortcutter@] Use Array#insert.
  366660 [jgabrielygal] Amazing how I missed that, given that I was specifically looking for
  366666 [dcastellano1] That works for single dimension arrays but I can't figure out the syntax
  + 366667 [jgabrielygal] In order to better understand it, I'm afraid you will need to stop
  + 366671 [dcastellano1] Sorry, missed your reply earlier.  That was what I needed.  Thank you

ironruby forums?
366634 [scott.hutter] anyone know any good IronRuby specific forums?  And am curious, how
+ 366664 [sardaukar.si] IronRuby allows for interesting stuff, but being Win-only is bad, I mean it
| 366663 [sardaukar.si] Actually, I meant Maglev or Rubinius :)
+ 366763 [rogerpack200] The more ruby the better, as far as I'm concerned :)

why i can't  get the value out of each block?
366636 [myocean135@y] a=[1,2,0,10]
366640 [ayumu.aizawa] In that case, x has scope of inside block.

Thanks a lot!
366638 [sbstn26@ya o] Thanks guys! Truly appreciate it!

Thanks a bunch!
366639 [sbstn26@ya o] Thanks everyone! Truly appreciate it!

Accessing object in rescue block
366646 [ odo@ma .c m] when I rescue an exception, is there a way to access the object where
+ 366654 [lasso@la so ] Not by default. According to http://www.ruby-doc.org/ruby-1.9/classes/Excep=
+ 366656 [shortcutter@] There is no way I am aware of which allows for fetching the instance
  366778 [ odo@ma .c m] Thanks for your thoughts, I figured it out.

net/smtp
366650 [dglnz2@gm il] I am not sure if I've properly understood things correctly but....
366652 [mrzombie@th ] When I send mail using Ruby, I use Pony.
366719 [dglnz2@gm il] thanks MRZombie,
366724 [dglnz2@gm il] update to the issue.

Problem in loop do
366658 [amiref@ym il] please explain me with example in "loop do" , diffrence between "redo"
366662 [shortcutter@] Why don't you just write a small program and test it out for yourself?
366681 [amiref@ym il] "next" and "redo" was same.
366687 [rws1111@gm i] I've not been visiting here for very long, but I suspect people will be

openssl. question about ec
366659 [truschev@gm ] Here it is.

Shox Allegria Glow,Shox FSM,Shox Dendara,Shox 45,Shox Propulsion,Shox  XT,Shox Vivacity.                  (http://www.cntrade09.com)
366665 [chenxiangmei] For more information,please contact karen,

Object#tap (was Nice algorithm for 'spreading' indexes across an  array?)
366673 [list.push@gm] Thanks to a post by David Masover in a recent thread, I learned about
366708 [ninja@sl ph ] Oh, you mean modifying the array?
366716 [gsinclair@gm] message = String.new.tap { |s|

[ANN] Inochi 4.0.1
366674 [sunaku@gm il] Inochi

Concept of iterator
366682 [amiref@ym il] What is difference between concept of iterator in c++ and ruby ?

Concept of iterator in c++ and ruby
366683 [amiref@ym il] What is difference between concept of iterator in c++ and ruby ?
366690 [shortcutter@] Now this sounds like a homework question.  What did your research turn up?

hard drive backup program in 100% pure ruby
366684 [travis.ml-ru] I think that I'll run into needing some features from the File or
366711 [ninja@sl ph ] Looks interesting...

3D Ruby Process Screencasts
366685 [conmotto@gm ] For those wanting to do 3D stuff with Ruby Processing, I also have a few screencasts up on YouTube, as well as some F/OSS code available on GitHub. http://www.prestonlee.com/2010/05/17/3d-osx-applications-with-ruby-processing-screencast/

[NOOB] respond_to? failing
366686 [sentinel1879] I've been checking respond_to? before calling send() for ages but today
366691 [sutniuq@gm .] That's because the #testme method you defined is automatically made
366712 [sentinel1879] Thanks a lot. Is this mentioned in some document or Pickaxe. I'd like to

rubyw, RuntimeError, capturing the stack, FXRuby
366692 [ralphs@do 32] ...
366693 [joseph.savar] begin
366694 [ralphs@do 32] ...
+ 366696 [joseph.savar] Sorry..
+ 366697 [sutniuq@gm .] irb(main):001:0> begin

how to determine array element number in a each loop
366699 [kaya.aykut@g] The title is quite self explanatory: I am in
+ 366701 [oscartheduck] i = 0
| 366702 [nicholas.orr] or use each_with_index
+ 366796 [bdloving@gm ] dummy_array.each_index do |i|

implementing multiple "constructors" in ruby
366704 [travis.ml-ru] So I have a class that I may want to instantiate multiple ways.
+ 366714 [ninja@sl ph ] Ah, that answers my question from earlier.
+ 366720 [jgabrielygal] erbose=3Dfalse, debug=3Dfalse)

64 bit ruby installation on 64 bit windows
366707 [dxtrdrosario] i've tried installing a 64-bit ruby on a 64-bit windows.
+ 366734 [luislavena@g] Yes, all the DLLs needs to be exactly of the same architecture.
| 366777 [elysah@el sa] Yes I tried to compile ruby for 64b arch, but there is too many
+ 366782 [rogerpack200] jruby under a 64-bit java VM should work OOTB on doze.  That's probably
  367086 [headius@he d] Yes. No recompiles, no C exts that don't support 64-bit. Unpack and run.

[ANN] hitimes 1.1.0 Released
366709 [jeremy@hi eg] {{ Release notes for Version 1.1.0 }}
+ 366715 [cremes.devli] JRuby support? Excellent...
| 366746 [jeremy@hi eg] Yup, Roger Pack sent me the suggestion, I figured why not.  If you think
+ 367088 [headius@he d] FWIW, this is a really good example of how to write JRuby extensions.

undefined method `each' for (installing gem)
366710 [sonja@ki a. ] I frequently get this error. Halp?
366767 [echristopher] Try updating rdoc.

Problem with concurrency
366718 [zapotek@se f] I'm having an issue with a multi-threaded system I'm developing.
366721 [shortcutter@] Thread.abort_on_exception = true
366722 [zapotek@se f] Thanks for the reply, however I didn't see any errors.
366723 [zapotek@se f] Huh...it seems that the problem was actually caused by the localhost
366725 [shortcutter@] If it can happen once chances are that it will happen again.  It's
366726 [zapotek@se f] Well, the laptop was on for 2-3 days constantly running fullscreen flash
threads.html
top