387613-388267 subjects 388032-389597

^ How to access manipulate on Exception type object of ruby in C?
387813 [bg.salunke09] file containing implementation of some function which are accessed from

^ Tough Ruby Homework
387814 [rorypascua y] I'm trying to take a long piece of text, find a word, and get that word
+ 387815 [serialhex gm] ...if it's homework, why are you simply asking us?
| 387817 [rorypascua y] Not a school homework.  Its a work homework.  Thanks
| + 387819 [ruby zanshin] Still. Better to try your hand at something than to just copy what =
| | 387821 [rorypascua y] Dude, if you're not going to help, why respond to this post?  Simply
| + 387820 [serialhex gm] ahh i see, my bad, sorry about that  :)
| + 387824 [mcpierce gma] I think that makes no difference. What have _you_ done first to attempt
|   387825 [pascua9804 g] I know.. I know.. My post sounded like I didn't even try because I went
+ 387816 [josh.cheek g] Check out String#split (
| 387818 [rorypascua y] Thanks Josh
+ 387822 [list.push gm] I don't know what work homework means.
| 387826 [pascua9804 g] Thanks Harry, I'll try that.
+ 387908 [matt tidbits] It might help to note that an array is an enumerable and that enumerable
| 387913 [pascua9804 g] Thanks to all who tried to help.  Here's the final answer.
| 387917 [ian.hobson n] I think that is a maintenance nightmare!
| 387929 [shortcutter ] nk
+ 387933 [list.push gm] Is this what you want with multiple words?
  387946 [list.push gm] Actually, I guess this makes a little more sense and is a little faster.

^ weird behaviour spawning processes
387823 [James.French] Lately I've been having a hell of a time (a bad time) trying to fix an E2BI=
387827 [shortcutter ] BIG error coming from spawn. I finally tracked it down to a bug in win32.c =
387829 [James.French] 2BIG error coming from spawn. I finally tracked it down to a bug in win32.c=
387833 [cmdjackryan ] Phillip Gawlowski

^ Find memory leak in very complex Ruby app
387831 [tsyren.hey g] everyone!
+ 387835 [rogerpack200] valgrind?
| + 387840 [klauer gmail] The tips aren't Rails-specific, so don't be put off by the url. :)
| | 387865 [tsyren.hey g] Nice article, thx Nick!
| + 387862 [tsyren.hey g] Sorry that i'm sending you link, but
+ 387843 [cremes.devli] I also recommend trying to run your code under JRuby and Rubinius. Both have very powerful tools for detecting and finding memory leaks, so those other runtimes may help shed some light on your problem.
| 387867 [tsyren.hey g] Chuck, thx to mention this way. I'd said that EM is bugging under JRuby,
| 387894 [cremes.devli] % gem install eventmachine --pre
+ 387846 [normalperson] In the absence-of/incompatibility of specialized tools or alternative

^ Can I Safely Use Rubinius While Learning?
387853 [jacksonaaron] Greetings,
+ 387854 [cmdjackryan ] Actually, you could install all the different versions you'd like to.
| 387856 [jacksonaaron] I am not quite skilled enough to set that up yet,  but I really like
| + 387859 [cmdjackryan ] Well, neither were more seasoned Rubyists when RVM appeared first. ;)
| + 387898 [code apotheo] Word of warning for RVM: at present, the official installation process
+ 387855 [cwprogram li] I'm going to make a bit of a bold proposition. That is I'm going to recomme=
| 387858 [jacksonaaron] worrying
| 387897 [code apotheo] As an addendum, I think Rubinius 1.2.4 should be "safe" to use, if you
| 387903 [cremes.devli] FYI, the 2.0.0pre branch of Rubinius has been merged back to master. The 1.2.5 branch is available too, but everyone should be using the master branch at this point. It can be built to handle both 1.8 and 1.9 syntax (though the 1.9 syntax is incomplete).
| + 387907 [code apotheo] I've been there (mostly lurking) for quite a while.  Thanks for the help
| + 387910 [jon.forums g] Chuck,
|   + 387948 [jon.forums g] Chuck,
|   + 387950 [cremes.devli] I have seen hints that brixen is reloading Windows in his virtual environment recently. Other than these hints I have not seen any other word that non-core people are actively working on Windows support.
+ 387964 [jacksonaaron] I am not an expert at using the terminal by any stretch of the
  387975 [cremes.devli] You should take a look at the rvm documentation which can be found at https://rvm.beginrescueend.com/
  + 387977 [tigre7t hotm] i deleted ruby 1.9.2p0.x before installing the new 1.9.2p290
  + 387978 [tigre7t hotm] i am looking at the rvm site basics but your install process=20
    387981 [cremes.devli] Tim,

