Eu tenho uma nova Ubuntu 12.04 VM e gostaria de instalar o Ruby 2.0.0-p0. Consigo instalar o Ruby com bastante facilidade, mas não consigo fazer com que as gemas funcionem.
$ gem install bundler
ERROR: Loading command: install (LoadError)
cannot load such file -- openssl
ERROR: While executing gem ... (NoMethodError)
undefined method `invoke_with_build_args' for nil:NilClass
Eu tenho o SSL aberto instalado, então não tenho muita certeza de qual é o problema.
$ sudo apt-get install libssl1.0.0 libssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libssl-dev is already the newest version.
libssl1.0.0 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Similarmente,
$ which openssl
/usr/bin/openssl
Se eu voltar à instalação, há duas linhas que me preocupam.
$ sudo make install
Failed to configure openssl. It will not be installed.
Failed to configure readline. It will not be installed.
Obrigado!