Missing zlib on latest ruby version419 (7/2/2008 3:49:03 AM) comp.lang.ruby You all know the error. missing require, blah blah. Seriously, nothing new here. here's the scoop But I found that zlib was missing from the latest ruby version on my Ubuntu. I download and install from so... fedzor
Rev/actor TCP monkey patching1222 (2/11/2008 11:26:29 PM) comp.lang.ruby Short and sweet - How exactly does one monkey patch Rev's TCP over Net::HTTP-s? Thanks, -------------------------------------------------------| ~ Ari seydar: it's like a crazy love triangle of Kernel command... fedzor
Actors and Concurrency431 (2/11/2008 11:18:03 PM) comp.lang.ruby So I was messing with actors today, and I found that I couldn't get an actor to run concurrently with the main thread. Am I just wishing fibers are something they're not? I had: Actor.spawn sleep 1 ... fedzor
Ruby 1.9 Installation Woes025 (1/25/2008 9:31:55 PM) comp.lang.ruby I am trying to install ruby 1.9 on my mac (system details below). HOWEVER, I keep getting an ld error with ./libruby19-static.a! I understand what it's saying but i don't know how to fix it. Hopefully someo... fedzor
Ruby 1.9 and ./libruby-static.a040 (1/23/2008 10:53:04 PM) comp.lang.ruby Hopefully someone has run into this before: % make ... ... /usr/bin/ld: archive: ./libruby19-static.a has no table of contents, add one with ranlib(1) (can't load from it) collect2: ld returned 1 exit status... fedzor
Making 1.9.0 on Mac OS 10.4125 (1/21/2008 11:30:45 PM) comp.lang.ruby Well, not much to say here. % ./configure --disable-pthreads % make ... ... making ruby gcc -g -O2 -pipe -fno-common -L. main.o -lruby-static -lpthread -ldl -lobjc -o ruby /usr/bin/ld: archive: ./lib... fedzor
RubyGame Audio on Mac OS 10.4.11541 (1/11/2008 10:55:18 PM) comp.lang.ruby Hey I managed to get Rubygame successfully installed on mac os x, however using audio still gives me trouble! WAV and MP3 files (the only ones I've tested) throw errors and warnings, respectively. I am m... fedzor
Rubygame Music and Audio Formats229 (1/5/2008 9:53:28 PM) comp.lang.ruby For some reason, Rubygame is printing to the console "warning: incorrect audio format" whenever I try to make a Rubygame::Mixer::Music object. I feed it the absolute path to a verified mp3 file, yet it pu... thefed
Rubygame on Mac OSX129 (1/5/2008 8:32:20 PM) comp.lang.ruby Hello, I am having some serious trouble installing Rubygame on Mac OS 10.4.11 I have currently installed: libsdl {macports} libsdl-framework {macports} libsdl_mixer {macports} libpng {macport... thefed
Net::HTTP Timeout #2444 (1/1/2008 6:49:34 PM) comp.lang.ruby Yes, I have read the previous thread (http://www.ruby-forum.com/topic/ 105212), but I have one small question: Would it be so terribly bad to change it from: >> def rbuf_fill >> timeout(@read_timeout)... thefed
Keyword parameters235 (6/11/2008 7:21:35 PM) comp.lang.ruby [Note: parts of this message were removed to make it a legal post.] Hi everyone, I have a question about keyword parameters in Ruby. I know that v1.8.6 doesn't do this and v1.9 does, and that you can 'trick... glenn_ritz(38)
fire event when the value of a variable is changed730 (6/13/2008 10:24:21 PM) comp.lang.ruby hi ! what is the best way to execute a given method each time the value of a given variable is changed. I have told that if the value of the variable is changed via a sitter, it's possible to use a method cha... mehdi.adda(3)
How to capture a keypress527 (6/17/2008 12:10:31 AM) comp.lang.ruby Hi there, I'm making an interface for a console program that should react whenever the user presses the keys a, m, n or s. I tried to look for a method like keydown or keypress, but I couldn't find anything ali... cowkiller123(9)
Question about Ruby syntax920 (6/17/2008 12:15:45 AM) comp.lang.ruby Hey guys, I'm just getting my feet wet with Ruby (trying to learn the syntax before jumping off into RoR) but I'm having some difficulty with the parser understanding the order of operation.. I have the follo... chanceusc(5)
[ANN] threadify-0.0.11836 (7/1/2008 8:04:20 PM) comp.lang.ruby this one's for you charlie ;-) NAME threadify.rb SYNOPSIS enumerable = %w( a b c d ) enumerable.threadify(2){ 'process this block using two worker threads' } DESCRIPTION threadify.rb ma... ara.t.howard(1140)
Missing zlib on latest ruby version419 (7/2/2008 3:49:03 AM) comp.lang.ruby You all know the error. missing require, blah blah. Seriously, nothing new here. here's the scoop But I found that zlib was missing from the latest ruby version on my Ubuntu. I download and install from so... fedzor(156)
rainbow tables134 (7/5/2008 7:35:51 PM) comp.lang.ruby hi, here is my script so far to make rainbow tables require 'digest/md5' string = "a" File.open("rainbow.txt", "a") do |f| while string != "zzzzzzzz" md5 = Digest::MD5.hexdigest(string) f.puts string + " :... woe(1)
Q: Remote installer536 (7/8/2008 12:41:09 PM) comp.lang.ruby I am looking for a "remote installer" for ruby for Windows. I need to install ruby on about 150 machines over ssh connections and do not want to use a GUI installer like the one-click installer, because it will... grk(39)
array ending syntax question338 (7/15/2008 5:13:16 AM) comp.lang.ruby irb(main):001:0> [1,2][2..2] => [] irb(main):002:0> [1,2][3..3] => nil Is this expected? the ri says: Returns nil if the index (or starting index) are out of range. does the first example match this? Th... rogerpack2005(1307)
Immediately print a string on stdout without new line?634 (7/15/2008 9:09:59 PM) comp.lang.ruby Hi everyone! I'm trying to do something like this: print "Processing... " #some fancy code that takes ages, or maybe: sleep(3) print "done\n" I was expecting to get the following output on my console: Pr... janus1(12)