# Having trouble installing rails - SSL issues

**URL:** <https://www.ruby-forum.com/t/having-trouble-installing-rails-ssl-issues/120966>\
**Category:** Rails\
**Created:** [November 22, 2007, 8:29am UTC](https://www.ruby-forum.com/t/having-trouble-installing-rails-ssl-issues/120966 "2007-11-22T08:29:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![smc7000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Post date:** [November 22, 2007, 8:29am UTC](https://www.ruby-forum.com/t/having-trouble-installing-rails-ssl-issues/120966/1 "2007-11-22T08:29:02Z")

</div>

I’m trying to install rails on a Debian Etch box. When I run gem install  
rails --include-dependencies, however, I get this:

ERROR: While executing gem … (Gem::Exception)  
SSL is not installed on this system

The problem is, OpenSSL IS installed on my system. I even tried to  
reinstall it to make sure, but everything was at its newest version. I  
read in another thread that gem shouldn’t need this anyway, unless I  
request strict security when I start the installation.

Anybody know what’s up?

Cheers

---

<div class="post-metadata">

**Author:** ![smc7000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Post date:** [November 22, 2007, 9:47am UTC](https://www.ruby-forum.com/t/having-trouble-installing-rails-ssl-issues/120966/2 "2007-11-22T09:47:00Z")

</div>

On 11/22/07, Sean C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> request strict security when I start the installation.
> 
> Anybody know what’s up?

Do you also have the libssl-dev package installed?

I recon the library provides a lot of ‘crypto related’ algorithms  
beyond just SSL connections, e.g. message digests and whatnot, which  
have a lot of uses.

Isak

---

<div class="post-metadata">

**Author:** ![smc7000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Post date:** [November 25, 2007, 2:02am UTC](https://www.ruby-forum.com/t/having-trouble-installing-rails-ssl-issues/120966/3 "2007-11-25T02:02:25Z")

</div>

Sean C. wrote:

> I’m trying to install rails on a Debian Etch box. When I run gem install  
> rails --include-dependencies, however, I get this:
> 
> ERROR: While executing gem … (Gem::Exception)  
> SSL is not installed on this system
> 
> The problem is, OpenSSL IS installed on my system. I even tried to  
> reinstall it to make sure, but everything was at its newest version. I  
> read in another thread that gem shouldn’t need this anyway, unless I  
> request strict security when I start the installation.
> 
> Anybody know what’s up?
> 
> Cheers

You must install libopenssl-ruby  
(I had the same problem installing on Debian distri apt-get install  
libopenssl-ruby )

---

<div class="post-metadata">

**Author:** ![smc7000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Post date:** [December 17, 2007, 2:18pm UTC](https://www.ruby-forum.com/t/having-trouble-installing-rails-ssl-issues/120966/4 "2007-12-17T14:18:50Z")

</div>

I’m running into this same issue on a SUSE 10.1 box. In looking  
around, it appears that libopenssl-ruby is a debian-only package, but  
I’m kinda new to linux so I’m probably missing something.

Any help is much appreciated.

Current Progress:  
Installed Ruby  
Installed RubyGem  
installed openssl

The output of ‘sudo gem install rails --include-dependencies’ or ‘sudo  
gem install rails -y’ is:

Bulk updating Gem source index for: [http://gems.rubyforge.org](http://gems.rubyforge.org)  
ERROR: While executing gem … (Gem::Exception)  
SSL is not installed on this system

Thanks,  
Smitty

On Nov 25, 8:29 pm, Sean C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![smc7000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Post date:** [November 26, 2007, 2:29am UTC](https://www.ruby-forum.com/t/having-trouble-installing-rails-ssl-issues/120966/5 "2007-11-26T02:29:01Z")

</div>

You guys are great. libopenssl fixed it right up. Thanks.

---

<div class="post-metadata">

**Author:** ![smc7000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Post date:** [December 17, 2007, 5:06pm UTC](https://www.ruby-forum.com/t/having-trouble-installing-rails-ssl-issues/120966/6 "2007-12-17T17:06:55Z")

</div>

After a little further investigation I figured out that I needed to  
install libopenssl-dev (or devel). After installing that, then going  
into the ruby source /ext/oppenssl and running:

ruby extconf.rb  
make  
make install

I was able then to run:

sudo gem install rails --include-dependencies

It seems to have installed successfully:

> rails -v  
> Rails 2.0.1

Thanks anyway…
