Hi,
Ruby 1.9.3 RC1 has been released. This is the first release candidate
of Ruby 1.9.3, the next stable release of Ruby.
Ruby 1.9.3 is a release for better implementation. It is mostly
backward-compatible with Ruby 1.9.2. But also includes some new
features, e.g. io/console.
You can read the list of changes since Ruby 1.9.2 in NEWS [1]. The RC1
is not so different from Ruby 1.9.3 preview1, but it includes many bug
fixes. See ChangeLog [2] for more details.
I’m using Arch Linux, here’s some more information:
===============================================
√ quintus@hades => ~/Downloads/ruby-1.9.3-rc1
$ gcc --version
gcc (GCC) 4.6.1 20110819 (prerelease)
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
√ quintus@hades => ~/Downloads/ruby-1.9.3-rc1
$ uname -a
Linux hades 3.0-ARCH #1 SMP PREEMPT Tue Aug 30 08:53:25 CEST 2011
x86_64 AMD Athlon™ II X4 640 Processor AuthenticAMD GNU/Linux
Vale,
Marvin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
$ cat /proc/version
Linux version 3.0-ARCH (tobias@T-POWA-LX) (gcc version 4.6.1 20110819
(prerelease) (GCC) ) #1 SMP PREEMPT Tue Aug 30 07:32:23 UTC 2011
the disk or try a different kernel.
You’re indeed right, thanks!. I ran fsck over my disk and it reported
a frightening range of errors… Currently I’m doing a complete smart
test on the drive, hopefully I don’t need a new one…
However, it still doesn’t compile. I now get beyond the float.h thing
and it crashes at marshal.c:
=====================================================================
compiling marshal.c
marshal.c: In function ‘w_float’:
marshal.c:358:27: error: ‘DECIMAL_MANT’ undeclared (first use in this
function)
marshal.c:358:27: note: each undeclared identifier is reported only
once for each function it appears in
make: *** [marshal.o] Error 1
That shouldn’t be an issue with my hard drive, I just tried to compile
the previous version Ruby 1.9.3-preview1 and that one compiled just
fine.
Vale,
Marvin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
However, it still doesn’t compile. I now get beyond the float.h
thing and it crashes at marshal.c:
I bet that your float.h is still broken. I’m afraid you’ll just
have to reinstall your C compiler. I recommend you to reinstall os
Hm… That’s gonna be the usual amount of work, with properly
installing and configuring anything. However, I wanted to do this
earlier already for cleanup. Thank you, Yusuke-san, I think I’ll do
this in a week or two, and then directly use the final 1.9.3 ;-).
Valete,
Marvin
PS: smart says the hard drive is ok. And reinstalling GCC didn’t help.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
[Are there / will there be before final 1.9.3 release] any binary
packages for Windows?
Yes, Luis is currently planning to release 1.9.3 RC1 RubyInstaller
binary archives which will be made available at Downloads Keep an eye out for his ANN.
If you’re feeling adventurous and would like to build your own 1.9.3 (on
Windows without having to configure a build toolchain) from MRI source,
it’s fairly simple to do using the RubyInstaller build recipes. Read my
reply for one way to get started:
Most people die of a sort of creeping common sense, and discover when it
is too late that the only things one never regrets are one’s mistakes.
- Oscar Wilde
[Are there / will there be before final 1.9.3 release] any binary
packages for Windows?
Yes, Luis is currently planning to release 1.9.3 RC1 RubyInstaller
binary archives which will be made available at Downloads Keep an eye out for his ANN.
Any progress?
Will work on a binary release this weekend, it was a very busy week at
work.
I did in fact try compiling on my own using Jon’s instructions, but
after long downloads and loooong crunching the rake was “aborted”.
I’ll keep trying, of course (I have some suspicions as to why it
barfed), but a premade package would be greatly appreciated
[Are there / will there be before final 1.9.3 release] any binary
packages for Windows?
Yes, Luis is currently planning to release 1.9.3 RC1 RubyInstaller
binary archives which will be made available at Downloads Keep an eye out for his ANN.
Any progress?
If you’re feeling adventurous and would like to build your own 1.9.3 (on
Windows without having to configure a build toolchain) from MRI source,
it’s fairly simple to do using the RubyInstaller build recipes. Read my
reply for one way to get started:
I did in fact try compiling on my own using Jon’s instructions, but
after long downloads and loooong crunching the rake was “aborted”.
I’ll keep trying, of course (I have some suspicions as to why it
barfed), but a premade package would be greatly appreciated
One potential barf area to check is whether there are 0 byte archives in
the ‘downloads’ sub-directory of your RubyInstaller repo clone. While
it’s caused by network problems, the current scripts don’t deal with
this failure as gracefully as we’d like.
The manual fix is to delete those 0 byte archives and repeat the build
until the the ‘downloads’ directory cache has a full set of
dependencies. Once you get a full set of artifacts in the ‘downloads’
cache, things work well for repeatedly building.
If this is your problem, tweak my previous instructions by doing:
1. manually delete 0-byte files in ‘downloads’ subdir
2. clean out the build sandbox…DON’T run rake distclean
as that will also clean files from ‘downloads’
rake clean
ruby19 local=C:\ruby-src nogems=1
I’ll repeat Luis’ feedback…we need details on what you’re doing and
your results. Your situation may require other steps than that the
general use case that I listed.
One potential barf area to check is whether there are 0 byte archives in
the ‘downloads’ sub-directory of your RubyInstaller repo clone. While
it’s caused by network problems, the current scripts don’t deal with
this failure as gracefully as we’d like.
I did in fact try compiling on my own using Jon’s instructions, but
after long downloads and loooong crunching the rake was “aborted”.
I’ll keep trying, of course (I have some suspicions as to why it
barfed), but a premade package would be greatly appreciated
If you don’t include the output of the “barf”, there is little we can do
to help.
There are thousands of reasons rake could have aborted execution,
ranging from the version of Ruby you’re using to Rake, download issues
or specific details of your machine.
Without these details, we are clueless, same as you.
Feel free to post to RubyInstaller list if you need assistance on
getting the environment to compile: