373433-375162 subjects 373855-374936

need BI Analyst
373608 [comtecmadhu@] We have a position for a Business Analyst. This is initially for a 3

Open file from network share
373609 [chuybakah@gm] I'm trying to open a file that is on a mapped network drive. I assigned

[ANN] CARPS-0.3.1
373612 [spoon@ki le ] CARPS, the Computer Assisted Role-Playing Game System,
373658 [code@ap th o] Does it have Unix support?

Fast Debugger (Ruby 1.9.2, DevKit 4.5.0, JDK 6u22, NetBeans 6.9.1)
373618 [achin5957@ho] I've been trying to run this configuration in debug mode on my Windows
+ 373693 [rogerpack200] These are probably for mswin32 release--you are using mingw I think, so
+ 373699 [luislavena@g] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
+ 373824 [achin5957@ho] Ok, I followed Luis' instructions although I unzipped the DevKit right
| 373835 [luislavena@g] If that was the intention, that could have been outlined in the
+ 373850 [achin5957@ho] I only copied the DevKit over the existing Ruby install because there
| 373859 [luislavena@g] Perhaps that article was quite old. When referring to articles on the
+ 373851 [rogerpack200] I've had the same failure (1.9.2 only) at times, but never looked at it
+ 373866 [achin5957@ho] -p http://web-proxy:8080 works fine when I install the uuid gem. And the
| 373868 [luislavena@g] It is clear that gems that do not require compilation do not fail in
+ 373869 [achin5957@ho] And while we're at it, would you know why if I debug with the "slow"
| 373902 [rogerpack200] ==========================================================================
| + 373906 [luislavena@g] Roger, that is DevKit.
| + 373909 [achin5957@ho] Roger - I don't think this is a version problem because on my other dev
|   + 373911 [luislavena@g] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
|   + 373923 [rogerpack200] If that's the case then you'll probably have to dig down deep into your
+ 373916 [achin5957@ho] Yes, I filled in the form and posted on the Google rubyinstaller group

Earn $10 Per CLICK ( There Is A FORM )
373622 [using4person] There is a FORM in an IMAGE.....CLICK on the IMAGE which is BELOW the

Iterate through Nested Array - Noob question
373623 [dinamcc@ya o] I am new to ruby, I am trying to populate data into a form using a set
373628 [josh.cheek@g] Did you also update the hash where you specify who is the owner? (something

Reading text files
373633 [mcintosh8030] I can't read the text file below with Ruby. The two date lines are
+ 373635 [scott@ai ru ] Post your ruby code.
+ 373657 [code@ap th o] If I put that text in a file, I seem to be able to access it just fine.

Hal Fulton on Twitter...
373638 [rubyhacker@g] If you have any interest in following me, feel free.
+ 373644 [echristopher] we buy the 2nd edition book and qualify for a discounted 3rd-edition
| 373650 [rubyhacker@g] I think Twitter has a search bug relating to underscores. But I'm there.
+ 373646 [t.yao426@gm ] Followed , looking forward to your new book :)

Date/time settings has messed up rails
373643 [prpaulroche@] not sure what I did, but instantrails is not working for me now and is
373679 [prpaulroche@] I got this fixed. I jsut reinstalled rails

Ruby-Sequel - Sqlite3 table schema
373651 [flebber.crue] Looking for a little assistance. I am trying to create a basic
373655 [wishdev@gm i] Good Evening,

Validations + Urgent
373664 [hemant.bharg] I am saving/updating same object on different pages with some
373669 [shortcutter@] Ruby != Rails.  Please ask in the appropriate place.


Mp3 files ubuntu
373673 [pownyan@gm i] I am new to ruby, and i want to write a small text based games with some
+ 373677 [cmdjackryan@] Note that this will work only for systems where GStreamer is installed
+ 410139 [lists@ru y- ] Aashiqui 2 tum hi ho.my name bilal .Dosto Ki Kami Ko Pehchante Hain Hum.

an each/block problem
373680 [prpaulroche@] function call called borrowed, that runs an evaluation on the value
+ 373682 [cmdjackryan@] Define it outside the block. ;)
| 373684 [prpaulroche@] but for an 'each' don't I need a block?
| 373692 [cmdjackryan@] Yes, you do. Which is why you declare your variables outside of a
+ 373687 [prpaulroche@] Here's more explantion.......
| 373688 [hassan.schro] users =3D User.all
| 373689 [prpaulroche@] Indeed you're right. I didn't think of trying it, because I thought that
+ 373690 [prpaulroche@] Just one more thing. if I want to attach the 'name' of the User to that.
  373691 [hassan.schro] Pass the entire User object, e.g. `borrowed.call(user)` and change
  373694 [prpaulroche@] Thanks for that. I am arranging to take 2 parameters...
  373696 [hassan.schro] I can't even begin to guess what you think should happen here -- what
  373700 [prpaulroche@] Ah yes, I see whay you mean  :)

