Am Freitag, 18. Feb 2005, 08:12:49 +0900 schrieb James Edward Gray II:
On Feb 17, 2005, at 5:09 PM, Lei Wu wrote:
>I want to translate the following Perl code into Ruby:
>
>@captures = ($text =~ /company=(.+)/g)
>
>Basically, the Perl version uses the g modifier to capture all
>occurrence of the matches in () and put them into an array.
captures = text.scan(/company=(.+)/)
As far as I see, `+' is greedy. Further, you don't need the
grouping. May this is better:
I'm still new to Ruby and I was wondering if anyone know of a tutorial or procedure to prepare an installer for my Ruby applicacion. What I mean is a procedure or steps thay I should follow in order to make a full installer for my applicacion, that is, install Ruby compiler and all the needed libraries needed by my application. I think it would be a little troubling if the regular user need to install the Ruby compiler, FXRuby libraries, etc. on his/her own.
I'm still new to Ruby and I was wondering if anyone know of a tutorial or procedure to prepare an installer for my Ruby applicacion. What I mean is a procedure or steps thay I should follow in order to make a full installer for my applicacion, that is, install Ruby compiler and all the needed libraries needed by my application. I think it would be a little troubling if the regular user need to install the Ruby compiler, FXRuby libraries, etc. on his/her own.
If you are Windows you should take a look at Erik Veenstra's RubyScript2exe package.
----- Original Message ----- From: "Shashank Date" <sdate@everestkc.net>
Newsgroups: comp.lang.ruby
To: "ruby-talk ML" <ruby-talk@ruby-lang.org>
Sent: Thursday, February 17, 2005 4:44 PM
Subject: Re: Installer tutorial
Marcelo (PC) wrote:
I'm still new to Ruby and I was wondering if anyone know of a tutorial or procedure to prepare an installer for my Ruby applicacion. What I mean is a procedure or steps thay I should follow in order to make a full installer for my applicacion, that is, install Ruby compiler and all the needed libraries needed by my application. I think it would be a little troubling if the regular user need to install the Ruby compiler, FXRuby libraries, etc. on his/her own.
If you are Windows you should take a look at Erik Veenstra's RubyScript2exe package.
I'm still new to Ruby and I was wondering if anyone know of a tutorial or procedure to prepare an installer for my Ruby applicacion. What I mean is a procedure or steps thay I should follow in order to make a full installer for my applicacion, that is, install Ruby compiler and all the needed libraries needed by my application. I think it would be a little troubling if the regular user need to install the Ruby compiler, FXRuby libraries, etc. on his/her own.
If you are Windows you should take a look at Erik Veenstra's RubyScript2exe package.
I second that. I was using it earlier today, and it is quite the thing.