Ruby Forum Ruby-core > Ruby 1.8.6 has been released

Posted by Akinori MUSHA (Guest)
on 12.03.2007 21:59
(Received via mailing list)
Hello,

I am pleased to announce that Ruby 1.8.6, the latest release from the
1.8 stable branch, has finally been released.

This version of Ruby is a steady and reasonable enhancement of the 1.8
series including many bug and security fixes, standard library
updates, feature enhancements and performance improvements keeping
high backward compatibility with the previous release (1.8.5).

The source code tarballs are available in several formats at the
following locations:

  ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6.tar.bz2
  ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6.tar.gz
  ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6.zip

Checksums:
  MD5 (ruby-1.8.6.tar.bz2) = e558a0e00ae318d43bf6ff9af452bad2
  SHA256 (ruby-1.8.6.tar.bz2) = 
0fc6ad0b31d8ec3997db2a56a2ac1c235283a3607abb876300fc711b3f8e3dd7
  SIZE (ruby-1.8.6.tar.bz2) = 3946186

  MD5 (ruby-1.8.6.tar.gz) = 23d2494aa94e7ae1ecbbb8c5e1507683
  SHA256 (ruby-1.8.6.tar.gz) = 
3ef37fb961d04471a1aef2c8079d6fab09932e3281d79859d5cd5d426bde0868
  SIZE (ruby-1.8.6.tar.gz) = 4589394

  MD5 (ruby-1.8.6.zip) = 5f4b82cec8f437634e05a3ce9bb3ca67
  SHA256 (ruby-1.8.6.zip) = 
c4b011d66b3f7e3bddbdf61a7404120d5ac80c6b742ad08e7e75b6d14ee56e76
  SIZE (ruby-1.8.6.zip) = 5545642

For a brief list of user visible changes and a full list of all
changes since 1.8.5, see the bundled files named NEWS and ChangeLog,
which are also available at the following locations:

  http://svn.ruby-lang.org/repos/ruby/tags/v1_8_6/NEWS
  http://svn.ruby-lang.org/repos/ruby/tags/v1_8_6/ChangeLog


After this announcement, we will start the development for 1.8.7 as
well as maintaining the "ruby_1_8_6" branch on which only critical
bugs and security vulnerabilities found in the 1.8.6 release are
fixed, and patch releases will follow on appropriate and timely
occasions.  Please check them out after upgrading Ruby to 1.8.6.


Finally, I'd like to thank all those who helped me with the release
engineering.  All your cooperation is greatly appreciated.

Regards,

