Blog

LISTAR TODOS OS POSTS - Assine os feeds dos posts e comentários

Presente de Natal: Ruby 1.9 !!!

Publicado/atualizado em 26/12/2007 10:44

Ruby logo
Hi,
We are happy to announce of the release of the 1.9.0 the development release. You can fetch it from:

ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.0-0.tar.bz2 407cc7d0032e19eb12216c0ebc7f17b3

ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.0-0.tar.gz b20cce98b284f7f75939c09d5c8e846d

ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.0-0.zip 78b2a5f9a81c5f6775002c4fb24d2d75

We hope this helps you to enjoy hacking. Happy Holidays.
matz.

Eba! Presentão de Natal! Ruby 1.9, conforme prometido pelo Matz! Divirtam-se!

Eu vou deixar baixando aqui mas só amanhã que vou compilar o bicho. Agora é hora de ir para o almoço de Natal. :-)

Atualizado: Agora que passou a comilança do Natal, dá para complementar o post, deixando claro um ponto muito importante: a 1.9.0-0 é uma versão oficial porém development, ou seja, muito cuidado para usá-la em produção! Aqui tem um ótimo post do Dave Thomas falando sobre isso. Para fazer a instalação da versão nova e ainda manter a 1.8.6, eu faço um pouco diferente do que foi recomendado por ele. Eu uso uma versão um pouco modificada do SlackBuild oficial do Slackware, alterando o --program-suffix:

./configure \
  --prefix=/usr \
  --program-suffix=1.9 \
  --mandir=/usr/man \
  --datadir=/usr/share \
  --enable-shared \
  --disable-static \
  --build=$ARCH-slackware-linux

Desse modo consigo os executáveis com 1.9 nos nomes, tais como:

rake1.9, rdoc1.9, ri1.9, ruby1.9, erb1.9, gem1.9, irb1.9, testrb1.9

Permalink: http://eustaquiorangel.com/posts/500

salvar no del.icio.ussalvar no diggsalvar no rec6 Veja o que estão dizendo sobre isso.

Comente

Linhas em branco viram saltos de linha. Se você quiser mostrar algum código, por favor use o pastebin e informe a URL.

*

*

Responda: Água mole em pedra dura tanto bate até que ...?  
Clique aqui se não souber essa resposta!

* campos obrigatórios

Comentários

1 - Dave Thomas disse em 26/12/2007 15:10

Good point. The advantage of --prefix, though, is that I can delete the whole thing with rm -rf. Using the program-suffix mixes it all up in my file system

Cheers

Dave


2 - TaQ disse em 26/12/2007 16:14

Hi Dave, thanks for your comment!

I have no problem with the program-suffix because at least the way I'm compiling here it keeps all the files on a 1.9 structure like:

usr/doc/ruby-1.9.0-0/

usr/include/ruby-1.9.0/

usr/lib/ruby/1.9.0

usr/share/ri/1.9.0

And when I need to remove it, as I named the package as "dev" when compiling, and just use

removepkg ruby-dev-1.9.0_0-i486-1

But this is how I'm doing on Slackware. Runs fine. :-)

Cheers!


Anterior Próximo Últimos Índice