^ [ANN] Rails 3.1.1.rc1
387857 [santiago wye] Rails 3.1.1.rc1 has been released. Please give it a try, it's our

^ Re: Confirmation required
387860 [spiralofhope] ...

^ rake aborted!
387861 [ravibaswant.] execute the command $ rake
+ 387863 [ravibaswant.] execute the command $ rake
+ 387864 [ravibaswant.] execute the command $ rake
+ 387869 [josh.cheek g] You must execute the rake command from within the directory containing your
  387871 [cmdjackryan ] ur
  387891 [josh.cheek g] And you can also invoke it from a subdirectory ;)~

^ debugging error
387866 [ravibaswant.] execute the command $ rake

^ git command error
387868 [ravibaswant.] rake aborted!
387870 [josh.cheek g] 1) Why did you attach an image of some guy?

^ Reading Stack Overflow RSS Feed
387878 [samnang.chhu] I would like to learn how to build a background running program that
+ 387879 [markus fisch] You fetch it regularely (but don't abuse the service) and diff what has
| 387884 [cmdjackryan ] Save the date ("last_activity_date", or "creation_date" are good
+ 387893 [phrogz me.co] * There is already an RSS feed for these: feed://stackoverflow.com/feeds/tag/ruby
  387905 [samnang.chhu] Yes, that's just for fun :)

^ gsub in 1.9 vs. 1.8
387880 [waynefb eart] First off, I'm very new to Ruby and I'm trying to wrap my head around a =
387890 [shortcutter ] ew things, so if this sounds simplistic I apologize in advance=85 I did do =

^ debug error in git commamd prompt
387881 [ravibaswant.] when i execute the $rake run:bb command it give error message
387883 [cmdjackryan ] How about not spamming the forum/mailing list?
387885 [ravibaswant.] I did not understand what do you mean?

^ error in git command prompt rake Aborted!
387886 [ravibaswant.] rake run:bb --trace

^ problem installing gems
387887 [tcblues gmai] I cannot install gem files on windows 7 running ruby 1.8.7
+ 387888 [mcpierce gma] nmake is the Micorosoft Visual Studio make tool. Do you have Visual
+ 387889 [cmdjackryan ] Phillip Gawlowski

^ Re: openssl error - ubuntu (RVM)
387892 [cmirallesp g] rvm pkg install openssl

^ calculating days to go using date class-help needed
387899 [joec54 gmail] consider this code stub
+ 387902 [hassan.schro] #today = DateTime.now
+ 387909 [joec54 gmail] that works fine - thanks!

^ Ruby On-line Courses
387906 [patil.demerj] I'm looking for recommendations for excellent ruby on-line courses or
+ 387911 [spiralofhope] There was some recent conversation about certification, mostly
| 387912 [chris.hulan ] This Ruby Mendicant training looks quite good -
+ 387938 [waynefb eart] I don't know anything about this one, but it seems like it covers the =
+ 387945 [treleven.llo] Posted via http://www.ruby-forum.com/.
+ 387959 [josh.cheek g] sessions worth of video, going from very little assumed knowledge, up to
+ 388131 [patil.demerj] Thanks everyone for some great information.

^ RVM + 1.9.3pre == broken readline
387914 [code apotheo] I have not been able to get readline working with the 1.9.3 preview using
+ 387928 [brabuhr gmai] $ uname -a
| 387951 [code apotheo] ng
| 387955 [brabuhr gmai] ing
+ 388162 [rogerpack200] Maybe install pure ruby readline?
  388163 [code apotheo] Please elaborate.
  388172 [brabuhr gmai] ...
  388178 [code apotheo] Thanks.  I had no idea that existed.  "gem install rb-readline" solved

^ Some newbie questions
387915 [cluny_gissla] I got some newbie questions which I would very much appreciate if
+ 387918 [linuxuser101] The @ means that the variable is an object variable, its scope is
| + 387920 [cluny_gissla] Thanks for answering that question. In Python (the only other language I
| + 387921 [cluny_gissla] So the @-sign in Ruby is like self in Python? Can someone confirm who
|   + 387922 [shortcutter ] Not to the class - to the _instance_!  Or more precisely the name is
|   + 387923 [cwprogram li] Not so much. Much like Python=2C Ruby classes deal with self as well. Howev=
|   + 387927 [code apotheo] There have already been some good answers to this, but I'll throw in
+ 387919 [code apotheo] What exactly do you mean by "the normal way"?
+ 387924 [gwtmp01 mac.] hash1 =3D {}
+ 387926 [rubytalk2dav] Someone beat me to this one, so I'll just preemptively add, @@ means
+ 387931 [g.diemant gm] Yes. Dir.glob '*' will not return Unix-style hidden files (files that
| 387941 [phrogz me.co] irb(main):001:0> Dir['*']
+ 387943 [cluny_gissla] Thanks for all the helpful answers.
  387949 [matma.rex gm] Yes.

^ getting a wider range of google results
387916 [linuxuser101] Lately, I have got some interest in google search & keywords.
387925 [linuxuser101] I think I have nailed it.

^ How long does it take to complete Ruby
387930 [sasogeek yah] I've been learning and practicing ruby for 2 weeks and a half and I'm
+ 387932 [shortcutter ] Well, the answer depends on a lot of factors
+ 387934 [sasogeek yah] I meant complete being able to master it. I had given myself a time
| 387937 [shortcutter ] It's always good to have goals - even if one doesn't reach them. :-)
+ 387936 [axyd80 gmail] You can't master anything by reading or learning, only by doing it.
+ 387940 [spiralofhope] 10,000 hours makes for a competent beginner.  =)

^ defined? var in a var name
387935 [jarodzz gmai] I'm create a environment.rb in cucumber which stores a lot of env descripts.
387939 [shortcutter ] ts.

^ wxRuby or Qt4Ruby for learning GUI
387942 [treleven.llo] I've gone past the basics of learning the ruby language and now want to
+ 387944 [serialhex gm] maintained by a steve kablank (and i probably mis-spelled his last name))
+ 387963 [remosewa gma] Shoes is probably the easiest to get started with. I use Wxruby to
+ 387965 [stefano.croc] I don't think there's a *best* library. It depends on your needs and your
+ 387966 [treleven.llo] OK thanks for the advice I'll take a look at these libraries on ruby,  I
+ 387974 [bbxx789_05ss] If you preferred wxPython, then check out wxRuby.  Personally, I prefer
  387976 [steve stevek] QT is lgpl licensed nowadays. No biggie.

^ Joining an array with a table
387947 [istiblasko g] Hey
+ 387960 [josh.cheek g] your question probably has more to do with how to use some specific library
+ 387968 [istiblasko g] Yes, it's Rails!

^ Redefining Date Constants without warnings.
387953 [schmickcl gm] I thought this might be helpfull for someone.

^ array.map! + delete_if possible ?
387957 [k.dorsel gma] I have an array of strings that I need to modify. I either need to
+ 387958 [bbxx789_05ss] arr = [1, 2, 3]
+ 387961 [josh.cheek g] I honestly have no idea what this is supposed to do.
+ 387967 [list.push gm] Probably :)
+ 387991 [shortcutter ] irb(main):010:0> a = 10.times.to_a
| 387993 [adam apresco] => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
| 387999 [shortcutter ] My bad.  I left the conversion out of my example.  With conversion you
+ 388042 [k.dorsel gma] Thanks for the answer. Here is the initial array.
  388070 [shortcutter ] I picked the approach to identify fields by their number and create

