summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--error.c7
-rw-r--r--test/ruby/test_rubyoptions.rb3
-rw-r--r--version.h2
3 files changed, 9 insertions, 3 deletions
diff --git a/error.c b/error.c
index 5f8b98c1ed..d05b2eb1cf 100644
--- a/error.c
+++ b/error.c
@@ -41,12 +41,17 @@
extern const char ruby_description[];
-#define REPORTBUG_MSG \
+static const char REPORTBUG_MSG[] =
"[NOTE]\n" \
"You may have encountered a bug in the Ruby interpreter" \
" or extension libraries.\n" \
"Bug reports are welcome.\n" \
+ ""
+#if defined __APPLE__
+ "Don't forget to include the above Crash Report log file.\n"
+#endif
"For details: http://www.ruby-lang.org/bugreport.html\n\n" \
+ ;
static const char *
rb_strerrno(int err)
diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb
index e84002c9c9..63d69b3e8d 100644
--- a/test/ruby/test_rubyoptions.rb
+++ b/test/ruby/test_rubyoptions.rb
@@ -502,7 +502,8 @@ class TestRubyOptions < Test::Unit::TestCase
\[NOTE\]\n
You\smay\shave\sencountered\sa\sbug\sin\sthe\sRuby\sinterpreter\sor\sextension\slibraries.\n
Bug\sreports\sare\swelcome.\n
- For\sdetails:\shttp:\/\/www.ruby-lang.org/bugreport.html\n
+ (?:.*\n)?
+ For\sdetails:\shttp:\/\/.*\.ruby-lang\.org/.*\n
\n
(?:#{additional})
\z
diff --git a/version.h b/version.h
index ff4e52aa03..cf869a810c 100644
--- a/version.h
+++ b/version.h
@@ -1,6 +1,6 @@
#define RUBY_VERSION "2.0.0"
#define RUBY_RELEASE_DATE "2014-09-10"
-#define RUBY_PATCHLEVEL 560
+#define RUBY_PATCHLEVEL 561
#define RUBY_RELEASE_YEAR 2014
#define RUBY_RELEASE_MONTH 9