387892-388292 subjects 388324-390468

JSON RPC and Ruby/Rails
388109 [andersonlfl@] Does anyone have some experience using some JSON-RPC service wit Ruby

gem installaltion
388115 [ayoya_91@ho ] I am using ruby 1.9.2 on windows 7 machine
388118 [ryand-ruby@z] Please don't repeat the same question over and over.

[ANN] Rumai 4.1.3
388116 [sunaku@gm il] Rumai

Turning on a special program at special time and turning off the computer at another special time
388123 [aef1370@gm i] I decided to write a program in RUBY wherein these items have been done
+ 388124 [sophrinix@gm] That sounds like a program a special program a terrorist would write. Are
| + 388125 [ben@bl yt in] Whoa. Inappropriate.
| | 388128 [sophrinix@gm] Clearly not serious here... just saying.
| + 388145 [cathy1428@gm] I just have to comment on this one...
|   388150 [sophrinix@gm] learn
+ 388126 [shortcutter@] On Windows I would write a simple shell script and schedule it via

Re: Turning on a special program at special time and turning off the computer at another special tim
388127 [aef1370@gm i] Thanks robert but I want to write a RUBY program that do it.
388129 [zertux@gm il] 1. The code needs to be run from windows 7 scheduled tasks at a specific
388134 [aef1370@gm i] Hey " Andrew Mcelroy "
388136 [sophrinix@gm] Im sorry you were offended.

Arrays and choose one
388130 [lanaizen@ho ] I am newbie on ruby and I have questions and troubles, can you help me
+ 388247 [rubytalk2dav] First off, you don't need the Array.new part there.  The second line
+ 388260 [bdeveloper01] Arrays and choose one
+ 388286 [lanaizen@ho ] Thanks both of you!!

subtype polymorphism
388132 [akinakinfola] polymorphism in ruby with a code as the example.. thanks
388133 [steve@st ve ] That said, inheritance is kinda silly in Ruby, and only really useful

[ANN] flog 2.5.3 Released
388135 [ryand-ruby@z] flog version 2.5.3 has been released!
388137 [code@ap th o] Do you have a publicly accessible source archive somewhere?
388141 [klauer@gm il] While not aimed at me (and possibly meant more to point out lack of
388144 [code@ap th o] Thanks.  I didn't find it in my initial casual search.

[ANN] test-loop 13.0.1
388138 [sunaku@gm il] test-loop - Continuous testing for Ruby with fork/eval

new gem: method_locator released
388139 [lecompte@gm ] Method Locator is a Ruby gem that allows you to easily determine the

[ANN] ruby_parser 2.3.1 Released
388140 [ryand-ruby@z] ruby_parser version 2.3.1 has been released!

[ANN] mongrel2 0.2.4 Released
388142 [ged@Fa ri MU] mongrel2 version 0.2.4 has been released!

Ruby code style / Regular Expression to remove blank lines / test case
388143 [redgiant581@] Forgive me to put 3 seemingly irrelevant words in the subject line. But
388148 [shortcutter@] Welcome to the wonderful world of Ruby!

Unable to close the file, opened using ftp.
388147 [getsauin@gm ] args = Hash.new
388149 [shortcutter@] D] )

