# Net/https.rb not available on Ubuntu Server?

**URL:** <https://www.ruby-forum.com/t/net-https-rb-not-available-on-ubuntu-server/106469>\
**Category:** Ruby\
**Created:** [June 11, 2007, 12:29am UTC](https://www.ruby-forum.com/t/net-https-rb-not-available-on-ubuntu-server/106469 "2007-06-11T00:29:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [June 11, 2007, 12:29am UTC](https://www.ruby-forum.com/t/net-https-rb-not-available-on-ubuntu-server/106469/1 "2007-06-11T00:29:24Z")

</div>

I’m just starting with a simple require to net/https that fails:

xeno@joehill:~$ cat try02.rb  
#!/usr/bin/ruby

# 

# try02.rb

# 

require ‘net/https’

# 

# end of try02.rb

xeno@joehill:~$ ./try02.rb  
./try02.rb:5:in `require’: no such file to load – net/https (LoadError)  
from ./try02.rb:5

This is on a Ubuntu/Feisty Server, and I’m not seeing anything about  
net/https being deprecated on the net, so unless somebody tells me  
https.rb shouldn’t be there anymore, I’ll submit a bug to Ubuntu about  
it… Meanwhile, and sorry if I haven’t been following Ruby-Talk well  
enough to know this, but I’m open to suggestions as to the latest  
recommended package to use to get basic non-password protected https  
pages as simply as possible.

Thanks

– The only sustainable organizing methods focus not on scale, but on  
good design of the functional unit, not on winning battles, but on  
preservation.

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [June 11, 2007, 1:02am UTC](https://www.ruby-forum.com/t/net-https-rb-not-available-on-ubuntu-server/106469/2 "2007-06-11T01:02:26Z")

</div>

I am not particularly familiar with Ubuntu, but net/https seems to be  
included in their libopenssl-ruby1.8  
([Ubuntu – Error](http://packages.ubuntu.com/feisty/interpreters/libopenssl-ruby1.8))  
package.  
So check whether you have that installed.

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [June 11, 2007, 4:10am UTC](https://www.ruby-forum.com/t/net-https-rb-not-available-on-ubuntu-server/106469/3 "2007-06-11T04:10:40Z")

</div>

removed\_email\_address@domain.invalid:

> ./try02.rb:5:in `require’: no such file to load – net/https (LoadError)

I know that youâ€™ve already solved this one,  
but a nice generic solution for such cases is:

1. Go to [Ubuntu – Ubuntu Packages Search](http://packages.ubuntu.com/#search_contents)
2. Put â€˜net/https.rbâ€™ in the keyword field
3. [Search]

Youâ€™ll find out quickly which package(s) can solve your problem. 🙂

– Shot
