diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-11-14 07:10:31 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-11-14 07:10:31 +0000 |
| commit | 757a5f338f16fcf55e02b3dcf67a5df795c5d40b (patch) | |
| tree | 472565a24cc842b64c3b97f573688154a1ac75bb /error.c | |
| parent | f68806890907244281079fccb61fdd29b3ddc8e6 (diff) | |
| download | ruby-757a5f338f16fcf55e02b3dcf67a5df795c5d40b.tar.gz ruby-757a5f338f16fcf55e02b3dcf67a5df795c5d40b.tar.xz ruby-757a5f338f16fcf55e02b3dcf67a5df795c5d40b.zip | |
matz
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
| -rw-r--r-- | error.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -12,6 +12,8 @@ #include "ruby.h" #include "env.h" +#include "version.h" + #include <stdio.h> #ifdef HAVE_STDARG_PROTOTYPES #include <stdarg.h> @@ -172,7 +174,7 @@ rb_bug(fmt, va_alist) va_init_list(args, fmt); warn_print(buf, args); va_end(args); - ruby_show_version(); + fprintf(stderr, "ruby %s (%s) [%s]\n", RUBY_VERSION, RUBY_RELEASE_DATE, RUBY_PLATFORM); abort(); } |