^ ruby task monitoring
387962 [remosewa gma] I want to use ruby to monitor other programs that are running in
+ 387969 [steve stevek] You were fine up until 'on windows.' Most of the ruby stuff I know that does
+ 387970 [cmdjackryan ] PS C:\ > get-process | select-object -Property Id, Name, CPU, Path,
+ 387971 [jon.forums g] Depending upon your appetite for rolling-your-own, check out using FFI
+ 388028 [shortcutter ] Kind regards

^ Getting TextMate to list Ruby as a template
387972 [treleven.llo] Can anyone tell me how I can get TextMate to list Ruby as a template via
387973 [matt tidbits] Use the Bundle Editor, select something inside the Ruby bundle, and

^ [ANN] taglib-ruby 0.1.1 (first release!)
387979 [robin nibor.] I'm happy to announce the first release of taglib-ruby!
387980 [normalperson] Cool, I look forward to Vorbis comment support!
387983 [robin nibor.] You're welcome, and thanks for your feedback :)

^ tkroot options
387982 [joec_49 hotm] What are the complete list of tkroot options (title, minsize. resizable
+ 387985 [sophrinix gm] consider using pry to inspect the methods available on tkroot.
+ 387992 [joec_49 hotm] I know these options....
+ 387994 [joec_49 hotm] Look also at roow.withdraw which is comment out here. there must be
+ 388038 [nagai ai.kyu] See the keys of the result of "Tk.root.current_configinfo".

^ Strange vector behaviour
387984 [mulvaneyenat] Vector[2,4,6] == Vector[1,2,3]*2
+ 387986 [adam apresco] Floating point numbers.
+ 387987 [gwtmp01 mac.] Integer literals have exact representations while floats do not.  =

^ [ANN] Cameleon 0.1.0 released
387988 [daixque gmai] Cameleon version 0.1.0 has been released!

^ [ANN] Ruby-GNOME2 1.0.1
387989 [kou cozmixng] The Ruby-GNOME2 project released Ruby-GNOME2 1.0.1.
387995 [kou cozmixng] The Ruby-GNOME2 project released Ruby-GNOME2 1.0.2...

^ [ANN] test-unit 2.4.0
387990 [kou cozmixng] gem install test-unit

^ GoGaRuCo videos
387996 [axyd80 gmail] only available videos I found was these
387997 [ben bleythin] Give Confreaks a few days to get the videos posted. They'll be posted

^ Re: Ruby-GNOME2 1.0.1
387998 [jon.forums g] Thanks Kou, and the install of the mingw binary gems works fine for me
388021 [kou cozmixng] In <e95e824d8f8426681049be8a4aaeac60@ruby-forum.com>

^ First time Ruby Install
388000 [andy.prondak] Hey, this is my first time ever working with Ruby so this makes me a
388004 [sophrinix gm] bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)