--
                     /
                    /__  __            Akinori.org / MUSHA.org
                   / )  )  ) )  /     FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ /  ( (__(  @ iDaemons.org / and.or.jp

"Different eyes see different things,
    Different hearts beat on different strings --
       But there are times for you and me when all such things agree"
Posted by Timothy Hunter (Guest)
on 12.03.2007 22:32
(Received via mailing list)
Akinori MUSHA wrote:
> Hello,
>
> I am pleased to announce that Ruby 1.8.6, the latest release from the
> 1.8 stable branch, has finally been released.
>
> \

PPC PowerBook G4, Mac OS X 10.4.8 (8L127) Darwin 8.8.0

making ruby
gcc -Wall -g -pipe -fno-common  -DRUBY_EXPORT  -L/opt/local/lib -L.
main.o  -lruby-static -ldl -lobjc   -o ruby
/usr/bin/ld: warning multiple definitions of symbol _setregid
/opt/local/lib/libruby-static.a(process.o) definition of _setregid in
section (__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libdl.dylib(setregid.So)
definition of _setregid
/usr/bin/ld: warning multiple definitions of symbol _setreuid
/opt/local/lib/libruby-static.a(process.o) definition of _setreuid in
section (__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libdl.dylib(setreuid.So)
definition of _setreuid
/usr/bin/ld: Undefined symbols:
_ruby_init_stack
collect2: ld returned 1 exit status
make[1]: *** [ruby] Error 1
make: *** [all] Error 2
ruby-1.8.6$
Posted by Philip Hallstrom (Guest)
on 12.03.2007 22:50
(Received via mailing list)
> /usr/bin/ld: warning multiple definitions of symbol _setregid
> _ruby_init_stack
> collect2: ld returned 1 exit status
> make[1]: *** [ruby] Error 1
> make: *** [all] Error 2
> ruby-1.8.6$

It's working for me...

Darwin MacBookPro 8.8.2 Darwin Kernel Version 8.8.2: Thu Sep 28 20:43:26
PDT 2006; root:xnu-792.14.14.obj~1/RELEASE_I386 i386 i386

First I set... CFLAGS=-O

then...

./configure --prefix=/usr/local --enable-pthread 
--with-readline-dir=/usr/local
make
make install
make install-doc

and it all went through fine... happy to share anything else that might
help if you tell me what it is you need.

-philip
Posted by Faisal N Jawdat (Guest)
on 12.03.2007 23:02
(Received via mailing list)
On Mar 12, 2007, at 2:50 PM, Philip Hallstrom wrote:
> Darwin MacBookPro 8.8.2 Darwin Kernel Version 8.8.2: Thu Sep 28  
> 20:43:26 PDT 2006; root:xnu-792.14.14.obj~1/RELEASE_I386 i386 i386

Leopard?

-faisal
Posted by Human Dunnil (Guest)
on 12.03.2007 23:06
(Received via mailing list)
I installed Ruby the hivelogic.com way, how do I upgrade it? (How to
remove the old version and install this one?)

Does this will affect my gems and ri docs?

Thanks
Posted by Jan Svitok (Guest)
on 12.03.2007 23:08
(Received via mailing list)
On 3/12/07, Akinori MUSHA <knu@idaemons.org> wrote:
> Hello,
>
> I am pleased to announce that Ruby 1.8.6, the latest release from the
> 1.8 stable branch, has finally been released.

FYI: compile on VS 2005 SP2, XP SP2 went fine as well as nmake test. I
haven't tested it more.
Posted by Philip Hallstrom (Guest)
on 12.03.2007 23:08
(Received via mailing list)
> On Mar 12, 2007, at 2:50 PM, Philip Hallstrom wrote:
>> Darwin MacBookPro 8.8.2 Darwin Kernel Version 8.8.2: Thu Sep 28 20:43:26 
>> PDT 2006; root:xnu-792.14.14.obj~1/RELEASE_I386 i386 i386
>
> Leopard?

No. Not unless they gave me a free upgrade and installed it without me
knowing about it :)
Posted by Jan Svitok (Guest)
on 12.03.2007 23:08
(Received via mailing list)
On 3/12/07, Jan Svitok <jan.svitok@gmail.com> wrote:
> On 3/12/07, Akinori MUSHA <knu@idaemons.org> wrote:
> > Hello,
> >
> > I am pleased to announce that Ruby 1.8.6, the latest release from the
> > 1.8 stable branch, has finally been released.
>
> FYI: compile on VS 2005 SP2, XP SP2 went fine as well as nmake test. I
> haven't tested it more.

I mean VS 2005 SP1 of course.
Posted by Philip Hallstrom (Guest)
on 12.03.2007 23:17
(Received via mailing list)
> I installed Ruby the hivelogic.com way, how do I upgrade it? (How to
> remove the old version and install this one?)
>
> Does this will affect my gems and ri docs?

Don't know if it's right, but i just installed the same way as before 
and
have the new version... if you do a "make install-doc" you'll get the 
new
docs.

Dont' know about gems either, but my rails dev sites still work (running
1.1.6 and 1.2.2) so that's a good sign... and breakpoint now works too!
Posted by Timothy Hunter (Guest)
on 12.03.2007 23:20
(Received via mailing list)
Philip Hallstrom wrote:
> It's working for me...
>
Sigh. No help.

lib$ uname -a
Darwin Timothy-Hunters-Computer.local 8.8.0 Darwin Kernel Version 8.8.0:
Fri Sep  8 17:18:57 PDT 2006; root:xnu-792.12.6.obj~1/RELEASE_PPC Power
Macintosh powerpc
lib$ gcc --version
powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build
5247)
Copyright (C) 2005 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.
Posted by Faisal N Jawdat (Guest)
on 12.03.2007 23:42
(Received via mailing list)
On Mar 12, 2007, at 3:07 PM, Philip Hallstrom wrote:
>> On Mar 12, 2007, at 2:50 PM, Philip Hallstrom wrote:
>>> Darwin MacBookPro 8.8.2 Darwin Kernel Version 8.8.2: Thu Sep 28  
>>> 20:43:26 PDT 2006; root:xnu-792.14.14.obj~1/RELEASE_I386 i386 i386
>>
>> Leopard?
>
> No. Not unless they gave me a free upgrade and installed it without  
> me knowing about it :)

Interesting.  I have 8.8.0 on my PPC machine, and 8.8.1 on the Intel
machine.  The PPC machine has no end of problems with Ruby (mostly
with gems), though.

-faisal
Posted by Berger, Daniel (Guest)
on 12.03.2007 23:49
(Received via mailing list)
> I am pleased to announce that Ruby 1.8.6, the latest release 
> from the 1.8 stable branch, has finally been released.

From the NEWS file:

* New library: digest/bubblebabble

I wish you would have let me know you were going to do this. I already
have a version out there at
http://raa.ruby-lang.org/project/digest-babble/, which is a port of Ben
Trott's Perl module. Personally, I like my (well, Ben's) API better, and
writing this module in C seems like extreme overkill for something so
simple.

