[#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:18023] Re: RUBY_ENGINE?

From: "Jeremy McAnally" <jeremymcanally@...>
Date: 2008-07-30 06:11:18 UTC
List: ruby-core #18023
Exactly.  This constant would've been infinitely helpful to a project
I was working on where we're deploying to JRuby but developing on MRI.
 It's difficult to conditionally require gems that require special
versions such as Hpricot without knowing which engine we're running
on.

--Jeremy

On Sun, Jul 27, 2008 at 10:28 PM, Charles Oliver Nutter
<charles.nutter@sun.com> wrote:
> Laurent Sansonetti wrote:
>>
>> On Sun, Jul 27, 2008 at 2:35 PM, Hongli Lai <hongli@plan99.net> wrote:
>>>
>>> Yukihiro Matsumoto wrote:
>>>>
>>>> Don't be so quick.  You guys haven't made it clear that
>>>>
>>>>  * 1.8 and 1.9 can share same RUBY_ENGINE value (since both of them
>>>>   are "my" ruby), or not (since they are different)
>>>
>>> They are both MRI. But it's easy to distinguish between them by checking
>>> RUBY_VERSION.
>>>
>>>>  * plain 1.8 and RubyEnterpriseEdition (or other forks) can share
>>>>   same RUBY_ENGINE (since they are almost identical), or not (since
>>>>   they are different after all).
>>>
>>> Ruby Enterprise Edition is meant to be fully compatible with MRI. It's
>>> basically just MRI + GC patches + a different memory allocator. There are
>>> no
>>> language-level changes or binary compatibility issues, so as far as the
>>> script is concerned it's just MRI.
>>>
>>
>> Mmh, Ruby Enterprise Edition is compatible with MRI, but the engine
>> (which this constant is supposed to represent?) under the covers is
>> not the exact same one.
>>
>> # MacRuby is supposed to be somewhat compatible with MRI 1.9 too. But
>> it has a different memory allocator, GC, object model, dispatcher, ...
>> in other words, a completely different engine.
>
> Rubinius is intended to be compatible with MRI 1.8. JRuby is intended to be
> compatible with MRI 1.8 and 1.9. IronRuby is intended to be compatible with
> MRI 1.8. I don't think that reduces the need for a specific constant
> describing which implementation/codebase you're running on.
>
> All Ruby implementations are intended to be compatible...otherwise they
> wouldn't be Ruby. MacRuby would probably want to specify RUBY_ENGINE as
> "macruby" since as you state it is a different engine underneath that will
> have different quirks. Also in MacRuby's case, there's a pretty seamless
> two-way integration with ObjC, so people would use RUBY_ENGINE == "macruby"
> to know if they should load their ObjC-based libraries.
>
> So like JRuby with Java, Rubinius with various extensions to core classes
> and a differen execution/IO/threading model, IronRuby with .NET, MagLev with
> potentially SmallTalk-based libraries...it's a perfect way to identify "hey,
> I'm on implementation X and can expect features/bugs/quirks of that
> implementation to be present."
>
> - Charlie
>
>



-- 
http://jeremymcanally.com/
http://entp.com/
http://omgbloglol.com

My books:
http://manning.com/mcanally/
http://humblelittlerubybook.com/ (FREE!)

In This Thread