<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Slash Dot Dash: Problem with openssl with Ruby 1.8.6 on Ubuntu Fesity 7.04 </title>
    <link>http://www.slashdotdash.net/articles/2007/06/27/problem-with-openssl-with-ruby-1-8-6-on-ubuntu-fesity-7-04</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Rolling on Rails</description>
    <item>
      <title>Problem with openssl with Ruby 1.8.6 on Ubuntu Fesity 7.04 </title>
      <description>&lt;p&gt;Just fixed an issue with openssl not working correctly with Ruby 1.8.6 (installed from source) on Ubuntu Feisty (server).&lt;/p&gt;


&lt;pre&gt;
$ cat /etc/issue
Ubuntu 7.04
&lt;/pre&gt;

	&lt;p&gt;After deploying a new Rails application I restarted mongrel but all requests were returning errors (500); the &lt;code&gt;production.log&lt;/code&gt; indicated the following issue:&lt;/p&gt;


&lt;pre&gt;
no such file to load -- openssl
&lt;/pre&gt;

	&lt;p&gt;To rectify this I had to do the following.&lt;/p&gt;


&lt;pre&gt;
$ sudo apt-get install libopenssl-ruby
$ sudo apt-get install libssl0.9.8

$ cd ~/src/ruby-1.8.6/ext/openssl
$ ruby extconf.rb 
$ make
$ sudo make install
&lt;/pre&gt;

	&lt;p&gt;To test that openssl is working correctly use &lt;code&gt;irb&lt;/code&gt;:&lt;/p&gt;


&lt;pre&gt;
irb(main):001:0&amp;gt; require 'openssl'
=&amp;gt; true
&lt;/pre&gt;

	&lt;h4&gt;References&lt;/h4&gt;


	&lt;ul&gt;
	&lt;li&gt;http://linuxbrit.co.uk/rbot/ticket/69&lt;/li&gt;
	&lt;/ul&gt;


	&lt;ul&gt;
	&lt;li&gt;http://www.ruby-forum.com/topic/90083&lt;/li&gt;
	&lt;/ul&gt;</description>
      <pubDate>Wed, 27 Jun 2007 22:40:00 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:3b127782-933b-4c5f-a40b-b98f43630ecd</guid>
      <author>ben@slashdotdash.net (Ben)</author>
      <link>http://www.slashdotdash.net/articles/2007/06/27/problem-with-openssl-with-ruby-1-8-6-on-ubuntu-fesity-7-04</link>
      <category>Linux</category>
      <category>Ruby on Rails</category>
    </item>
    <item>
      <title>"Problem with openssl with Ruby 1.8.6 on Ubuntu Fesity 7.04 " by baldur</title>
      <description>&lt;p&gt;That saved me me some pain thanks.
I had to add one more thing though:&lt;/p&gt;


	&lt;p&gt;checking for openssl/ssl.h&amp;#8230; no
=== Checking for required stuff failed. ===
Makefile wasn&amp;#8217;t created. Fix the errors above.&lt;/p&gt;


	&lt;p&gt;it wasn&amp;#8217;t finding the right header files so I had to do 
sudo apt-get install libssl-dev see here 
&lt;a href="http://www.ruby-forum.com/topic/90083" rel="nofollow"&gt;http://www.ruby-forum.com/topic/90083&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Sun, 16 Sep 2007 21:28:31 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:97205d27-f922-4897-9bb5-209376a5ceda</guid>
      <link>http://www.slashdotdash.net/articles/2007/06/27/problem-with-openssl-with-ruby-1-8-6-on-ubuntu-fesity-7-04#comment-172</link>
    </item>
    <item>
      <title>"Problem with openssl with Ruby 1.8.6 on Ubuntu Fesity 7.04 " by john</title>
      <description>&lt;p&gt;yup&amp;#8230;good solution&amp;#8230;and I&amp;#8217;m a linux newbie and had no issues. Thanks.&lt;/p&gt;</description>
      <pubDate>Wed, 22 Aug 2007 13:01:04 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:e45e8be2-c452-41b1-9fea-972c01d7018a</guid>
      <link>http://www.slashdotdash.net/articles/2007/06/27/problem-with-openssl-with-ruby-1-8-6-on-ubuntu-fesity-7-04#comment-152</link>
    </item>
    <item>
      <title>"Problem with openssl with Ruby 1.8.6 on Ubuntu Fesity 7.04 " by todd</title>
      <description>&lt;p&gt;Great it worked for me too in 1.8.6!&lt;/p&gt;</description>
      <pubDate>Sun, 19 Aug 2007 08:35:52 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:eb96df64-f025-46a0-bcc9-91a065444d2f</guid>
      <link>http://www.slashdotdash.net/articles/2007/06/27/problem-with-openssl-with-ruby-1-8-6-on-ubuntu-fesity-7-04#comment-149</link>
    </item>
    <item>
      <title>"Problem with openssl with Ruby 1.8.6 on Ubuntu Fesity 7.04 " by ace</title>
      <description>&lt;p&gt;Great, that worked!&lt;/p&gt;


	&lt;p&gt;Ubuntu 6.06.1 LTS \n \l
ruby 1.8.5 (2006-12-04 patchlevel 2) [i686-linux]&lt;/p&gt;


	&lt;p&gt;thanks!&lt;/p&gt;</description>
      <pubDate>Fri, 17 Aug 2007 01:13:58 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:db964769-bad4-4e9c-8a7e-d29c09e4543c</guid>
      <link>http://www.slashdotdash.net/articles/2007/06/27/problem-with-openssl-with-ruby-1-8-6-on-ubuntu-fesity-7-04#comment-148</link>
    </item>
  </channel>
</rss>