Very simple regex question
373695 [geometric.pa] I don't understand why the regex in the example below isn't identifying
+ 373697 [jeremy@bo p.] Your regexp will match anywhere within the string where there is a run
+ 373698 [hassan.schro] That succeeds if the string *contains* between 2 and 12 characters,

display instance variable values
373702 [johnsayeau@g] If I have a people class with instance variables @name @age and @gender
+ 373703 [josh.cheek@g] replace the line "var.(display value somehow)" with   "puts
| 373709 [ammarabuali@] Ah. I forgot about that one.
+ 373704 [ammarabuali@] What are you trying to do? This seems a little strange to me.
+ 373705 [mbostler@gm ] p peep.instance_variables # => ["@age", "@name", "@gender"]
+ 373706 [johnsayeau@g] That won't work.
+ 373707 [johnsayeau@g] Not trying to do anything other than experiment. I was playing with for

Ruby class versioning
373712 [timdeboerz@g] Today I've started investigating this ruby/rails thing. Love the
+ 373720 [shortcutter@] Java certainly looks a lot more engineered compared to Ruby.  If that
+ 373727 [timdeboerz@g] Thanks Robert. Be interesting to see how it pans out once I start using
| 373728 [richard.conr] I have worked in Java for years, and I am familiar with the versioning
+ 373749 [b.candler@po] Does bundler do what you want?

373715 [snehaparital] ...

Is it possible to break a loop from within an internal lambda function?
373717 [timrandg@gm ] This code works because 'exit' within the lambda within the block
+ 373718 [skye.shaw@gm] This seems like an odd code arrangement.
| 373719 [skye.shaw@gm] Though if you really, really -really, want to kill the call stack from
+ 373721 [botpena@gm i] try,
| 373724 [timrandg@gm ] Thanks skye and botp. Both interesting solutions.
+ 373732 [w_a_x_man@ya] solve_by_iter{|test|
  373763 [timrandg@gm ] That is also a clever solution. It uses 'and' for its ability control
  373764 [botpena@gm i] in short, you can simply do

Mysql::Result .each_hash - unexpected result
373722 [durexlw.regi] require "mysql"
373738 [botpena@gm i] at this point, i'd be wary.  the iterator may not "rewind"
373745 [durexlw.regi] Can you say something about how an iterator can not "rewind"? Do you
+ 373774 [botpena@gm i] nothing to do w ruby. just understanding file/db handling...
| 373778 [durexlw.regi] -botp,
+ 373775 [niklas@br ec] This is a mysql specific problem, not ruby. Result#each_hash is just
  373780 [durexlw.regi] Niklas,
  373783 [niklas@br ec] No, the database is not queried every time. The reason I was suggesting
  373786 [durexlw.regi] Niklas,
  373789 [niklas@br ec] Don't be too sure too soon :)
  373797 [durexlw.regi] hehe... gotta love coding :)
  373798 [niklas@br ec] sorry to disappoint you :)

import csv with Fields that contain double quote characters
373723 [hadasagr@gm ] i import csv files in ruby.
373725 [ammarabuali@] What library are you using to import the csv? Are the files in utf-8,
373726 [hadasagr@gm ] i do it wuth :fasterCSV,
373729 [ammarabuali@] Sorry, I couldn't run that code. Maybe pasting in the forum messed it

more help with address book
373730 [aaron4osu@gm] I°«m trying to create a simple address book in ruby.  It is made up from
+ 373733 [shortcutter@] om
+ 373779 [adrain.f.tep] About this part I think input "command" and its params once will be more

373731 [iamforufrien] NAUGHTY GIRL, WANNA NAUGHTY WITH ME, COME ON...really free...

[ANN]  Ruber 0.0.6 released
373737 [stefano.croc] Ruber 0.0.6 has been released today

MacRuby KVO array ERROR?
373740 [zalavariandr] error in my Code.
373742 [ryand-ruby@z] On Nov 14, 2010, at 10:55 AM, Andras Zalavari <zalavariandris@gmail.com> wro=