What can persuade you to hire Junior Ruby devs with significant PHP experience?
388151 [info@ai st i] I am writing to ask for your advice.
+ 388152 [peterhickman] When we were recruiting for a Rails position PHP (in fact any dynamic
+ 388154 [richard.conr] There are people with limited programming experience who are struggling, but

RegEx Help For checking alphnumeric
388153 [getsauin@gm ] str = "v38"
388156 [getsauin@gm ] Is this right.
+ 388157 [podenski@me ] Try using rubular.com to verify your regular expression. This a great tool to help with developing regular expressions.
+ 388158 [adam@ap es o] Note that \d+\d+ is almost redundant, but you'll actually not match "v3".
  388159 [shortcutter@] irb(main):006:0> /\w+\d+/ =~ '++++_0344'

Parsing xml with an any tag
388164 [abhishek813@] I am a newbe to Ruby and my very first question is: Is it even possible
388173 [shortcutter@] Now I'm confused: do you want to create XML or parse XML?  What to the
389597 [abhishek813@] Parse the wsdl xml and for now i am ignoring wsdls with any tag.

[ANN] ambit 0.10 Released
388166 [jwise@dr ga ] ambit version 0.10 has been released!
388168 [adam@ap es o] I know this isn't related to ambit itself, but you might find things easier

tkentry - filled in by program?
388169 [joec_49@ho m] I am using TkEntry form field in ruby and I want to have text display in
+ 388170 [michel.reves] ...
+ 388177 [joec_49@ho m] That works - thanks!!!

Ruby Help with HTML Form
388171 [freemcg36@ya] I have html, css, and javascript background but have never touched Ruby.
388174 [shortcutter@] Why do you need Ruby for that when your server apparently works with
388175 [freemcg36@ya] <?php
388176 [chrishuntis@] <?php
388179 [freemcg36@ya] Is the myform.php in the same directory as the file calling it? It's

'compiling' ruby into an exe file- how to do it?
388180 [joec_49@ho m] I tried rubyscript2exe.rb and that has errors in the source.
+ 388181 [matma.rex@gm] Ocra is the best and simplest way.
+ 388182 [me@wa to ho ] rubyscript2exe has been discontinued for a long time.  I'd recommend
+ 388190 [joec_49@ho m] Will it work under windows xp? I made some progress with it under
+ 388275 [elysah@el sa] not sure what exactly you had tried to do with your command, but Ocra

Indentation in templates?
388183 [hilco.wijben] Given the code below ...

Undefined method NoMethodError whaaat
388184 [xidusmon@gm ] Hey, I am a college student, I'm rewritting a psychology program from
388186 [jgabrielygal] What that error means is that you are calling method [] on nil. Inside

[ANN] ruby2ruby 1.3.1 Released
388185 [ryand-ruby@z] ruby2ruby version 1.3.1 has been released!

Net::Ssh keepalive
388192 [jparker.home] I'm having trouble with Net::Ssh sessions timing out from the server
388194 [sophrinix@gm] If you just use normal ssh and log in to the server, is this an issue?

Get rid of newline from shell commands in Ruby
388193 [meetpavan@gm] I am trying to run simple shell commands in my script, but am unable to
388195 [dan@na hb r.] You might try using
388196 [jh_ruby-lang] u,p2,p1,h = l.split(':')

em-scenario 0.0.5 released
388197 [mathieu.leca] Em-scenario provides tools to avoid callback hell when using

Conditional statements with multiple arguments
388198 [sinixlol@gm ] Good afternoon everyone,
+ 388199 [allen.wyma@g] Should be
+ 388200 [sinixlol@gm ] Thank you very much for the quick response Allen. You are completely
| 388204 [botpena@gm i] if you want something similar to your original idea, you may need to
+ 388205 [peter@va de ] I believe a nice way to achieve it could be the "case" statement.
+ 388206 [sinixlol@gm ] Ok, that makes a lot more sense. So basically, what you're saying is if
| 388207 [peter@va de ] Unless it is "nil" or "false"
+ 388210 [sinixlol@gm ] Peter,
| 388212 [peter@va de ] That's it indeed ... in more detail, only the singleton objects of NilClass
| 388213 [matma.rex@gm] There is a reason to evaluate, say, 0 to true.
+ 388215 [sinixlol@gm ] Thank you to everyone for your responses and bearing with my very basic
+ 388228 [transfire@gm] I was thinking about this just yesterday. Sure would be nice if their
  + 388229 [chris.hulan@] [1,2].include? x
  | 388244 [transfire@gm] =A0if a.either.include? [1, 2]
  | 388245 [josh.cheek@g] I like it, but either implies 2 options. Seems weird to say
  + 388233 [botpena@gm i] if x.in?  1, 2
    388234 [justincollin] Object#in? is an activesupport extension.
    388239 [botpena@gm i] anyone can create it ;-)

