The Rubinius issue tracker is https://github.com/evanphx/rubinius/issues.
To be useful, tickets must be concise, focused, and actionable. If not, the ticket will languish and become clutter. Accordingly, tickets must fall into one (or more) of the following categories:
If your issue doesn’t fit into one of the categories, it is not invalid. It is simply not appropriate for a ticket.
Give your ticket a specific, preferably short title.
Give your ticket appropriate tags.
Give enough detail about the issue.
uname -ais usually good (if there are any “unknown” fields in it, please elaborate on those.)
Unless for some reason impossible, please use ‘git-format-patch’ to create the patchset. It is much easier to apply and it preserves the correct attribution. Otherwise, a unified diff.
Suppose the following spec exists and is failing:
describe "Kernel.format" do it "is accessible as a module function" do Kernel.format("%s", "hello").should == "hello" end end
“[PATCH] No method ‘format’ on Kernel (Module)”
“patch core spec”
The method ‘format’ is not available as a module function of Kernel.
$ bin/mspec spec/ruby/core/kernel/format_spec.rb Started .E 1) Kernel.format is accessible as a module function ERROR No method 'format' on Kernel (Module):
The method ‘format’ already exists but has not been set as a module function. This patch does so.
After the patch is applied:
$ bin/mspec spec/ruby/core/kernel/format_spec.rb Started .. Finished in 0.016031 seconds 2 examples, 2 expectations, 0 failures, 0 errors
Finally, put your patch in a gist and add the link to the gist to your issue. Below the patch is reproduced inline for completeness:
From c61cecce6442347ebbdf1ded7a5c0832c97582c1 Mon Sep 17 00:00:00 2001 From: Brian Ford <firstname.lastname@example.org> Date: Sat, 19 Jan 2008 17:48:19 -0800 Subject: [PATCH] Set Kernel#format as a module function. diff --git a/kernel/core/kernel.rb b/kernel/core/kernel.rb index 2d2e508..f2a382e 100644 --- a/kernel/core/kernel.rb +++ b/kernel/core/kernel.rb @@ -150,6 +150,7 @@ module Kernel end alias_method :format, :sprintf module_function :sprintf + module_function :format module_function :abort def puts(*a)