I can't compile it on Debian sid (using RVM):

compiling ossl_hmac.c
In file included from ../.././include/ruby.h:33:0,
from ossl.h:31,
from ossl_ssl.c:13:
ossl_ssl.c: In function °∆Init_ossl_ssl°«:
ossl_ssl.c:2217:65: error: °∆SSL_OP_MSIE_SSLV2_RSA_PADDING°« undeclared
(first use in this function)
#define ossl_ssl_def_const(x) rb_define_const(mSSL, #x, INT2NUM(SSL_##x))
^
../.././include/ruby/ruby.h:231:45: note: in definition of macro °∆INT2FIX°«
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
ossl_ssl.c:2217:57: note: in expansion of macro °∆INT2NUM°«
#define ossl_ssl_def_const(x) rb_define_const(mSSL, #x, INT2NUM(SSL_##x))
^
ossl_ssl.c:2232:5: note: in expansion of macro °∆ossl_ssl_def_const°«
ossl_ssl_def_const(OP_MSIE_SSLV2_RSA_PADDING);
^
ossl_ssl.c:2217:65: note: each undeclared identifier is reported only
once for each function it appears in
#define ossl_ssl_def_const(x) rb_define_const(mSSL, #x, INT2NUM(SSL_##x))
^
../.././include/ruby/ruby.h:231:45: note: in definition of macro °∆INT2FIX°«
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
ossl_ssl.c:2217:57: note: in expansion of macro °∆INT2NUM°«
#define ossl_ssl_def_const(x) rb_define_const(mSSL, #x, INT2NUM(SSL_##x))
^
ossl_ssl.c:2232:5: note: in expansion of macro °∆ossl_ssl_def_const°«
ossl_ssl_def_const(OP_MSIE_SSLV2_RSA_PADDING);
^

libssl version in sid is 1.0.1e-6.

Any ideas?

Thanks in advance,
Rodrigo.

Em 25-12-2013 14:27, NARUSE, Yui escreveu:
> Hi,
>
> We are pleased to announce the release of Ruby 2.1.0.
>
> Ruby 2.1 has many improvements including speed up without severe imcompatibilities.
>
> Try it!
>
> ## Download
>
> * [http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0.tar.bz2](http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0.tar.bz2)
>   * SIZE:   12007442 bytes
>   * MD5:    1546eeb763ac7754365664be763a1e8f
>   * SHA256: 1d3f4ad5f619ec15229206b6667586dcec7cc986672c8fbb8558161ecf07e277
> * [http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0.tar.gz](http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0.tar.gz)
>   * SIZE:   15076389 bytes
>   * MD5:    9e6386d53f5200a3e7069107405b93f7
>   * SHA256: 3538ec1f6af96ed9deb04e0965274528162726cc9ba3625dcf23648df872d09d
> * [http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0.zip](http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0.zip)
>   * SIZE:   16603067 bytes
>   * MD5:    2fc3a80b56da81b906a9bb6fc7ca8399
>   * SHA256: d40d7bfb39ca2e462dea61dcbbcf33426b60e6e553335c3afb39b4d827a6891c
>
> ## Changes since 2.0
>
> The notable changes are:
>
> * VM (method cache)
> * RGenGC (See ko1's [RubyKaigi presentation](http://rubykaigi.org/2013/talk/S73) and [RubyConf 2013 presentation](http://www.atdot.net/~ko1/activities/rubyconf2013-ko1_pub.pdf))
> * refinements [#8481](https://bugs.ruby-lang.org/issues/8481) [#8571](https://bugs.ruby-lang.org/issues/8571)
> * syntax changes
>   * Decimal/Complex Literal [#8430](https://bugs.ruby-lang.org/issues/8430)
>   * def's return value [#3753](https://bugs.ruby-lang.org/issues/3753)
> * Bignum
>   * use GMP [#8796](https://bugs.ruby-lang.org/issues/8796)
> * String#scrub [#8414](https://bugs.ruby-lang.org/issues/8414)
> * Socket.getifaddrs [#8368](https://bugs.ruby-lang.org/issues/8368)
> * RDoc 4.1.0 and RubyGems 2.2.0
> * "literal".freeze is now optimized [#9042](https://bugs.ruby-lang.org/issues/9042)
> * add Exception#cause [#8257](https://bugs.ruby-lang.org/issues/8257)
> * update libraries like BigDecimal, JSON, NKF, Rake, RubyGems, and RDoc
> * remove curses [#8584](https://bugs.ruby-lang.org/issues/8584)
>
> See more details of changes: [NEWS in Ruby repository](https://github.com/ruby/ruby/blob/v2_1_0/NEWS).
>