[ANN] mongrel2 0.3.0 Released
388201 [ged@Fa ri MU] Ruby-Mongrel2 version 0.3.0 has been released!

IoC / DI is still alive (new release of Micon DI)
388202 [axyd80@gm il] New release of Micon DI - silent killer of dependencies and configs.
+ 388218 [steve@st ve ] ...
+ 388222 [axyd80@gm il] I watched this talk, and I'm agreed that there's no need in AOP technics

[ANN] Ruby 1.9.3 RC1 is out
388203 [yugui@yu ui ] Ruby 1.9.3 RC1 has been released.  This is the first release candidate
388208 [sutniuq@gm .] ===============================================
388209 [cwprogram@li] Sounds like a hardware / kernel driver issue actually. Run fsck on the disk=
+ 388211 [adam@ap es o] It just compiled. Arch Linux, i686.
+ 388214 [sutniuq@gm .] You're indeed right, thanks!. I ran fsck over my disk and it reported
  388216 [mame@ts .n .] I bet that your float.h is still broken.
  388217 [sutniuq@gm .] Hm... That's gonna be the usual amount of work, with properly
  388219 [matma.rex@gm] [Are there / will there be before final 1.9.3 release] any binary
  388220 [cmdjackryan@] AFAICT, yes. The RCs need Windows testing, too. ;)

net::http does not return what a browser returns
388221 [k.dorsel@gm ] I trying to access an API with ruby, but I can't get net::http to get me
+ 388223 [matma.rex@gm] Are you sure you do not need any other cookies?
+ 388226 [k.dorsel@gm ] I'm sure everything works fine. Via the browser I have tried the actual
+ 388227 [k.dorsel@gm ] I've looked at Rest and found two gems that could work. Which one would

Re: Ruby 1.9.3 RC1 is out
388224 [shevegen@li ] I am not sure if I can reply to this or should I file an issue.
388225 [ryand-ruby@z] you should file an issue on redmine
388231 [jon.forums@g] Yes, Luis is currently planning to release 1.9.3 RC1 RubyInstaller
388425 [matma.rex@gm] Any progress? :)
388427 [luislavena@g] Will work on a binary release this weekend, it was a very busy week at work.
388431 [luislavena@g] If you don't include the output of the "barf", there is little we can do to help.
388441 [jon.forums@g] One potential barf area to check is whether there are 0 byte archives in the 'downloads' sub-directory of your RubyInstaller repo clone. While it's caused by network problems, the current scripts don't deal with this failure as gracefully as we'd like.
388452 [matma.rex@gm] (Should I move to RubyInstaller list with this?)
388460 [luislavena@g] You haven't provided details of your starting point (version of Ruby, Git and Windows)

Distribute Ruby GUI App (Shoes)
388230 [hisako1337@g] I am creating a ruby gui app with shoes (or green_shoes), but my problem
+ 388232 [jakekaiden@y] a good place to post this question would be the Shoes mailing list -
+ 388235 [steve@st ve ] This is the unfortunate current situation. Red shoes is the only one with a
  388236 [hisako1337@g] @jake: I decided to post here because I also look for a general solution
  + 388258 [steve@st ve ] We're gearing up to release a 3.1 version of Shoes within the next two
  | 388277 [hisako1337@g] Very nice, can't wait for it!
  | 388284 [steve@st ve ] It's the version that's distributed with 1.9.2. It's also the version
  + 388271 [ashbbb@gm il] So glad to hear that. Thank you for creating Shoes app! :)
    388276 [hisako1337@g] Hey ashbb!
    388278 [cmdjackryan@] Repackage the Ruby Installer to include whatever you want/need to