Anyway, I hope this doesn't cause confusion. I'll delete my project from
the RAA and hide it on RubyForge when I get home.

Regards,

Dan




This communication is the property of Qwest and may contain confidential 
or
privileged information. Unauthorized use of this communication is 
strictly
prohibited and may be unlawful.  If you have received this communication
in error, please immediately notify the sender by reply e-mail and 
destroy
all copies of the communication and any attachments.
Posted by Akinori MUSHA (Guest)
on 13.03.2007 02:49
(Received via mailing list)
At Tue, 13 Mar 2007 07:48:05 +0900,
Berger, Daniel wrote:
> From the NEWS file:
>
> * New library: digest/bubblebabble
>
> I wish you would have let me know you were going to do this. I already
> have a version out there at

Indeed I should have.  I'll keep it in mind for the future.

> http://raa.ruby-lang.org/project/digest-babble/, which is a port of Ben
> Trott's Perl module. Personally, I like my (well, Ben's) API better, and
> writing this module in C seems like extreme overkill for something so
> simple.

My implementation in C is just as simple as yours in Ruby, and the API
is a superset of Perl's, which simply provides a static function only.

My API is not complex at all.  It's fairly easy to use.  Here's an
example as follows:

  require 'digest/bubblebabble'

  # as a static function
  puts Digest.bubblebabble(Digest::SHA1.digest('BubbleBabble'))

  # like hexdigest()
  puts Digest::SHA1.bubblebabble('BubbleBabble')

  # like hexdigest() via the instance method
  hash = Digest::SHA1.new
  hash.update('BubbleBabble')
  puts hash.bubblebabble

Where you can use any hashing algorithms besides SHA1.

My intension is to implement a usable and extensible framework and
unified API for message digesting.

> Anyway, I hope this doesn't cause confusion. I'll delete my project from
> the RAA and hide it on RubyForge when I get home.

Sorry for the trouble.

