heroku/toolbelt — Issue #3: Ruby error on clean install on lucid32 vagrant box
Author: jesperfj
Created: 2012-02-21 16:58:35+00:00
State: open

Tried installing tool belt on a pristine vagrant lucid32 box. Installation succeeded with no errors. I copy/pasted from the sh script instead of piping it directly from wget and I had to go full "su -". Otherwise the first command wouldn't succeed.

After installation I get the following error. As you can see from this terminal output, installing libopenssl-ruby didn't help:

```

vagrant@lucid32:~$ heroku login
/usr/local/heroku/vendor/gems/rest-client-1.6.1/lib/restclient.rb:9:in `rescue in ': no such file to load -- net/https. Try running apt-get install libopenssl-ruby (LoadError)
from /usr/local/heroku/vendor/gems/rest-client-1.6.1/lib/restclient.rb:5:in `'
from /usr/local/heroku/vendor/gems/rest-client-1.6.1/lib/rest_client.rb:2:in `require'
from /usr/local/heroku/vendor/gems/rest-client-1.6.1/lib/rest_client.rb:2:in `'
from /usr/local/heroku/lib/heroku/client.rb:2:in `require'
from /usr/local/heroku/lib/heroku/client.rb:2:in `'
from /usr/local/heroku/lib/heroku.rb:3:in `require'
from /usr/local/heroku/lib/heroku.rb:3:in `'
from /usr/local/heroku/lib/heroku/cli.rb:1:in `require'
from /usr/local/heroku/lib/heroku/cli.rb:1:in `'
from /usr/bin/heroku:29:in `require'
from /usr/bin/heroku:29:in `

'
vagrant@lucid32:~$ sudo apt-get install libopenssl-ruby
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libopenssl-ruby1.8 libruby1.8
The following NEW packages will be installed:
libopenssl-ruby libopenssl-ruby1.8 libruby1.8
0 upgraded, 3 newly installed, 0 to remove and 53 not upgraded.
Need to get 1,580kB of archives.
After this operation, 6,648kB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://us.archive.ubuntu.com/ubuntu/ lucid/main libruby1.8 1.8.7.249-2 [1,452kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ lucid/main libopenssl-ruby1.8 1.8.7.249-2 [122kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ lucid/main libopenssl-ruby 4.2 [5,008B]
Fetched 1,580kB in 7s (222kB/s)
Selecting previously deselected package libruby1.8.
(Reading database ... 28576 files and directories currently installed.)
Unpacking libruby1.8 (from .../libruby1.8_1.8.7.249-2_i386.deb) ...
Selecting previously deselected package libopenssl-ruby1.8.
Unpacking libopenssl-ruby1.8 (from .../libopenssl-ruby1.8_1.8.7.249-2_i386.deb) ...
Selecting previously deselected package libopenssl-ruby.
Unpacking libopenssl-ruby (from .../libopenssl-ruby_4.2_all.deb) ...
Setting up libruby1.8 (1.8.7.249-2) ...

Setting up libopenssl-ruby1.8 (1.8.7.249-2) ...
Setting up libopenssl-ruby (4.2) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
vagrant@lucid32:~$ heroku login
/usr/local/heroku/vendor/gems/rest-client-1.6.1/lib/restclient.rb:9:in `rescue in ': no such file to load -- net/https. Try running apt-get install libopenssl-ruby (LoadError)
from /usr/local/heroku/vendor/gems/rest-client-1.6.1/lib/restclient.rb:5:in `'
from /usr/local/heroku/vendor/gems/rest-client-1.6.1/lib/rest_client.rb:2:in `require'
from /usr/local/heroku/vendor/gems/rest-client-1.6.1/lib/rest_client.rb:2:in `'
from /usr/local/heroku/lib/heroku/client.rb:2:in `require'
from /usr/local/heroku/lib/heroku/client.rb:2:in `'
from /usr/local/heroku/lib/heroku.rb:3:in `require'
from /usr/local/heroku/lib/heroku.rb:3:in `'
from /usr/local/heroku/lib/heroku/cli.rb:1:in `require'
from /usr/local/heroku/lib/heroku/cli.rb:1:in `'
from /usr/bin/heroku:29:in `require'
from /usr/bin/heroku:29:in `

'
vagrant@lucid32:~$
```