Gems in ~/.gem vs in the Library
373751 [wojtek.galaj] I am completely new to Ruby on Rails. When i install gems some of them
373752 [cmdjackryan@] 1) Don't chmod system folders unless you know what you are doing
373753 [wojtek.galaj] On Nov 14, 10:24=A0pm, Phillip Gawlowski <cmdjackr...@googlemail.com>
+ 373754 [cmdjackryan@] You are quite welcome. :)
| 373758 [wojtek.galaj] On Nov 14, 10:46=A0pm, Phillip Gawlowski <cmdjackr...@googlemail.com>
+ 373755 [tommaso.visc] i suggest forget the system gem command and use RVM
+ 373756 [luislavena@g] gem update rails
+ 373757 [jose.halesga] The 'new' arg was introduced in mid-stream of the Rails 3 beta releases.

Re: FasterCSV
373759 [francisca_oz] How Can I sort attributes.values for similar order as csv_header? Just
+ 373802 [Rob@Ag le on] Well, since you've already limited the attributes that ActiveRecord
+ 373854 [james@gr ys ] csv << csv_header.map { |h| v[h] }

Rubinius compilation error
373762 [dushyanth.ma] I am having compilation errors when installing rubinius 1.1.0 using RVM
373766 [dushyanth.ma] According to dbussink (https://github.com/dbussink) this was fixed in

To_date Error ...
373768 [henrik.ekenb] After a ruby upgrade I have an error with to_date.
+ 373806 [brabuhr@gm i] require 'active_support/core_ext/string/conversions'
+ 373810 [shortcutter@] false

please help load from txt
373773 [lars_werkman] load data from a file but i want it to load one line at the time the
+ 373777 [jgabrielygal] Depending on what you want to do with the data after reading it, if
+ 373784 [lars_werkman] prints it in
| 373800 [jgabrielygal] If you just want to print it, I wouldn't bother with classes or
+ 373811 [lars_werkman] thanks for your help, but i got that already i don't think you quit
| 373812 [jgabrielygal] I have problems understanding what you mean by "call".
| 373813 [jgabrielygal] Person =3D Struct.new :name,:last_name,:call_name,:age
+ 373814 [lars_werkman] he jesus thanks for your help by call i meant, when the scripts start i
+ 373815 [lars_werkman] heey if that last script that you maked is what i need?? how do i put it
| 373816 [jgabrielygal] What errors did you get? I tried with your sample file and got it working.
+ 373817 [lars_werkman] he jezus i'm so sorry but no i'm running of the hook i would really
+ 373875 [bkaiflin.rub] First I reply to the first post : by moving show_load_data inside the
+ 373877 [bkaiflin.rub] - Class_choose.new, in case of wrong answer, creates a new instance of
+ 373878 [bkaiflin.rub] If I have well understood, you want to display one of the names of the
+ 373917 [lars_werkman] heey thanks for your help i 'm going to try your last script i hope this
+ 373920 [lars_werkman] heey i tryed it but i have a little problems,

Faking constants with methods
373785 [niklas@br ec] class Bar
373791 [sutniuq@gm .] Maybe with const_missing?
373793 [niklas@br ec] Thank you, but that would only work if the constant isn't defined. Maybe
373795 [sutniuq@gm .] class Bar
373796 [niklas@br ec] Well, if I were to change the code that *uses* the constant, I would

Can't get Ruby programs to work from Command Prompt
373787 [dd25@nj t. d] prompt.  I have a Ruby program called scope.rb, which is a simple
+ 373788 [lars_werkman] try to download ruby from this site than it might work
+ 373792 [sutniuq@gm .] Your Ruby installation simply misses the Tk library. The RubyInstaller
| 373807 [luislavena@g] RubyInstaller *is* linked in ruby-lang.org website, so even download
+ 373825 [dd25@nj t. d] So, I must know download the tk library, right?  Thanks.
+ 373831 [dd25@nj t. d] Okay, I just downloaded ActiveTcl 8.5.9.  As part of its library, it has
+ 373880 [dd25@nj t. d] All right, I tried installing tk on the command line by entering "gem
+ 373900 [dd25@nj t. d] I know for a fact that tk is available; I downloaded it by entering "gem
  + 373901 [cmdjackryan@] The same message advising you to do an install of TK as a gem also
  + 373912 [gthiesfeld@g] The project's readme lists some configuration options.

Ruby Vs PHP
373790 [me@ja es in ] PHP has more lines of code in the actual File than ruby. If you take a
+ 373799 [tony.arcieri] Cool story, bro
+ 373801 [shortcutter@] That sounds convincing on first sight yet I am missing hard facts.
| 373805 [spoon@ki le ] Neither PHP or Ruby are high-performance languages. [1]  To bring up the
+ 373803 [ammarabuali@] This is not entirely true. PHP does not have a "standard library",

Passing a variable
373804 [flebber.crue] I recently discussed in this group the basic starting of a project. I
+ 373836 [flebber.crue] ou
| 373994 [b.candler@po] What language is this in? Did you try running it?
+ 373837 [flebber.crue] ou

Stupid optparse question
373818 [cpatti@gm il] How can I make my code print the usage even if zero options are given?
+ 373819 [shortcutter@] o = OptionParser.new do |opts|
| 373821 [cpatti@gm il] This works perfectly, thanks much!
| 373830 [shortcutter@] o =3D OptionParser.new do |opts|
+ 373820 [ryand-ruby@z] well... they are called "options", not "mandatories" :P

How to Name Gems - A STRONG Recommendation
373822 [drbrain@se m] If you went to the first round of RubyConf lightning talks you saw me =
+ 373823 [scott@ai ru ] Also, don't forget to name your gem after something common to the =
| 373826 [matt@te hn r] Using the name of a well known Japanese game should be highly
+ 373834 [mo_mail@on h] Puns intended, but this post is really a gem!

[ANN] hoe 2.7.0 Released
373827 [ryand-ruby@z] hoe version 2.7.0 has been released!

[ANN] Nokogiri 1.4.4 Released
373828 [mike.dalessi] nokogiri version 1.4.4 has been released!

Treetop 1.4.9 released, now with updated documentation
373829 [no.spam@pl a] Folk,

Embedding ruby interpreter
373832 [steve@rt w. ] We are looking at upgrading our current version of ruby 1.8.7 to latest
+ 373833 [shortcutter@] ged up interface
+ 373838 [ammarabuali@] Unfortunately, I never found a solution. In my situation the problem

Parsing String Data
373839 [rorcd@ya oo ] I am very new to Ruby and I have an issue that I cannot seem to
+ 373840 [jgabrielygal] to
| 373876 [rorcd@ya oo ] Jesus,
+ 373841 [ammarabuali@] => ["123", "477"]
+ 373894 [w_a_x_man@ya] to

XMLRPC (REXML) incorrectly handles UTF-8 data
373842 [petr.klima@a] I'm running ruby 1.9.2-p0 on Centos 5.5 x86_64 along with rails 2.3.8.
+ 373844 [petr.klima@a] Hm, it's possible to encode the offending string to base64 before
+ 373845 [botpena@gm i] try,
+ 373846 [botpena@gm i] try,
| 373847 [petr.klima@a] Damn, I have seen this before and I would swear I tried it and it didn't
+ 373904 [kou@co mi ng] Could you show us a reproducable example? We need at least
+ 373948 [petr.klima@a] HTTP/1.1 200: OK
  373971 [kou@co mi ng] Thanks. I can reproduce it.

Ruby + Vim + REPL
373843 [marco-oweber] Everything is work in progress.
373848 [sophrinix@gm] I would love to have the code to this. Please?
373849 [marco-oweber] See fun! repl_ruby#RubyBuffer(...)

[ANN] cool.io 0.9.0: a cool event framework for Ruby (formerly known as Rev) based on libev
373852 [tony.arcieri] Cool.io (formerly known as Rev, and pronounced like Coolio of Gangster's
+ 373864 [sean.ohalpin] Great news! I was concerned you'd moved on from Rev - very glad to see
+ 374061 [normalperson] What was the reasoning for this?  I actually liked the Rev name :)
| 374063 [tony.arcieri] Cool.io is ever so slightly less ungooglable
| 374065 [tony.arcieri] By the way Eric, while Cool.io has backwards compat for Rev, it'd be nice if
| 374070 [normalperson] Heh.
| 374074 [tony.arcieri] Sweet. I wanted to present Rev/Revactor on Rainbows! at RubyConf but
| 374079 [normalperson] Heh, I don't actually have much a clue what interests people when it
| 374089 [tony.arcieri] Yet you've written over 9000 HTTP servers... lol
+ 374069 [btricha@gm i] Cool beans... I've been wanting to try out Cool.io (well, Rev
  374073 [tony.arcieri] Thanks... although actually using Cool.io instead of Coolio adds an extra
  374937 [headius@he d] What's required to do so? What prevents it from working?
  375153 [tony.arcieri] It uses several parts of the MRI C API which I can only assume are
  375216 [headius@he d] loop.c:277: error: °∆TRAP_BEG°« undeclared (first use in thisfunction)
  375218 [tony.arcieri] TRAP_BEG and TRAP_END are for MRI 1.8.  This is a fallback for if Cool.io