284825-285671 subjects 285300-286871
^ gem on ubuntu problem : /usr/local/lib/site_ruby/1.8/rubygem
285040 [nnczm12u5227] I've got a serious problem installing gem on my ubuntu. i used the
285117 [mgreenly gma] Something doesn't add up. It's looking in /usr/local. It looks to me like
^ RSpec on Ruby 1.9: before(:all) (Not Yet Implemented) pending messages instead of tests
285049 [ shot hot.pl] I happily hand-compiled Ruby 1.9.0-0 into /home/shot/opt/ruby today
+ 285070 [ shot hot.pl] examples work
| 285083 [rick.denatal] You should probably bring this up on the rspec-users list (I'm copying
+ 285280 [dchelimsky g] <snip/>
^ Is there a maximum size for the receive in a TCPSocket as in str = streamSock.recv( 64000 )?
285050 [victor.reyes] Is there a limit on the amount of data (bytes) that can be received via the
285059 [MonkeeSage g] See my reply to the last thread you posted (in short, use #read rather
285061 [victor.reyes] Hey Jordan, I owe one.
285063 [MonkeeSage g] Glad to be of some help! I've received enough help from the group -- I
^ Compatibility Testing for 1.9 using ZenTest's multiruby
285054 [ryand-ruby z] If you've got a library or three, multiruby is an easy way to verify
285065 [znmeb cesmai] Thank you!! I sort of discovered that, but hadn't had a chance to
^ windoze/ruby/signals - egads!
285055 [ara.t.howard] anyone understand why this just dumps EINVAL errors on windoze?
^ ruby and dde
285058 [junkone1 gma] is there any ruby libraries or ole libriries for dde. am looking high
286634 [ernst tanaka] check out
^ what is the $ in varaiable
285071 [junkone1 gma] what is the meaning of the $ in the variable
285072 [sepp2k googl] It marks the variable as global.
285075 [junkone1 gma] On Dec 27, 3:22=A0pm, Sebastian Hungerecker <sep...@googlemail.com>
285077 [sepp2k googl] There's no such thing.
285078 [junkone1 gma] On Dec 27, 3:53=A0pm, Sebastian Hungerecker <sep...@googlemail.com>
285080 [sepp2k googl] Yes, that's what global means.
285092 [shevegen lin] It is really totally global. You can access any global var from any
285278 [shortcutter ] There are however some variables that are gloabal but thread local (all
^ no such file to load -- active_record
285074 [hawat.thufir] Successfully installed activerecord-2.0.2
285076 [hawat.thufir] *** LOCAL GEMS ***
285079 [frederick.ch] You need to require rubygems first
285138 [hawat.thufir] Thanks, it still gave errors after I did that, but I gave up. Maybe I'll
^ Enumerable Integer? Nah. Integer#times Enumerator!
285086 [transfire gm] Just a little FYI.
+ 285177 [george.ogata] Thanks for the FYI. For what it's worth, I can't say I'm really a fan
+ 285215 [shortcutter ] Well, in the old days (1.8.x) you could do this which does not look
285221 [transfire gm] On Dec 28, 12:01 pm, "Robert Klemme" <shortcut...@googlemail.com>
+ 285279 [shortcutter ] Good point. I'd like to point out that the overhead completely depends
+ 285285 [rick.denatal] Keep in mind that in 1.8
^ [ANN] RubyInline 3.6.6 Released
285087 [ryand-ruby z] RubyInline version 3.6.6 has been released!
285127 [cwdinfo gmai] This pretty well rocks! Thanks for a quick-witted answer to "Ruby is
285137 [ryand-ruby z] thanks!
^ Ruby newbie
285097 [ciscowiz gma] I am very new to ruby. Been in the tech field for over 10 years, however
285100 [AEtzold gmx.] Dear Carol,
285256 [sayakyi gmai] is also my First Ruby Book. And this book help me alot.
^ Gem problem installing Rails / Ubuntu Gutsy
285101 [tefflox gmai] Please take a look at the following. I try to make it clear what my
285102 [AEtzold gmx.] you don't have zlib installed. (http://www.zlib.net/)
285103 [tefflox gmai] make install, tho I still get the same errors... (?)
285106 [mg havelsoft] ehm why you use the package managment (apt?) to install gem etc. and
285112 [tefflox gmai] same problems after apt installing zlib1g-dev
285119 [thgfrj gmail] If you didn't have the -dev zlib package installed when you compiled
285123 [tefflox gmai] Whoa. I am confused. Thanks so much for helping, but nothing seems to
285131 [mgreenly gma] It really shouldn't be a problem to start over.
285133 [tefflox gmai] Thanks so much. In the meantime I had solved it for my purposes.
^ Irb > HowTo / Can I > ClearScreen?
285104 [ken.awamura ] (windows) ... the question I have is, once in IRB, is there a similar
285110 [sgwong513 ho] You can use system('cls'), `cls` seems like got problem on windows.
285166 [ken.awamura ] Ok ... system('cls') works fine on Windows, but unfortunately Ctrl-L
^ Quiz Break Extended (was Re: [SUMMARY] Programmer Ping-Pong (#150))
285105 [james graypr] The holiday and an unexpected illness are slowing me down folks. Give
285113 [philo.cai gm] Your True Friend.
^ New Ruby Job Site - Off Topic
285114 [rorjobs podf] We've put up a job board listing only Ruby programming jobs -
285132 [ruby-forum t] Posted via http://www.ruby-forum.com/.
285136 [ryand-ruby z] *kisses*
^ testing for 64-bit environment
285118 [tom accident] subject says it all- anyone know a way to determine if the host system
285122 [tom accident] arch = `uname -i`
+ 285124 [yermej gmail] You might want to use the constant RUBY_PLATFORM for better
| 285126 [Rob AgileCon] It's not a valid option on Mac OS X either (and there's no other
+ 285125 [Rob AgileCon] I only have a 32-bit system to try, but the Pickaxe seems to indicate
285130 [justincollin] irb(main):001:0> RUBY_PLATFORM
+ 285135 [tom accident] Much more elegant (not to mention cross platform). Exactly what I was
+ 285184 [luislavena g] Please note that RUBY_PLATFORM indicates on which platform ruby was
285253 [KMarti gmx.c] Isn't it a huge wast of memory resources to store every number in 8
+ 285259 [tom.hurst cl] Unless you've got so many of them that you're swapping, no. And if you
+ 285263 [luislavena g] Type 32 bit 64 bit
285281 [jan.dvorak k] Both on 64bit linux gcc and 64bit windows vc the 'int' is 32bit. The only
^ fail to parse page after redirect in login form
285134 [rita.sinkar ] My code is,
^ CGI::Session not sending cookie
285139 [zak.wilson g] I'm using mod_ruby, eruby and CGI::Session in an application. It seems
^ how to connect 2 oracle using ruby-oci-8
285141 [pradeepta.sw] how to connect 2 oracle using ruby-oci8 . I am not using ruby rails .
285143 [lianliming g] ...
^ Using hoe to create gems with C extensions
285144 [dido.sevilla] QXMgZmFyIGFzIEkgY2FuIHRlbGwsIEhvZSBieSBpdHNlbGYgZG9lc24ndCBoYXZlIGFueXRoaW5n
285153 [ryand-ruby z] Hoe just sits on top of rake and generates your gemspec (and a bunch
^ oracle connection problem
285145 [pradeepta.sw] I am using oracle client 9.2 ,ruby 1.8.6 and oci8 is installed .but
285172 [kubo jiubao.] A thread in the following link may help you.
^ require failes for win32/clipboard
285147 [anieden gmx.] In Win32::Clipboard version 0.4.3 (installed via the OneClick
285154 [anieden gmx.] I've found the solution myself: You have to require Win32API first.
^ Executing ruby code stored as a string in a database
285148 [evt infoware] I'm trying to retrieve some ruby code from a database as a string, I
285159 [tomaso.tosol] have you tried with class_eval? when you have to execute ruby code contained
^ Re: gem on ubuntu problem : /usr/local/lib/site_ruby/1.8/rub
285150 [nnczm12u5227] it stil doesn't work for me :(
285155 [mgreenly gma] I'm betting there's a partially installed 'from source gems' there then?
285157 [nnczm12u5227] well you are right about a partially installed 'from source gems', but
^ How and Where to report bugs in Ruby 1.9.n?
285156 [ed.odanow wo] I don't know how and where to report about bugs in Ruby 1.9.n. Does
285200 [qbproger gma] I was curious about where to ruby bugs are submitted recently too.
285236 [ed.odanow wo] Interesting, but is it the place recommended by Mats and the kernel
285243 [frederick.ch] on there or email the ruby-core mailing list.
285249 [matz ruby-la] Yes. We are (vaguely) planning on making BTS for the core team, but
285252 [james graypr] If the core team is willing to spec out what they need out of their
+ 285270 [qbproger gma] Why not use an existing one?
+ 285451 [matz ruby-la] * written in Ruby
+ 285454 [halostatue g] What about Mingle? It's JRuby, but it's *still* Ruby ;)
+ 286021 [james graypr] OK, so you definitely want Trac, except in Ruby. ;)
^ login to lonked in is failing with Mechanize
285158 [rita.sinkar ] I am trying to login to linked in but it is failing with Mechanize.
^ ruby gem 1.2.3 or later for debian
285160 [snoopy1990 g] I need compatibility to ruby gem 1.2.3 but I only found
+ 285161 [snoopy1990 g] ups it is 0.9.4 instead of 0.8.7 ! but I need 1.2.3 . please help!
+ 285163 [frederick.ch] You're getting mixed up between the version of rubygems (basically a
^ Compile option disabled in Scite
285162 [nkkumar78 gm] I am learning Ruby and I am using Ruby 186-26. In SciTe pane, Tools
285168 [dejan.dimic ] There is no reason to have compile action for interpreted language.
^ Thought I'd share this and get some advice
285167 [hiato3 gmail] I decided to take it upon myself to write a text Mandelbrot Set Generator in
+ 285171 [sepp2k googl] =2D24.0.step(24,1) do |i|
| + 285173 [sepp2k googl] step(23,1), actually.
| + 285174 [hiato3 gmail] Thanks :) Much less code now
+ 285175 [sander.land ] Cool little script. The Mandelbrot is always nice to see. :)
+ 285176 [sepp2k googl] (-24..23).each do |i|
285182 [hiato3 gmail] Thanks :)
+ 285187 [KMarti gmx.c] Nice example. Ruby is definitely awesome!
+ 285195 [mrobert treb] funny, the short-code version take twice times than the long-code
| 285232 [hiato3 gmail] Yeah, strange that
+ 285329 [dangerwillro] That's not a bad thing all the time.
^ please help !
285169 [pradeepta.sw] I have installed dbi,oci8,ruby 1.8.6 ,oracle client 9.2 on XP machine
285180 [AEtzold gmx.] Dear Pradeepta,
^ [ANN] ruby-ole-1.2.3 released!
285170 [aquasync gma] The new version of ruby-ole has been released!
^ rbGtk Question.
285179 [magicloud.ma] charset="utf-8"
^ IRB config file location?
285181 [ken.awamura ] [i386-mswin32] and I'm trying to figure out where irb config file is
+ 285183 [tengxianggon] Well, may be this will give you some help
+ 285189 [luislavena g] IRB configuration file (.irbrc) will be located in your HOME
285201 [ken.awamura ] Thanks everybody for the great tips ... I just managed to configure the
^ portable signals
285186 [ara.t.howard] # on windows signals don't work. least wise you cannot send, for
285218 [luislavena g] Ara, did you checked the C code of Ruby? maybe there is some room we
285241 [ara.t.howard] you can generate and trap signals in windows using ruby - but *only
^ FasterCSV and " char question
285191 [mark.toth te] I have a text that containing " char and want to delete it from the
285197 [james graypr] If you're using a CSV parser and you are having to manually translate =20=
285210 [mark.toth te] Thanks for your answer. It should be very easy to import this file. The
285216 [mark.toth te] Thanks for your help!
^ Where's the bytecode from Ruby 1.9
285192 [jdinkel buco] From what I understand, the big goal of YARV was to spit out bytecode
285511 [pbrannan atd] It uses a bytecode representation internally, but doesn't currently
285655 [jdinkel buco] Thanks for the reply. There would be some startup-time savings if it
+ 285700 [jl235 kent.a] I dunno about Python, but Java bytecode can be easily decompiled.
| 285732 [charles.nutt] In JRuby's case, we do support dumping bytecode to disk as Java .class
| 285851 [jdinkel buco] Waitaminute. So if I have a paid-for application from some company and
| + 285868 [rick.denatal] Yep, try googling "java decompiler"
| + 285965 [flori nixe.p] Yes, it's also a lot of fun to do that.
| 286051 [jdinkel buco] "The Rubinius compiler generates bytecode that you can distribute in
+ 285734 [MonkeeSage g] IIRC, before YARV was merged, it had an option to save / load bytecode
^ [ANN] RMagick 2.0.0
285202 [TimHunter nc] RMagick 2.0.0 is now available at RubyForge
^ Permission denied - . (Errno::EACCES) error
285203 [thedossone g] Dir.open('Logs') do |dir|
285206 [thedossone g] added some puts statements and then remembered this is a Subversion
^ Re: ruby-ole-1.2.3 released!
285204 [junkone1 gma] can it open a excel file and save as csv.
285273 [aquasync gma] No, its just an implementation of the underlying file format - just a
+ 285320 [corey.ssf.la] T24gMTIvMjgvMDcsIENoYXJsZXMgTG93ZSA8YXF1YXN5bmNAZ21haWwuY29tPiB3cm90ZToKPiBK
+ 285348 [renard nc.rr] If I understand your situation correctly: you do not have Microsoft
^ IRB : Auto_Indent in Windows
285207 [ken.awamura ] def my_method
285217 [luislavena g] No, is a IRB limitation.
^ Re: def if ; end - basically impossible?
285212 [rick.denatal] If is not a method, it's a reserved word.
285213 [johan.veenst] You have defined a function namen "if", and you can call this function with
285222 [pbrannan atd] It works if you call #if on an object. I do something like this in
+ 285264 [ssmoot gmail] If you're passing the code as a block, the easiest solution may be
| 285288 [ssmoot gmail] Right. I guess I meant it would seem like you could use ParseTree (or
+ 285319 [pbrannan atd] You should be able to check the code out of svn.
285510 [pbrannan atd] The only way I know to make this work is to use parsetree or nodewrap to
^ How to jump over the first line in a file? (newbie)
285223 [mark.toth te] file = "filename.txt"
+ 285224 [wieczo.yo go] You could use FasterCSV with the :header option set to true.
+ 285225 [stefano.croc] A possibility is to do a call to sFile.gets before the while cycle. This wa=
| 285226 [mark.toth te] Hmmm, it sounds like a great idea! Can you please send me some code for
| 285227 [wieczo.yo go] Just add a sFile.gets before the while.
| 285230 [mark.toth te] sFile.gets
| + 285231 [ljjarvis gma] File#foreach anyone?
| + 285258 [james graypr] #!/usr/bin/env ruby -wKU
+ 285233 [lrlebron gma] The $. variable holds the line number so you could do something like
285235 [qbproger gma] I don't see File.open here: http://ruby-doc.org/core/classes/File.html
285240 [lrlebron gma] Open is a kernel method
285251 [qbproger gma] How would I know that File.open exists if I didn't look at Kernel?
285255 [sepp2k googl] Exactly. It does however list which class is the superclass (IO) and if you
285257 [qbproger gma] Thanks. That's what i was missing.
^ Re: BackgrounDRb release 1.0 available now
285229 [james.herdma] nd
285274 [gethemant gm] No, it shouldn't be difficult. There are incompatibilities and all are
285538 [james.herdma] Thanks Hemant. I look forward to investigating further. I'm just
^ Problem with encoding latin1/UTF8
285245 [mark.toth te] I have a database with latin1_swedish_ci encoding.
286437 [cbu kitry.fr] I'm not sure the problems are related, but I've had to convert data from
^ [ANN] RMagick 1.15.12 for Windows
285247 [TimHunter nc] I've just uploaded a new RMagick gem for Windows to RubyForge. This gem
^ [ANN] bj-1.0.0
285260 [ara.t.howard] NAME
^ Instant Rails 2.0 Released
285261 [rbazinet gma] I am happy to announce the release of Instant Rails 2.0. This is my first
285268 [jdinkel buco] Thanks Rob!
^ invoke INT in xp
285265 [junkone1 gma] How do i invoke the INT signal in xp using ruby. i have this following
285295 [ara.t.howard] afaikt you cannot send a signal to another process in windows using
285267 [gstechie yah] confirm 20071228160407642538035896 gs techie
^ gem install mongrel error?? help
285272 [79962259 qq.] gem install mongrel
285275 [luislavena g] Stop right there.
^ Ruby 1.8.2 source?
285276 [djberg96 gma] Where can I get the Ruby 1.8.2 source code? I poked around a bit on
285277 [jan.svitok g] ...
^ trimming leading zeros
285282 [dipesh_bathe] Is there any function in ruby which allows you to trim leading zeros (or
+ 285283 [phaneee5 gma] for simple character replacement, you may do something like
+ 285284 [tomaso.tosol] if you have string expressions like
+ 285293 [shortcutter ] The simplest and fastest is probably
^ String highlighting problem (newbie)
285286 [mark.toth te] 1. I have a string
+ 285287 [frederick.ch] I would probably use gsub. But at the end of the day it depends on how
+ 285296 [crichey gmai] Brute force method?
285303 [mark.toth te] Thanks for your answer.
+ 285304 [mark.toth te] Also the string can be different, like "Blabla bla is a long string".
+ 285305 [crichey gmai] By brute force, I meant simply a quick and dirty operation
| 285310 [mark.toth te] Thanks, but one problem. I don´t now which word to replace. I mean in
+ 285334 [frederick.ch] Does it work for longer numbers? By default mysql won't index words =20
^ Bug in ruby complex module:
285292 [tommy.nordgr] emac$ irb
^ Using "sort!" in a C extension (1.9 problem)
285294 [andre digira] static VALUE
+ 285321 [andre digira] My example was a bit contrieved because I could just have used #sort
| 285322 [s.korteling ] Like this?
| 285325 [andre digira] Yes but in a C extension. The code I have is not working with 1.9.
| 285339 [andre digira] Well not exactly. sort_by works but I'd prefer to use sort! with a
| 285421 [kbloom gmail] This appears to be the result of a ruby 1.9 semantic change for block
| 285447 [andre digira] I've tried this, but "second" has the value "false", while "first" is
+ 285349 [kubo jiubao.] Use rb_ary_sort_bang instead of call_sort_bang.
| 285350 [andre digira] Thanks! For some reason I thought rb_ary_sort_bang was static while it
| 285351 [andre digira] Actually...
| 285353 [kubo jiubao.] Sorry. This is my mistake.
| + 285381 [andre digira] Thanks, that fixed it for me! I have another machine with a checkout
| + 285424 [kbloom gmail] Was this a bug that needs to be patched, or an intentional change from
| | 285448 [andre digira] $ irb1.9
| + 285653 [andre digira] Is this patch going to be applied? Should I send a report to ruby-core?
| 285656 [kubo jiubao.] No. I found a correct way.
| 285661 [andre digira] That works, thanks! What is the meaning of the first two arguments in
| 285672 [decoux moulo] Well, if I'm right in your case i = argv and dummy is the last argument
| 285675 [andre digira] I see. It's a bit confusing to have an argument that has the same value
| 285676 [decoux moulo] Well, you have the case argc = 0 and it will be Qnil in this case (argv
+ 286524 [matz ruby-la] Sorry for being late to reply. I have missed your mail.
286527 [andre digira] Thanks Matz, Kubo helped me sorting this out.
286530 [matz ruby-la] Nothing I can think of.