^ opencv gem on snow leopard failing to bind to all required symbols
388001 [sophrinix gm] Greetings,
388002 [sophrinix gm] encv/opencv.bundle
388005 [sophrinix gm] This fixes this issue. This probably also fixes the issue for those on OSX Lion.

^ Ruby Speed Question
388003 [oblivious.sa] to examine the speed of binary search on various array sizes in 3
+ 388011 [josh.cheek g] Java and C# are statically typed and compiled (well... more so than Ruby,
| 388027 [shortcutter ] This is not 100% true.  While they are from a language user's
| 388029 [josh.cheek g] I've had people say this to me in the past, but I don't understand how this
| 388030 [normalperson] basic types, including simple Fixnum arithmetic (see insns.def).
+ 388012 [cremes.devli] This general question has been answered quite a few times. Some of these links are a little out of date now but the gist is correct. BTW, JRuby is probably the fastest current runtime and the one with the best chances of reaching Java-like performance. Running it with NetBeans isn't slowing you down though you may want to see if you can configure NetBeans to run JRuby with the --server switch (more aggressive JIT'ing by hotspot).
+ 388015 [oblivious.sa] Thanks for your comments, Chuck & Josh!
| + 388016 [jamesthepipe] How are you controlling for startup time?  JRuby's startup has always
| + 388024 [code apotheo] =20
+ 388079 [joec_49 hotm] I ran a speed test on a simple 'for' loop and found ruby does close to
| 388082 [j.londiche p] =20
+ 388165 [collegeman09] Hey Kevin what school do you attend?

^ download rvm and install later?
388006 [bbxx789_05ss] How do you download rvm without installing it?
388008 [sophrinix gm] curl -s https://rvm.beginrescueend.com/install/rvm
388009 [sophrinix gm] it should be noted that https://rvm.beginrescueend.com/install/rvm is
388010 [sophrinix gm] However, for the 'install later part'

^ GEMS: GEMSPEC problem
388007 [frederick.c.] I'm a Ruby/Rails/Cucumber neophyte.
388026 [justincollin] rvm[1] should help you with the "managing your environments" issue.

^ Persistent storage in ruby
388013 [treleven.llo] Python has a shelve object for persistent storage what's the equivalent
388014 [tony.arcieri] There's a few built-in options, such as PStore (which is very slow)
388058 [matma.rex gm] Or maybe you're simply looking for Marshal? It lets you dump almost

^ FTP ports
388017 [c0dege3k gma] I've been writing a super simple terminal FTP client to send text files
+ 388018 [sduncan weta] Try opening your ftp connection in passive mode;
+ 388019 [cmdjackryan ] Is
+ 388020 [mbostler gma] maybe try using the connect method to manually specify the port number
  388022 [c0dege3k gma] The connect method suggestion didn't work. And I just noticed another thing-
  + 388023 [sduncan weta] Sorry, my suggestion may not have been that helpful as, despite the docs
  + 388025 [gwtmp01 mac.] thing-
    388059 [c0dege3k gma] Thank you! That worked- and sorry Sam- the link you gave me just showed me
    388060 [sduncan weta] Hah, no problem. Glad you got there in the end. Evidently you /can/ get

^ Add a remote location to my gem installation
388031 [tcblues gmai] I've created a gem file using rake gem, and now I would like to put all