timer class-newbie
388237 [joec_49@ho m] I know nothing of the timer class and I want to have my ruby app wake up
388240 [dan@na hb r.] I don't believe there is a built-in ruby timer class per se.
388334 [Reid.Thompso] ...

How about new syntax: "object.\method" returns a Method instance?
388238 [yimutang@gm ] I'm afraid the normal way of creating a Method instance is circuitous
+ 388243 [matma.rex@gm] Um, and how often do you need to get a method, instead of just calling
+ 388274 [markus@fi ch] Personally I find the \ character troublesome: it reminds me too much
+ 388353 [josh.cheek@g] While I'm not sure how I feel about this particular syntax, I think that
  388379 [ymendel@po o] nd

FileUtils head-scratcher...
388241 [cremes.devli] In one of my projects I need to move all files and subdirectories in a particular directory up on level.
388242 [reid.thompso] ...
388272 [shortcutter@] ame)
388279 [cremes.devli] Robert, yes, my original message (first line) said that was my goal.

Looking for better/familiar approach to command line opts
388248 [perljunkie@g] So I guess the warning to the reader upfront is...  I'm a bit of a Perl
+ 388249 [josh.cheek@g] Ruby has a builtin -s flag, which will parse args
| 388250 [josh.cheek@g] #!/usr/bin/env ruby -s
| 388253 [perljunkie@g] Ehh, it's interesting and simple, for sure.  But now I'm changing the
| 388254 [jos@ca no k.] Check out the getoptions gem by my friend Delaney Parker, it was modeled
+ 388251 [perljunkie@g] I meant to say "from an ABSTRACTION standpoint..." :-) -pj
| 388252 [josh.cheek@g] I found the Trollop gem really easy to work with
+ 388257 [perljunkie@g] Wow, time being what it is, I just need to post to a forum sooner. :-)
| 388262 [code@ap th o] Module.define_method is a private method.  I'm pretty sure that's why you
+ 388269 [shortcutter@] Does this what you need?
+ 388307 [davec@na ld ] I'm not sure where that syntax for OptionParser came, and Trollop is a
  388341 [perljunkie@g] Now that's a better example of OptionParser and that could come in handy
  388367 [shortcutter@] Really?  We're talking about 20 lines for an implementation that uses
  388380 [perljunkie@g] I post a question, someone takes the time to answer it, but I don't look

[ANN] ffi-ncurses v0.4.0 released
388255 [sean.ohalpin] I'm pleased to announce version 0.4.0 of the ffi-ncurses gem which
388259 [josh.cheek@g] This is really cool :)
388268 [sean.ohalpin] To get non-blocking input in ncurses you have to change the input mode
388301 [josh.cheek@g] Thanks a lot, Sean :)

[ANN] ffi-locale v1.0.1
388256 [sean.ohalpin] I've just released the ffi-locale gem v1.0.1 which is a thin wrapper

problems with Benchmark on ruby 1.8.4 (rhe 5.3)
388261 [russell.fult] Yes I know the version is ancient -- I'm stuck with it for various
388270 [shortcutter@] e, mach )
388293 [russell.fult] Thanks for your response Robert!
388304 [shortcutter@] Since we don't know what happens in process_host we can only

[ANN] shoes-mocks 0.0.2 release
388263 [steve@st ve ] shoes-mocks 0.0.2 has been released!
388265 [josh.cheek@g] Awesome! I was recently thinking that this type of lib should exist.
388266 [steve@st ve ] ...

[ANN] shoes-cucumber 0.0.2 released!
388264 [steve@st ve ] shoes-cucumber 0.0.2 has been released!
+ 388280 [code@ap th o] Neither this nor shoes-mocks has any license information that I have
| 388281 [steve@st ve ] Derp. I'll push up one a new one in a bit, but until then, like everything I
| 388297 [code@ap th o] g I
| 388298 [steve@st ve ] Thanks for pointing it out. I usually remember...
| 388302 [code@ap th o] Checking for licenses is generally one of the very first things I do when
+ 388282 [sophrinix@gm] Does this open the door to rspec testing with shoes?
  388283 [steve@st ve ] More shoes-mocks than shoes-cucumber, but yes. You can see some