--
                     /
                    /__  __            Akinori.org / MUSHA.org
                   / )  )  ) )  /     FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ /  ( (__(  @ iDaemons.org / and.or.jp

"Different eyes see different things,
    Different hearts beat on different strings --
       But there are times for you and me when all such things agree"
Posted by Urban Hafner (Guest)
on 13.03.2007 09:12
(Received via mailing list)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Mar 12, 2007, at 23:19 , Timothy Hunter wrote:

> powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc.  
> build 5247)
> Copyright (C) 2005 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.

IIRC gcc 4.0.1 does have it's problems. Maybe you can try compiling
with gcc 3. Just
do a "gcc_select 3.x" where 3.x is the version of gcc 3 installed on
your system.

Urban
- --
http://bettong.net


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFF9lylggNuVCIrEyURAr1HAJ0WEFfhFnA9YwCxxx8mo6z4DsSvTgCdEpoD
BuupXUG1fiiiW8zhViDB9Ns=
=V+EO
-----END PGP SIGNATURE-----
Posted by Caleb Tennis (Guest)
on 13.03.2007 12:00
(Received via mailing list)
> gcc -Wall -g -pipe -fno-common  -DRUBY_EXPORT  -L/opt/local/lib - 
> L.   main.o  -lruby-static -ldl -lobjc   -o ruby

The ruby you are building is linking against the ruby lib in /opt/
local/lib.  Can you try moving that out of the way first?
Posted by Timothy Hunter (Guest)
on 13.03.2007 12:35
(Received via mailing list)
Caleb Tennis wrote:
>
>> gcc -Wall -g -pipe -fno-common  -DRUBY_EXPORT  -L/opt/local/lib -L.   
>> main.o  -lruby-static -ldl -lobjc   -o ruby
>
> The ruby you are building is linking against the ruby lib in 
> /opt/local/lib.  Can you try moving that out of the way first?
>
That's the ticket! In fact this morning I had an email from Patrick
Georgi, who said:

    Anyway: it tries to link /opt/local/lib/libruby-static.a, which is
    very likely the old version.

    Either remove that file on build-time (it will be recreated when you
    install), or change the command line to
    gcc -Wall -g -pipe -fno-common  -DRUBY_EXPORT  -L/opt/local/lib -L.
    main.o  libruby-static.a -ldl -lobjc   -o ruby

    ie. change -lruby-static.a to libruby-static.a

    I had the same problem on Solaris.

I did as he recommended an now everything is working perfectly. Thanks,
Patrick and Caleb!
Posted by Hugh Sasse (Guest)
on 13.03.2007 12:58
(Received via mailing list)
On Tue, 13 Mar 2007, Akinori MUSHA wrote:

> Hello,
> 
> I am pleased to announce that Ruby 1.8.6, the latest release from the
> 1.8 stable branch, has finally been released.

I'm getting failures on 2 sun-sparc-solaris9 systems, despite the
earlier fixes:


gmake[1]: Leaving directory 
`/export/home/Scratch/hgs/ruby-1.8.6/ext/zlib'
making ruby
gmake[1]: Entering directory `/export/home/Scratch/hgs/ruby-1.8.6'
gcc -g -O2  -DRUBY_EXPORT   -Wl,-E -L.   main.o  -lruby-static -ldl 
-lcrypt -lm   -o ruby
gmake[1]: Leaving directory `/export/home/Scratch/hgs/ruby-1.8.6'
test succeeded
./miniruby  ./runruby.rb --extout=.ext -- "./test/runner.rb" 
--basedir="./test" --runner=console
./test/openssl/test_digest.rb:64: uninitialized constant 
OpenSSL::OPENSSL_VERSION_NUMBER (NameError)
        from 
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in 
`gem_original_require'
        from 
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in 
`require'
        from 
/export/home/Scratch/hgs/ruby-1.8.6/lib/test/unit/collector/dir.rb:90:in 
`collect_file'
        from 
/export/home/Scratch/hgs/ruby-1.8.6/lib/test/unit/collector/dir.rb:73:in 
`recursive_collect'
        from 
/export/home/Scratch/hgs/ruby-1.8.6/lib/test/unit/collector/dir.rb:58:in 
`each'
        from 
/export/home/Scratch/hgs/ruby-1.8.6/lib/test/unit/collector/dir.rb:58:in 
`recursive_collect'
        from 
/export/home/Scratch/hgs/ruby-1.8.6/lib/test/unit/collector/dir.rb:63:in 
`recursive_collect'
        from 
/export/home/Scratch/hgs/ruby-1.8.6/lib/test/unit/collector/dir.rb:58:in 
`each'
        from 
/export/home/Scratch/hgs/ruby-1.8.6/lib/test/unit/collector/dir.rb:58:in 
`recursive_collect'
        from 
/export/home/Scratch/hgs/ruby-1.8.6/lib/test/unit/collector/dir.rb:29:in 
`collect'
        from 
/export/home/Scratch/hgs/ruby-1.8.6/lib/test/unit/autorunner.rb:68
        from 
/export/home/Scratch/hgs/ruby-1.8.6/lib/test/unit/autorunner.rb:213:in 
`[]'
        from 
/export/home/Scratch/hgs/ruby-1.8.6/lib/test/unit/autorunner.rb:213:in 
`run'
        from 
/export/home/Scratch/hgs/ruby-1.8.6/lib/test/unit/autorunner.rb:12:in 
`run'
        from ./test/runner.rb:7
gmake: *** [test-all] Error 1
brains hgs 29 %>
brains hgs 29 %>


-------------------------------------------

gmake[1]: Leaving directory 
`/enterprise2/scratch/hgs/ruby-1.8.6/ext/zlib'
making ruby
gmake[1]: Entering directory `/enterprise2/scratch/hgs/ruby-1.8.6'
gcc -g -O2  -DRUBY_EXPORT   -Wl,-E -L.   main.o  -lruby-static -ldl 
-lcrypt -lm   -o ruby
gmake[1]: Leaving directory `/enterprise2/scratch/hgs/ruby-1.8.6'
test succeeded
./miniruby  ./runruby.rb --extout=.ext -- "./test/runner.rb" 
--basedir="./test" --runner=console
./test/openssl/test_digest.rb:64: uninitialized constant 
OpenSSL::OPENSSL_VERSION_NUMBER (NameError)
        from 
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in 
`gem_original_require'
        from 
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in 
`require'
        from 
/enterprise2/scratch/hgs/ruby-1.8.6/lib/test/unit/collector/dir.rb:90:in 
`collect_file'
        from 
/enterprise2/scratch/hgs/ruby-1.8.6/lib/test/unit/collector/dir.rb:73:in 
`recursive_collect'
        from 
/enterprise2/scratch/hgs/ruby-1.8.6/lib/test/unit/collector/dir.rb:58:in 
`each'
        from 
/enterprise2/scratch/hgs/ruby-1.8.6/lib/test/unit/collector/dir.rb:58:in 
`recursive_collect'
        from 
/enterprise2/scratch/hgs/ruby-1.8.6/lib/test/unit/collector/dir.rb:63:in 
`recursive_collect'
        from 
/enterprise2/scratch/hgs/ruby-1.8.6/lib/test/unit/collector/dir.rb:58:in 
`each'
        from 
/enterprise2/scratch/hgs/ruby-1.8.6/lib/test/unit/collector/dir.rb:58:in 
`recursive_collect'
        from 
/enterprise2/scratch/hgs/ruby-1.8.6/lib/test/unit/collector/dir.rb:29:in 
`collect'
        from 
/enterprise2/scratch/hgs/ruby-1.8.6/lib/test/unit/autorunner.rb:68
        from 
/enterprise2/scratch/hgs/ruby-1.8.6/lib/test/unit/autorunner.rb:213:in 
`[]'
        from 
/enterprise2/scratch/hgs/ruby-1.8.6/lib/test/unit/autorunner.rb:213:in 
`run'
        from 
/enterprise2/scratch/hgs/ruby-1.8.6/lib/test/unit/autorunner.rb:12:in 
`run'
        from ./test/runner.rb:7
gmake: *** [test-all] Error 1
neelix hgs 17 %>
neelix hgs 17 %>


Since I got the test succeeded message, I'm not so worried about this, 
because
this is just the extra test suite.  But it is a bit disconcerting.

What information can I supply that would help produce a fix?

        Hugh
Posted by unknown (Guest)
on 13.03.2007 13:26
(Received via mailing list)
Congratulations on the release!

I also had some minor problems while upgrading from 1.8.5 to 1.8.6 on
Mac OS X.

I made some notes here explaining the problems and how to work around
them:

http://wincent.com/knowledge-base/Building_and_installing_Ruby_1.8.6_on_Mac_OS_X_Tiger

As far as I know none of this is the result of bugs in Ruby itself;
rather it seems to be peculiarities of Mac OS X and of my own setup.
The key configure options required are:

--with-readline-dir=/usr/local --enable-pthread

And in my case I also had to take care of a bad RUBYLIB environment
variable that was getting set in my bash_profile.

Cheers,
Wincent