I have a fresh Ubuntu 12.04 VM, and I would like to install Ruby 2.0.0-p0. I am able to get Ruby installed easily enough, but I am unable to get gems to work.
$ 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
I have open SSL installed, so I'm not exactly sure what the problem is.
$ 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.
$ which openssl /usr/bin/openssl
If I go back to the installation, there are two lines that concern me.
$ sudo make install Failed to configure openssl. It will not be installed. Failed to configure readline. It will not be installed.