4
3
so I'm trying to install heroku and when I run it I get the following message:
/home/brian/.rvm/gems/ruby-1.9.2-p0@seniorproject/gems/rest-client-1.4.2/lib/restclient.rb:9:in `rescue in <top (required)>': no such file to load -- net/https. Try running apt-get install libopenssl-ruby (LoadError)
from /home/brian/.rvm/gems/ruby-1.9.2-p0@seniorproject/gems/rest-client-1.4.2/lib/restclient.rb:5:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from /home/brian/.rvm/gems/ruby-1.9.2-p0@seniorproject/gems/rest-client-1.4.2/lib/rest_client.rb:2:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from /home/brian/.rvm/gems/ruby-1.9.2-p0@seniorproject/gems/heroku-1.9.14/lib/heroku/client.rb:2:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from /home/brian/.rvm/gems/ruby-1.9.2-p0@seniorproject/gems/heroku-1.9.14/lib/heroku.rb:3:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from /home/brian/.rvm/gems/ruby-1.9.2-p0@seniorproject/gems/heroku-1.9.14/bin/heroku:6:in `<top (required)>'
from /home/brian/.rvm/gems/ruby-1.9.2-p0@seniorproject/bin/heroku:19:in `load'
from /home/brian/.rvm/gems/ruby-1.9.2-p0@seniorproject/bin/heroku:19:in `<main>'
I've installed the suggested library but it still doesn't work. Is this something I'm going to have to recompile ruby for? If so, what packages should I install beforehand?
What version of Ruby is working for you? – Brian Hicks – 2010-09-02T19:50:30.547
@Reactor I'm using Ruby 1.8.7 p249 ( the one which came with Ubuntu) + Rails 3. Although do note I'm just learning Rails. – Sathyajith Bhat – 2010-09-02T20:32:15.463
Same here, actually. Installing the openssl-dev package fixed it for me. Of course, the next requirement for heroku is libreadline5-dev. We'll see if I've got them all after this. – Brian Hicks – 2010-09-02T20:34:59.970
This worked. I ran the calls described here, and installed libreadline5-dev and it all worked. – Brian Hicks – 2010-09-02T20:59:50.013
@Reactor5 Good to hear. Marking this question as favourite for future reference for me! – Sathyajith Bhat – 2010-09-02T21:36:31.780