284981-286634

284773-285671 subjects 285272-414378

Bloki
284981 [pikEISPAMMMs] ...

change string to date error
284983 [junkone1@gm ] i get the following error. wonder why
284990 [fwmailinglis] $ irb
285047 [junkone1@gm ] cal'
285053 [MonkeeSage@g] Here ya go, eh. ;)

vala and ruby
284987 [flashdog@gm ] it possible create Vala's c-code compatible to Swig.

Port Ruby on Rails Application
285003 [snoopy1990@g] I have to leave my old server, so I did a backup and saved my ruby on
+ 285011 [frederick.ch] Hard to say without something more descriptive than 'an Error'.
+ 285012 [mgreenly@gm ] ...
  285016 [snoopy1990@g] Ok, I use my first one, this application run on Freebsd without any
  + 285017 [snoopy1990@g] %./script/server
  + 285027 [luislavena@g] On Dec 27, 12:48 pm, Snoop1990 Snoop1990 <snoopy1...@googlemail.com>
  | 285030 [snoopy1990@g] Sorry I do not get this!
  | 285033 [snoopy1990@g] $ ./script/server
  | 285035 [frederick.ch] This app has gems frozen in vendor
  | 285038 [snoopy1990@g] As you see in the posts above the Application created on Linux works on
  | 285041 [luislavena@g] On Dec 27, 2:29 pm, Snoop1990 Snoop1990 <snoopy1...@googlemail.com>
  + 285037 [mgreenly@gm ] ...
    285039 [snoopy1990@g] As you see above on both server's we have WEBrick 1.3.1 and  ruby 1.8.6
    285082 [mgreenly@gm ] ...
    285089 [snoopy1990@g] Ok I am going to do that ! thank you all for your support !

How do I get the hostname or IP address during a TCPServer "conversation"
285004 [victor.reyes] ...
285023 [MonkeeSage@g] TCPSocket#peeraddr. E.g.,

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@gm ] ...

RSpec on Ruby 1.9: before(:all) (Not Yet Implemented) pending messages instead of tests
285049 [ shot@ho .p ] I happily hand-compiled Ruby 1.9.0-0 into /home/shot/opt/ruby today
+ 285070 [ shot@ho .p ] 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] ...
285059 [MonkeeSage@g] See my reply to the last thread you posted (in short, use #read rather
285061 [victor.reyes] ...
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@ce ma ] 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@gm ] is there any ruby libraries or ole libriries for dde. am looking high
286634 [ernst@ta ak ] check out

what is the $ in varaiable
285071 [junkone1@gm ] what is the meaning of the $ in the variable
285072 [sepp2k@go gl] It marks the variable as global.
285075 [junkone1@gm ] On Dec 27, 3:22=A0pm, Sebastian Hungerecker <sep...@googlemail.com>
285077 [sepp2k@go gl] There's no such thing.
285078 [junkone1@gm ] On Dec 27, 3:53=A0pm, Sebastian Hungerecker <sep...@googlemail.com>
285080 [sepp2k@go gl] Yes, that's what global means.
285092 [shevegen@li ] 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@gm i] This pretty well rocks! Thanks for a quick-witted answer to "Ruby is
285137 [ryand-ruby@z] thanks!

Ruby newbie
285097 [ciscowiz@gm ] I am very new to ruby. Been in the tech field for over 10 years, however
285100 [AEtzold@gm .] Dear Carol,
285256 [sayakyi@gm i] ...

Gem problem installing Rails / Ubuntu Gutsy
285101 [tefflox@gm i] Please take a look at the following.  I try to make it clear what my
285102 [AEtzold@gm .] you don't have zlib installed. (http://www.zlib.net/)
285103 [tefflox@gm i] make install, tho I still get the same errors... (?)
285106 [mg@ha el of ] ehm why you use the package managment (apt?) to install gem etc. and
285112 [tefflox@gm i] same problems after apt installing zlib1g-dev
285119 [thgfrj@gm il] If you didn't have the -dev zlib package installed when you compiled
285123 [tefflox@gm i] Whoa.  I am confused.  Thanks so much for helping, but nothing seems to
285131 [mgreenly@gm ] ...
285133 [tefflox@gm i] 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@gr yp ] The holiday and an unexpected illness are slowing me down folks.  Give

help
285113 [philo.cai@gm] ...