Database Library to use
388273 [tcblues@gm i] I've been using ruby-dbi to connecto db but it seems that the last
388291 [b.candler@po] Use one of the higher-level ORM libraries: ActiveRecord, Sequel and

JSON equivalent to YAML streams?
388285 [transfire@gm] Is there any such thing as a JSON stream  equivalent to YAML document
388290 [b.candler@po] What CouchDB does for its continuous changes feed is just to send one
388300 [transfire@gm] Awesome. That should work for my case too. If I need the data pretty

Populate an array based on object
388287 [matthew.lemo] I have been trying for some time to crack a problem which I am sure if very
388289 [b.candler@po] here. Local variables would be fine (e.g. target_url).
388296 [matthew.lemo] Brian,

[ANN] rest-core 0.4.0 released
388288 [godfat@gm il] # rest-core <https://github.com/cardinalblue/rest-core>

Share a cab from MSY this Wednesday around 4:00 p.m.
388294 [s.d@co ca t.] Anyone going to Rubyconf that would like to share a cab on Wednesday from the MSY airport to the Astor Crowne Plaza between 4:00 and 4:30 p.m., let me know.
388295 [matt@te hn r] As a followup, I'm scheduled to pick someone up at the airport around 7PM

galaxygetCSV.rb:46: syntax error, unexpected kEND, expecting $end
388299 [gpalmerlv@gm] galaxygetCSV.rb:46:  syntax error, unexpected kEND, expecting $end
388303 [abinoam@gm i] Send (or link) this whole galaxygetCSV.rb that somebody can help you

Verify code is runnable
388305 [atbrew@gm il] Before I start I realize the optimal solution is to have 100% code
+ 388306 [josh.cheek@g] I think Laser (https://github.com/michaeledgar/laser/) should be able to do
+ 388315 [chris.hulan@] Its a bit old (and I have not used it, so don;t no if it will work for you

Writing awesome backtrack code in Ruby
388308 [mail@ma sh .] Some algorithm expert showed a way to do approximate string matching

ping sweep and threads
388309 [ml@co va es ] Dear Sir(s),
388310 [shortcutter@] 'net-ping' gem, since I'm working under Ruby 1.9 and 'ping' is not availabl=
388316 [ml@co va es ] thanks for the reply,

Ruby mysql gem works but I see an exception when I execute the script with debug option using -d $DEBUG.
388311 [paulscholess] I have got some CGI scripts. I use mysql connection and queries in these
388318 [matma.rex@gm] The debug option simply shows *all* exceptions *ever* raised - even

got error: ERROR Errno::ECONNABORTED: An established connection was aborted by the software in your
388312 [mohitbansal1] connection was a
388313 [sophrinix@gm] This almost sounds like a firewall issue.
388314 [sophrinix@gm] Were you doing something with action mailer when this occurred?

shoes + gstreamer
388317 [jakekaiden@y] just put 'shoes_gst' up on github - a flavor of Shoes which uses

no such file to load defaultDriver.rb
388319 [remosewa@gm ] So I have an odd issue, when I run a ruby application by first opening
388320 [sutniuq@gm .] This looks as if you're using Ruby 1.8.6. As far as I know wxRuby only

[ANN] ParseTree 3.0.8 Released
388321 [ryand-ruby@z] ParseTree version 3.0.8 has been released!

[ANN] mongrel2 0.3.1 Released
388322 [ged@Fa ri MU] * <http://deveiate.org/projects/Ruby-Mongrel2/>

Problem running script using include module in a class
388323 [skoppu123@ya] I am new to WATIR/ruby programming and this is my first program in ruby.
388331 [b.candler@po] class TC_isell < Test::Unit::TestCase
388350 [skoppu123@ya] Thank you very much for your help. The script worked fine with your