[#17566] rubychecker - runs checks on a Ruby interpreter — Igal Koshevoy <igal@...>

I've put together a shell script that runs checks on a Ruby interpreter.

14 messages 2008/07/03

[#17615] [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nathan Weizenbaum <nex342@...>

At the moment, ruby-mode.el uses font-lock-keywords as opposed to

22 messages 2008/07/05
[#17657] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Yukihiro Matsumoto <matz@...> 2008/07/08

[#17678] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nathan Weizenbaum <nex342@...> 2008/07/09

It was designed to fix the following case:

[#17755] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nathan Weizenbaum <nex342@...> 2008/07/13

Here's a third patch that fixes a bug in the second and uses a quicker

[#17772] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nathan Weizenbaum <nex342@...> 2008/07/15

One more patch which fixes a few bugs in the the last one.

[#17773] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nobuyoshi Nakada <nobu@...> 2008/07/15

Hi,

[#17776] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nathan Weizenbaum <nex342@...> 2008/07/15

Looks like version 22 doesn't support explicitly numbered regexp groups.

[#17779] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nobuyoshi Nakada <nobu@...> 2008/07/15

Hi,

[#17783] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nobuyoshi Nakada <nobu@...> 2008/07/15

Hi,

[#17788] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nathan Weizenbaum <nex342@...> 2008/07/15

Alright, here's a version that fixes both the highlighting bug and the

[#17793] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nobuyoshi Nakada <nobu@...> 2008/07/16

Hi,

[#17644] Features to be included in Ruby 1.9.1 — "Yugui (Yuki Sonoda)" <yugui@...>

Hi, all

27 messages 2008/07/08

[#17674] [Ruby 1.8 - Bug #238] (Open) Ruby doesn't respect the Windows read-only flag — Jim Deville <redmine@...>

Issue #238 has been reported by Jim Deville.

10 messages 2008/07/08

[#17708] [Ruby 1.8 - Bug #252] (Open) Array#sort doesn't respect overridden <=> — Ryan Davis <redmine@...>

Issue #252 has been reported by Ryan Davis.

13 messages 2008/07/09

[#17871] duping the NilClass — "Nasir Khan" <rubylearner@...>

While nil is an object, calling dup on it causes TypeError. This doesnt seem

33 messages 2008/07/20
[#17872] Re: duping the NilClass — Urabe Shyouhei <shyouhei@...> 2008/07/20

Nasir Khan wrote:

[#17873] Re: duping the NilClass — "Meinrad Recheis" <meinrad.recheis@...> 2008/07/20

On Sun, Jul 20, 2008 at 7:55 PM, Urabe Shyouhei <shyouhei@ruby-lang.org>

[#17877] Re: duping the NilClass — Urabe Shyouhei <shyouhei@...> 2008/07/20

Meinrad Recheis wrote:

[#17879] Re: duping the NilClass — Kurt Stephens <ks@...> 2008/07/20

Urabe Shyouhei wrote:

[#17880] Re: duping the NilClass — "Nasir Khan" <rubylearner@...> 2008/07/21

I write a lot of hand crafted dup or clone because I want control as well as

[#17881] Re: duping the NilClass — "David A. Black" <dblack@...> 2008/07/21

Hi --

[#17882] Re: duping the NilClass — Urabe Shyouhei <shyouhei@...> 2008/07/21

+1 to David. A convenient way to do Marshal idiom should be a new

[#17885] Re: duping the NilClass — "Robert Dober" <robert.dober@...> 2008/07/21

On Mon, Jul 21, 2008 at 8:21 AM, Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:

[#17887] Re: duping the NilClass — "David A. Black" <dblack@...> 2008/07/21

Hi --

[#17889] Re: duping the NilClass — "Robert Dober" <robert.dober@...> 2008/07/21

On Mon, Jul 21, 2008 at 1:02 PM, David A. Black <dblack@rubypal.com> wrote:

[#17883] [Ruby 1.9 - Bug #340] (Open) 1.9/trunk does not work when compiled with llvm-gcc4 2.3 (gcc 4.2.1) — Ollivier Robert <redmine@...>

Issue #340 has been reported by Ollivier Robert.

14 messages 2008/07/21

[#17943] RUBY_ENGINE? — "Vladimir Sizikov" <vsizikov@...>

Hi,

56 messages 2008/07/24
[#17950] Re: RUBY_ENGINE? — Tanaka Akira <akr@...> 2008/07/25

In article <3454c9680807241200xf7cc766qb987905a3987bb78@mail.gmail.com>,

[#17958] Re: RUBY_ENGINE? — "Vladimir Sizikov" <vsizikov@...> 2008/07/25

Hi,

[#17981] Re: RUBY_ENGINE? — Tanaka Akira <akr@...> 2008/07/26

In article <3454c9680807250054i70db563duf44b42d92ba41bfb@mail.gmail.com>,

[ruby-core:17997] Re: RUBY_ENGINE?

From: Charles Oliver Nutter <charles.nutter@...>
Date: 2008-07-27 19:33:45 UTC
List: ruby-core #17997
ruby_install_name could be ruby1.8 if the install name is different than 
just "Ruby". There's currently no reliable variable that always says 
"ruby" under MRI, "jruby" under JRuby, "rbx" under Rubinius, and so on. 
The primary goal for this was to eliminate the confusion over which 
property to use to know "which ruby impl am I running under".

Vladimir Sizikov wrote:
> Hi Bill,
> 
> Ah, I forgot about that discussion...
> 
> Maybe I'm missing something here, but I always thought that this kind
> of functionality (detecting the path to the implementation that
> currently runs the code) *is* already available via 'rbconfig' lib:
> 
> RUBY = File.join(Config::CONFIG['bindir'], Config::CONFIG['ruby_install_name'])
> 
> Works fine with MRI 1.8 and 1.9, JRuby, Rubinius.
> 
> thanks,
>   --Vladimir
> 
> On Fri, Jul 25, 2008 at 10:21 AM, Bill Kelly <billk@cts.com> wrote:
>> From: "Ryan Davis" <ryand-ruby@zenspider.com>
>>> On Jul 24, 2008, at 19:35 , Tanaka Akira wrote:
>>>> What the usage of RUBY_ENGINE?
>>>>
>>>> I heard it is used to know command name at the IRC meeting.
>>>> I think it is not good idea.
>>> not command name, but ruby "flavor": (mri) ruby, rubinius, jruby, etc.
>> From: http://ruby-design.pbwiki.com/f/ruby-core-20080430.txt
>>
>> [2008/04/30 20:21:59] @ headius set topic
>> http://ruby-design.pbwiki.com/Design20080430 - RUBY_ENGINE or similar
>> constant to indicate implementation
>> // ...
>> [2008/04/30 20:33:31] <evan> can I bring up the root issue?
>> [2008/04/30 20:33:39] <evan> of wanting this constant
>> [2008/04/30 20:33:43] <headius> yes
>> [2008/04/30 20:33:46] <headius> do taht
>> [2008/04/30 20:33:49] <enebo> please
>> [2008/04/30 20:33:56] <evan> 99.9% of the time, it's because someone needs
>> to know the name of the ruby command
>> thaht was issued to run the current program
>> [2008/04/30 20:34:06] <evan> so they'd use this to figure out ruby/rbx/jruby
>> whatever.
>> [2008/04/30 20:34:06] <headius> that's already available
>> [2008/04/30 20:34:16] <evan> not in 1.8 it's not.
>> [2008/04/30 20:34:16] <akr> rbconfig
>> [2008/04/30 20:34:22] <evan> thats the installed location
>> [2008/04/30 20:34:25] <evan> not the current running one
>> [2008/04/30 20:34:37] <evan> an great example of that is doing
>> ../../blah/bin/ruby
>> [2008/04/30 20:34:41] <lrz> $0 ?
>> [2008/04/30 20:34:45] <evan> $0 is the script
>> [2008/04/30 20:34:50] <evan> Rubinius implements this
>> [2008/04/30 20:35:00] <matz_> evan: keep going
>> [2008/04/30 20:35:00] <evan> by using getcwd() + argv[0] at start up
>> [2008/04/30 20:35:02] <akr> argv[0] is not trustable
>> [2008/04/30 20:35:08] <evan> to calculate the absolute path to the running
>> binary
>>
>> // ...
>>
>> [2008/04/30 20:41:44] <matz_> I don't think RUBY_ENGINE should be used for
>> feature check
>> // ...
>> [2008/04/30 20:42:09] <matz_> it must be used for something different
>> // ...
>> [2008/04/30 20:42:23] <ko1_> RUBY_ENGINE purpose: (1) search bin name, (2)
>> check spec
>> [2008/04/30 20:42:28] <matz_> for example, choosing performance trick
>> depends on implementation
>> [2008/04/30 20:42:29] <headius> people will use RUBY_ENGINE for feature set
>> either way
>> [2008/04/30 20:42:29] <ko1_> any other reason?
>> [2008/04/30 20:42:32] <headius> I guarantee it
>> [2008/04/30 20:42:43] <ko1_> (3) show version
>> [2008/04/30 20:43:04] <MenTaLguY> I think there needs to be a more explicit
>> way to determine the command name
>> the current Ruby interpreter was started with
>> [2008/04/30 20:43:06] <unak> (4) installing gems
>> // ...
>>
>>
>> Seems people had a number of use cases in mind, indeed including
>> determining the name of the actual ruby binary name.
>>
>>
>> Regards,
>>
>> Bill
>>
>>
>>
>>
> 


In This Thread