408622-408931 subjects 409061-411292

rbenv installing gems to specific Rubies
408815 [lists@ru y- ] How do you install gems to a specific Ruby with rbenv? For example, I

search a string with ruby then read what comes after the string in the same line
408819 [lists@ru y- ] I am trying to look for a a given string in a text and once i find the
+ 408828 [shortcutter@] You need a regular expression with a capturing group.
| 408849 [lists@ru y- ] thanks
+ 408829 [lists@ru y- ] => "MAY seventh 2013\nJUNE seventh 2012\nJULY eighth 2014"
  408848 [lists@ru y- ] Thanks!!! works.

[ANN] upr 0.3.0 - Upload Progress for Rack
408832 [normalperson] upr is Rack middleware that allows browser-side upload progress

announce: rumake - make for ruby
408833 [marco-oweber] Looks like a library which supports tasks, and is written to simplify

ANN: Ruby Prize recommendation opened
408841 [matz@ru y. r] We have been decided to hold the Ruby Prize (Newcomer Award), to

Why can't I just subtract in a loop without restating the variable?
408842 [wbrisett@at ] ...
+ 408843 [lists@ru y- ] -1 is not the same syntax as +=1.
+ 408844 [sto.mar@we .] This returns the reduced value, but `my_variable' is not modified.
  408845 [wbrisett@at ] Thanks!
  408847 [lists@ru y- ] you should use

unable to install rvm
408846 [tomcloydmsma] ...
+ 408853 [hassan.schro] Untrue. All you can say from that is that the `rvm` command is either
| 410093 [tomcloydmsma] Hassan, you were exactly right. My .bashrc file had the critical script
+ 408860 [tamouse.list] now.
| 410092 [tomcloydmsma] OK, Tamara, you're my new Ruby god. Er....goddess! That DID IT! Due to
+ 410105 [stu@ru yp og] The Z shell aka zsh is the "last shell you'll ever need"... It's a Bourne
  410106 [tomcloydmsma] ...
  410122 [stu@ru yp og] Gotta start somewhere. Ruby is a great general purpose language which

RMagick's #display (focus issues) - off-topic?
408851 [rubyhacker@g] I was playing with a little software idea last night and ran into
408859 [tamouse.list] difficulty.

execute commands within SMTP email code: send content in variables and not actual variables
408854 [lists@ru y- ] I am trying to send an email using the code below. I am able to send the
+ 408855 [lists@ru y- ] I was able to print the values of the variables t and s
| 408856 [doug@ds if r] Interpolation is your answer.  If #{t} and #{s} worked, then something
| 408871 [lists@ru y- ] Thanks for the tip!!
+ 408858 [sto.mar@we .] That's only basic string handling. As Douglas already pointed out,
| 408872 [lists@ru y- ] Thanks good info!! I appreciate. Yeah I have the 'end' Keywords on my
+ 408861 [tamouse.list] This does not read the contents of Document.txt. All it does is assign =
| 408873 [lists@ru y- ] Thanks..interpolation now works because I am now reading the file!
+ 408866 [lists@ru y- ] i try to update nginx then i use the command apt-get update it show an

Embedding Ruby in a Multi-threaded C++ Application
408875 [lists@ru y- ] I am trying to embed Ruby 2.0.0-p195 in a multi-threaded VC++

cfp-consistency error
408877 [lists@ru y- ] I am running Rails test suite with DB2 for providing compatibility with

[ANN] flay 2.3.1 Released
408882 [ryand-ruby@z] flay version 2.3.1 has been released!

[ANN] flog 4.1.1 Released
408883 [ryand-ruby@z] flog version 4.1.1 has been released!

[ANN] ruby_parser 3.2.2 Released
408884 [ryand-ruby@z] ruby_parser version 3.2.2 has been released!

Phusion passenger and Pure Ruby integration
408886 [lists@ru y- ] Can anybody please tell, how to integrate phusion passenger with pure
408887 [halogenandto] ...

[ANN] slideshow (S9) gem Update - Template Pack, Quick Starter Sample n Plugin Index/Registry
408889 [gerald.bauer] I've updated the Slide Show (S9) gem [1]. What's new?

paper-house 0.2.0 Released
408891 [lists@ru y- ] paper-house version 0.2.0 has been released!

phusion passenger + uninitialised constant+ NameError
408894 [lists@ru y- ] I am installing the apache module in phusion passenger. I am facing the
+ 408895 [lists@ru y- ] looks like the method "mktmpdir" is looking for a constant in the wrong
+ 408896 [sto.mar@we .] Please copy & paste the error message into the email.
  408923 [lists@ru y- ] Any help is appriciated.
  408929 [lists@ru y- ] /usr/lib/ruby/gems/1.8/gems/passenger-4.0.8/lib/phusion_passenger/utils/tmpio.rb:60:in

Vinayak Mithbaokar is on a vacation.
408897 [vinayak.mith] I will be out of the office starting  July 12, 2013 and return on July 17,

Ruby 2.0 on Solaris
408898 [lists@ru y- ] Is it possible to install Ruby 2.0 or higher version in Solaris?
408899 [r.crawfordwi] Use RVM..
408900 [lists@ru y- ] I tried to install it using "curl -L https://get.rvm.io |bash -s stable
408918 [atma@co va e] What Solaris vesion is that?

Parsing Ruby.
408901 [lists@ru y- ] What I am trying to do is to download the email from a POP3 account
408928 [mcpierce@gm ] mail =3D Mail.read('/path/to/message.eml')

[ANN] Rails 3.2.14.rc1 has been released!
408902 [rafaelmfranc] I am happy to announce that Rails 3.2.14.rc1 has been released. If no
408904 [rafaelmfranc] ...

How to register get_size etc when extends Gtk::CellRenderer in ruby
408903 [lists@ru y- ] When i extends Gtk::CellRenderer from the gems of

Why the need for multiple $GEM_PATHS
408905 [luke@lu eh m] Can some tell me why we need a $GEM_PATH location per ruby versions when
408924 [aleiphoenix@] Different ruby enviroments (called gemset) should have gems installed

how to upgrade to the latest version of ruby ?
408906 [lists@ru y- ] kirti@kirti-Aspire-5733Z:~$ ruby -v
+ 408907 [sto.mar@we .] 1. search for "rvm upgrade ruby" on the internet
+ 408908 [sto.mar@we .] And here the solution  :)
| 408909 [lists@ru y- ] @Marcus :- Thank you very much! I am done.
+ 408913 [lists@ru y- ] kirti@kirti-Aspire-5733Z:~$ rvm list
  408915 [lists@ru y- ] I have solved the issue by visiting the below link.

[ANN] docx_generator 0.1.0 Released
408910 [proulx.antoi] docx_generator version 0.1.0 has been released!

Module Confusion
408911 [lists@ru y- ] The below code works.  Question though.  How does add_to_stack acess the
+ 408912 [sto.mar@we .] I'm confused about your confusion.
| 408914 [lists@ru y- ] Okay. Let me try and further explain.   With stack.push(obj) I would
| + 408916 [arslanone@gm] @stack is accessed by a call to the stack method.
| + 408917 [doug@ds if r] This is because the stack method will initialize the @stack instance
| + 408919 [sto.mar@we .] <https://github.com/stomar/>
| + 408921 [sto.mar@we .] [Sorry for the empty email, an accident...]
+ 408920 [lists@ru y- ] Yes.  Thanks all.  I get how it works now.

Can't run ruby after upgrading from 2.0.0-p195 to 2.0.0-p247 using rvm
408922 [ruby.student] Team,

closing a socket while another thread is in an IO.select() call on it
408925 [graham@me he] I have a program that opens a TCPSocket, connects it to a server, and
408926 [shortcutter@] Why don't you just use a blocking read if you have a separate thread per
409005 [graham@me he] ...

Ticket for eurucamp 2013
408927 [jabbrwcky@gm] I have an early-bird ticket for eurucamp 2013 in Berlin (16th to 18th

[ANN] TeamCity Ruby Client 0.4.0 Released!
408932 [lists@ru y- ] teamcity-ruby-client version 0.4.0 has been released!

[ANN] flickr_airlift 0.4.0 released
408933 [beholdthepan] scrapes images of a flickr_user. The size you get back depends on that

difference between CGI based web applications and phusion passenger/ sinatra based web applications
408935 [lists@ru y- ] What is difference between CGI based web

Call a method with block on distributed object (drb)
408936 [lists@ru y- ] class Counter
+ 408968 [joelvanderwe] DRb.start_service
+ 408969 [tony.arcieri] Please keep in mind if you pass a block to a remote object, the block will

Get part of matrix
408937 [lists@ru y- ] [10, 11, 12, 13, 14, 15, 16, 17, 18, 19]
+ 408938 [carlos.agari] I'm not sure you can do that with Ruby's standard Matrix class, but you
+ 408939 [stefano.croc] I think the method you want is Matrix#minor. If I understand correctly, you
+ 408941 [lists@ru y- ] First, thanks Carlos Agarie and Stefano Crocco for help me! :)
| 408959 [list.push@gm] Does your matrix always have these values in these locations?
+ 408943 [lists@ru y- ] You could always open the Matrix class and add your own method, with all
+ 408967 [lists@ru y- ] Thanks everyone for help!

[ANN] Rails 3.2.14.rc2 has been released!
408942 [rafaelmfranc] One regression was found on the 3.2.14.rc1 release. So, following the scrip=

Kernel.caller Performance Across Different Ruby Versions
408944 [lists@ru y- ] I then ran that script manually across 3 Ruby versions.
+ 408946 [normalperson] Optimizing data structures (to compact byte code) to speed up common
| 408953 [lists@ru y- ] Agreed and understood.  My intention was just to identify the cost and
+ 408947 [tony.arcieri] Kernel.caller is very expensive on JRuby too, much more so than MRI.
  408954 [lists@ru y- ] Yes - I've noticed the JRuby backtraces are noticeably larger compared

[ANN] sleepy_penguin 3.2.0 - Linux I/O events for Ruby
408945 [normalperson] sleepy_penguin provides access to newer, Linux-only system calls to wait

[ANN] marked-rails released
408948 [beholdthepan] Marked <https://github.com/chjj/marked> is an awesome, fast Markdown parser

Rails dont accept Ruby version
408949 [lists@ru y- ] $ ruby -v
408951 [lists@ru y- ] I fixed it with typing;

[ANN] slideshow (S9) Update - New Mediawiki Markup, Textile Optional, More Plugins (Tables, Snippets, etc.)
408950 [gerald.bauer] I've pushed a new slideshow (S9) gem [1] , that is, v2.3.0.  What's new?

OpenSSL Certificate failure in not_before method
408952 [lists@ru y- ] I've coded up a sample of the problem,40 lines or so. The sample shows

Iteration anomalu
408955 [lists@ru y- ] Surely this is a FAQ but I can't figure out how I would search for an
+ 408956 [lists@ru y- ] Yeah right, I meant anomaly...well that spelling was anomalous. :-)
+ 408957 [lists@ru y- ] Just try
| 408958 [lists@ru y- ] * [x..y]  constructs an Array with one element, and
+ 408980 [vel.dhanabal] In second iteration the value we are getting in 'i' is [0..3]

A very unique perspective for your article
408960 [lists@ru y- ] A very unique perspective for your article, I agree with your point of

[ANN] Ruby mogilefs-client 3.7.0 released
408961 [normalperson] A MogileFS client library for Ruby.  MogileFS is an open source
408975 [normalperson] LOL.

Using rvm for ruby-scripts running with nautilus
408962 [lists@ru y- ] I use Ubuntu 13.04. It has ruby 1.9 preinstalled. I've installed rvm

Allowing a character through Addressable::URI unescaped
408963 [lists@ru y- ] I have some code which used to work a few months ago but appears to have
+ 408964 [lists@ru y- ] Aha! I went digging through the source code, which led me to a specific
| 408965 [shortcutter@] Why do you want to change that? Both ways should work properly. It's like
+ 408966 [lists@ru y- ] You're right, changing that back makes no difference. Perhaps there was

Install RVM on Solaris
408970 [lists@ru y- ] I tried installing RVM on Solaris using command
408972 [ryand-ruby@z] /home/chamila/.rvm/log/ruby-2.0.0-p247/1374192363_package_install_develope=
408974 [matthew@ke w] Dude, you don't _read_ log files.  They just write them out because
408979 [tamouse.list] On Jul 18, 2013, at 3:29 PM, Matthew Kerwin <matthew@kerwin.net.au> =

Re: class <=> module
408973 [brauliobo@gm] "Lute pela sua ideologia. Seja um com sua ideologia. Viva pela sua

TryRuby Popup Problems
408976 [lists@ru y- ] figure I will be spending a lot of time here in the future as I just
+ 408977 [sophrinix@gm] Yeah, I have been seeing a lot of bug reports regarding try ruby.
| 408978 [sophrinix@gm] I should clarify the kickstarter I am launching in less than 24 hours from
+ 408981 [tamouse.list] blog

need to help to get data from bellow syntax
408982 [lists@ru y- ] I need a help to read data from bellow syntax
408983 [matthew@ke w] bellow_syntax = [{:name=>"value1"}, {:name=>"Value2"}]
408984 [peterhickman] The [ and ] indicate a list. So we need to loop over the list

Hash#update - need tweaks
408990 [lists@ru y- ] I am in a situation,where I have to the below kind of operations.
+ 408991 [lists@ru y- ] I finally reach out to my goal,which is
+ 408992 [lists@ru y- ] What's wrong with
  408993 [lists@ru y- ] I do have array of hashes,on which I need to perform this. Thus I

Ruby Debugger
408994 [lists@ru y- ] Could anybody recommend me a good Ruby Debugger. Preferably one that
+ 408996 [marco-oweber] github.com/MarcWeber/vim-addon-ruby-debug-ide
+ 408997 [lists@ru y- ] <- That would be the correct hyperlink.
| 408998 [marco-oweber] Well - you can pay me to simplify it :)
+ 408999 [lists@ru y- ] I would, if I had money. :)
| 409000 [jonanscheffl] I recommend pry. It won't open in vim that I know of but it beats the hell
+ 409001 [lists@ru y- ] I've used pry before, but it's only a little bit better than using puts.
  409006 [marco-oweber] Would .. doesn't help you. Aks which debuggers work on your platform,

ActiveSupport undercore behaviour
408995 [lists@ru y- ] I tried to use ActiveSupport 'underscore' method to convert some
409002 [tamouse.list] On Jul 20, 2013, at 2:51 PM, Serguei Cambour <lists@ruby-forum.com> =
409003 [lists@ru y- ] Thanks a lot for the reply. My hash has one value - an array of nested
+ 409004 [fxn@ha hr f.] I am on the phone, but my guess is that the quotes and backslashes are
| 409007 [lists@ru y- ] I changed as follows and it works for the first nest level for the
| 409020 [josh.cheek@g] I'd probably do it like this. (I like using the word "json" in the name b/c
| 409025 [lists@ru y- ] @tamouse m. :Thanks a lot for such a detailed explanation. Yes the
| 409027 [josh.cheek@g] It stands for "pretty print", it's what prints it in the format at the
| 409028 [lists@ru y- ] REAAAAALY Cool, Josh ! Thanks a lot, it does the stuff !
+ 409019 [tamouse.list] On Jul 21, 2013, at 12:21 AM, Serguei Cambour <lists@ruby-forum.com> =

409008 [jamurphy84@h] Is the mailing list broken or something? I've tried unsubscribing but sendin=
+ 409009 [mike@st k. a] Have you looked a the address in the List-Unsubscribe header?
| 409010 [mike@st k. a] <mailto:ruby-talk-ctl@ruby-lang.org?body=3Dunsubscribe>
+ 409011 [sto.mar@we .] to work.
| 409013 [sto.mar@we .] Just to make sure: "not work" does mean you did not get any email
+ 409012 [lee_veinot@y] ...
| + 409014 [sto.mar@we .] Did you exactly follow the instructions on
| | 409015 [tamouse.list] off
| + 409016 [tamouse.list] off since December.
|   409018 [sto.mar@we .] Interesting...
+ 409017 [sto.mar@we .] @James Murphy, @Lee Veinot

What version gems of qtruby4 or qtbindings for x86 mingw32 gem can run on ruby1.8.7/win7
409024 [lists@ru y- ] I hava tried all version of qtbindings for x86 mingw32 from v4.6.3.0 to
409029 [sto.mar@we .] Sorry I cannot help with your actual question, but I just would like

Sinatra tutorial
409026 [lists@ru y- ] Can anybody tell where I can find a good tutorial for Sinatra?
409030 [killtheliter] I think this one is good -->

tap { break } idiom deserves its own Kernel method?
409031 [lists@ru y- ] x = expr.tap{|value| break expr-involving-value)}
+ 409033 [shortcutter@] objs_map = {}
| 409035 [lists@ru y- ] This is my first code sample but with one temporary variable removed.
| 409039 [sto.mar@we .] I would always value easily readable code higher than an
+ 409034 [tony.arcieri] x = expr-involving-value
| 409037 [lists@ru y- ] It's the tap that makes the variable "value" available for use in
| 409040 [tony.arcieri] Sounds like you want a let binding
+ 409036 [sto.mar@we .] To me this looks like defining a method for doing method chaining...?!
| + 409038 [lists@ru y- ] I agree! But I use it, because I like the pattern when it fits, and it's
| + 409041 [fxn@ha hr f.] I like tap itself on most occasions.
+ 409042 [lists@ru y- ] I just used the pattern again, and this time it's a much simpler example
  409043 [matthew@ke w] Incidentally, I think this feature request may be in line with what
  409044 [lists@ru y- ] Thanks - you're right, it's exactly what I'm proposing.

Prawn: multiple calls to formatted_text_box within a bounding_box?
409032 [lists@ru y- ] I'm a newbie to prawn, but enjoying using it. The API is very nicely

cannot load such file -- pry-full
409045 [lists@ru y- ] This is my first post, and decided to learn something new (ruby). So

Question on while loop to script
409046 [lists@ru y- ] I'm new to ruby and I'm writing simple programs to help my understanding
+ 409051 [tamouse.list] understanding
+ 409063 [lists@ru y- ] You can make your code a bit shorter still.
+ 409065 [lists@ru y- ] Thanks so much for your help but what I'm looking for is
  409067 [tamouse.list] loop do

using qsub from Ruby script produces "command not found"
409047 [lists@ru y- ] I am running a script that runs multiple cases on an engineering code.
+ 409048 [max@zo m. om] How are you running the command from shell? As root?
+ 409049 [lists@ru y- ] /usr/local/bin/qsub
+ 409050 [lists@ru y- ] #! /bin/ksh
| 409057 [max@zo m. om] Executed as a different user, what user does ruby run under?
| 409059 [tamouse.list] do=20
+ 409054 [sto.mar@we .] Is the path where qsub is located in the search path of the shell

How can we create instance method and class methods at runtime in ruby?
409052 [lists@ru y- ] How can we create instance method and class methods at runtime in ruby?
+ 409053 [tamouse.list] $ irb
+ 409055 [lists@ru y- ] Sorry for creating the confusions:-
  409056 [stefano.croc] Foo.class_eval do
  409058 [lists@ru y- ] Thanks @Stefano - this is what I was looking for.. :)
  409060 [tamouse.list] Be circumspect in doing this with define_method. It's a lot slower when =