New Ruby Job Site - Off Topic
285114 [rorjobs@po f] 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@ac id nt] subject says it all- anyone know a way to determine if the host system
285122 [tom@ac id nt] arch = `uname -i`
+ 285124 [yermej@gm il] You might want to use the constant RUBY_PLATFORM for better
| 285126 [Rob@Ag le on] It's not a valid option on Mac OS X either (and there's no other
+ 285125 [Rob@Ag le on] 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@ac id nt] 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@gm .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] As far as I can tell, Hoe by itself doesn't have anything available to
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@ji ba .] A thread in the following link may help you.

require failes for win32/clipboard
285147 [anieden@gm .] In Win32::Clipboard version 0.4.3 (installed via the OneClick
285154 [anieden@gm .] I've found the solution myself: You have to require Win32API first.

Executing ruby code stored as a string in a database
285148 [evt@in ow re] 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@gm ] ...
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@gm ] 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@ru y- a] Yes.  We are (vaguely) planning on making BTS for the core team, but
285252 [james@gr yp ] If the core team is willing to spec out what they need out of their
+ 285270 [qbproger@gm ] Why not use an existing one?
+ 285451 [matz@ru y- a] * written in Ruby
  + 285454 [halostatue@g] What about Mingle? It's JRuby, but it's *still* Ruby ;)
  + 286021 [james@gr yp ] 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@gm il] ...
+ 285171 [sepp2k@go gl] =2D24.0.step(24,1) do |i|
| + 285173 [sepp2k@go gl] step(23,1), actually.
| + 285174 [hiato3@gm il] ...
+ 285175 [sander.land@] Cool little script. The Mandelbrot is always nice to see. :)
+ 285176 [sepp2k@go gl] (-24..23).each do |i|
  285182 [hiato3@gm il] ...
  + 285187 [KMarti@gm .c] Nice example. Ruby is definitely awesome!
  + 285195 [mrobert@tr b] funny, the short-code version take twice times than the long-code
  | 285232 [hiato3@gm il] ...
  + 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@gm .] Dear Pradeepta,

[ANN] ruby-ole-1.2.3 released!
285170 [aquasync@gm ] The new version of ruby-ole has been released!

rbGtk Question.
285179 [magicloud.ma] ...

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@gr yp ] 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@bu o] From what I understand, the big goal of YARV was to spit out bytecode
285511 [pbrannan@at ] It uses a bytecode representation internally, but doesn't currently
285655 [jdinkel@bu o] Thanks for the reply.  There would be some startup-time savings if it
+ 285700 [jl235@ke t. ] 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@bu o] Waitaminute.  So if I have a paid-for application from some company and
| + 285868 [rick.denatal] Yep, try googling "java decompiler"
| + 285965 [flori@ni e. ] Yes, it's also a lot of fun to do that.
|   286051 [jdinkel@bu o] "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@gm ] can it open a excel file and save as csv.
285273 [aquasync@gm ] No, its just an implementation of the underlying file format - just a
+ 285320 [corey.ssf.la] You could use this, however, to get the XBIFFx chunk (this is the
+ 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] ...
285222 [pbrannan@at ] It works if you call #if on an object.  I do something like this in
+ 285264 [ssmoot@gm il] If you're passing the code as a block, the easiest solution may be
| 285288 [ssmoot@gm il] Right. I guess I meant it would seem like you could use ParseTree (or
+ 285319 [pbrannan@at ] You should be able to check the code out of svn.
  285510 [pbrannan@at ] 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 way,
| 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@gm ] File#foreach anyone?
| + 285258 [james@gr yp ] #!/usr/bin/env ruby -wKU
+ 285233 [lrlebron@gm ] The $. variable holds the line number so you could do something like
  285235 [qbproger@gm ] I don't see File.open here: http://ruby-doc.org/core/classes/File.html
  285240 [lrlebron@gm ] Open is a kernel method
  285251 [qbproger@gm ] How would I know that File.open exists if I didn't look at Kernel?
  285255 [sepp2k@go gl] Exactly. It does however list which class is the superclass (IO) and if you
  285257 [qbproger@gm ] 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@ki ry 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@gm ] ...
285268 [jdinkel@bu o] Thanks Rob!

invoke INT in xp
285265 [junkone1@gm ] 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

(none)
285267 [gstechie@ya ] ...
threads.html
top