<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>E X P R E S S I C A</title>
	<atom:link href="http://expressica.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://expressica.com</link>
	<description>no nonsense!... only technicalities &#38; business!</description>
	<pubDate>Sat, 14 Jun 2008 14:36:24 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Ubuntu Hardy Heron: A great synch with whats in demand</title>
		<link>http://expressica.com/2008/06/03/ubuntu-hardy-heron-a-great-synch-with-whats-in-demand/</link>
		<comments>http://expressica.com/2008/06/03/ubuntu-hardy-heron-a-great-synch-with-whats-in-demand/#comments</comments>
		<pubDate>Wed, 04 Jun 2008 05:47:41 +0000</pubDate>
		<dc:creator>Sur</dc:creator>
		
		<category><![CDATA[hard_heron]]></category>

		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://expressica.com/?p=65</guid>
		<description><![CDATA[I upgraded the dist to Hardy Heron, the Ubuntu 8.04. And my experience with it so far has been very satisfactory.
Its much more stable now. I found various stuff already bundled which previously I had to explicitly install. For me the good things bundled&#8230;
Firefox 3
Hardy provides Firefox 3(beta) by default, comparatively its a super fast [...]]]></description>
			<content:encoded><![CDATA[<p>I upgraded the dist to Hardy Heron, the Ubuntu 8.04. And my experience with it so far has been very satisfactory.<br />
Its much more stable now. I found various stuff already bundled which previously I had to explicitly install. For me the good things bundled&#8230;</p>
<h4>Firefox 3</h4>
<p>Hardy provides Firefox 3(beta) by default, comparatively its a super fast browser now. I am desperately waiting for Firfox 3 final release. Once I was a bit upset to see that the Firbug is no more compatible with Firefox3 but then I found <a href="http://getfirebug.com/releases/firebug/1.2/firebug-1.2.0b2.xpi">Firebug&#8217;s release 1.2</a> which works fine with Firefox3. Till yet have not found any problem and both are working fine. Firefox3 is certainly quite faster.</p>
<h4>Ruby 1.8.6</h4>
<p>Provides Ruby 1.8.6 (patchlevel 111). Good!<br />
The libmagick is also available but still the RMagick needs to be installed the way <a href="http://expressica.com/2007/07/04/how-to-install-rmagick-gem-on-linuxubuntu/">I posted here</a>.</p>
<h4>Pidgin</h4>
<p>A one stop shop for almost all the messenger services like gtalk, aim, yahoo, irc and many more. In previous dist I had to install gaim.</p>
<p>This new ubuntu is operating quite faster and I am enjoying it a lot.</p>
]]></content:encoded>
			<wfw:commentRss>http://expressica.com/2008/06/03/ubuntu-hardy-heron-a-great-synch-with-whats-in-demand/feed/</wfw:commentRss>
		</item>
		<item>
		<title>RubyOnRails Plugin: Auto Tags</title>
		<link>http://expressica.com/2008/04/29/rubyonrails-plugin-auto-tags/</link>
		<comments>http://expressica.com/2008/04/29/rubyonrails-plugin-auto-tags/#comments</comments>
		<pubDate>Wed, 30 Apr 2008 06:52:30 +0000</pubDate>
		<dc:creator>sur</dc:creator>
		
		<category><![CDATA[auto_tags]]></category>

		<category><![CDATA[networking]]></category>

		<category><![CDATA[open_source]]></category>

		<category><![CDATA[plugin]]></category>

		<category><![CDATA[rubyonrails]]></category>

		<guid isPermaLink="false">http://expressica.com/2008/04/29/rubyonrails-plugin-auto-tags/</guid>
		<description><![CDATA[Announcing the release of this tiny useful plugin AutoTags.
A couple of weeks ago I travelled to Mumbai in train which was a long 17hrs journey&#8230; and I utilized that by coding down the idea while travelling. So here it comes&#8230;
AutoTags, an open source project, is a plugin for RubyOnRails applications to automatically generate the relevant [...]]]></description>
			<content:encoded><![CDATA[<p>Announcing the release of this tiny useful plugin <a href="http://expressica.com/auto_tags">AutoTags</a>.<br />
A couple of weeks ago I travelled to Mumbai in train which was a long 17hrs journey&#8230; and I utilized that by coding down the idea while travelling. So here it comes&#8230;</p>
<p><a href="http://expressica.com/auto_tags">AutoTags</a>, an open source project, is a plugin for RubyOnRails applications to automatically generate the relevant tags for the provided content. Its quite simple to use and provide easy integration with ActiveRecord. The plugin is very useful for social applications, community websites and all those networking applications where there is a scope of user generate content to be tagged. No more heck for the admin to sit and add the tags to the content or waiting for the users to add the tags to their content.</p>
<p>For installation and usage read <a href="http://expressica.com/auto_tags">here</a>.</p>
<p>If you liked the plugin then please <a href="http://www.workingwithrails.com/recommendation/new/person/7756-sur-max">recommend me</a> on workingwithrails.</p>
]]></content:encoded>
			<wfw:commentRss>http://expressica.com/2008/04/29/rubyonrails-plugin-auto-tags/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New in Ruby 1.9: Threads</title>
		<link>http://expressica.com/2008/04/26/new-in-ruby-19-threads/</link>
		<comments>http://expressica.com/2008/04/26/new-in-ruby-19-threads/#comments</comments>
		<pubDate>Sat, 26 Apr 2008 20:54:21 +0000</pubDate>
		<dc:creator>sur</dc:creator>
		
		<category><![CDATA[ruby]]></category>

		<category><![CDATA[ruby1.9]]></category>

		<category><![CDATA[threads]]></category>

		<guid isPermaLink="false">http://expressica.com/2008/04/26/new-in-ruby-19-threads/</guid>
		<description><![CDATA[The ruby is getting changed and improved a lot with every release. No doubt the existing demerits of rails are soon going to be history.
Currently for my rails applications I am running Ruby1.8&#8230; and exploring 1.9 to get ready as we are heading with nice speed in the rails developments. Modrails has already started making [...]]]></description>
			<content:encoded><![CDATA[<p>The ruby is getting changed and improved a lot with every release. No doubt the existing demerits of rails are <a href="http://www.fromdelhi.com/2008/04/26/ride-the-rails-still-skeptical/">soon going to be history</a>.</p>
<p>Currently for my rails applications I am running Ruby1.8&#8230; and exploring 1.9 to get ready as we are heading with nice speed in the rails developments. Modrails has already started making waves all around.<br />
Soon I would be publishing a couple of posts on threads, processes and sockets in ruby&#8230; here is a bit on how they are going to be different in Ruby1.9.</p>
<p>In Ruby1.9 the threads implementation is going to be really different than what we all know/do in Ruby1.8. The Ruby1.8 uses a single native thread and runs all Ruby threads within that&#8230; which certainly protects the Ruby threads to take on much responsibilities and to  completely leverage the hardware with multiple processors.</p>
<p>Now, the good news, <b>the Ruby1.9 allocates a separate native thread for every Ruby thread</b>. But at this very moment it is not fully functional&#8230; as because of some C libraries, used here, are not thread-safe that it will not allow Ruby1.9 to take control on multiple native threads. Still, great signs of improvements in these directions&#8230; It has been mentioned that this restriction will be removed in the upcoming versions of Ruby1.9 and there will be full fledged implementation of multithreading in Ruby with multiple native threads, and the charm of parallel execution&#8230; means a lot more scope of improvements for all related libraries, frameworks built on the top of Ruby.</p>
]]></content:encoded>
			<wfw:commentRss>http://expressica.com/2008/04/26/new-in-ruby-19-threads/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Avoiding the Distractions</title>
		<link>http://expressica.com/2008/04/21/avoiding-the-distractions/</link>
		<comments>http://expressica.com/2008/04/21/avoiding-the-distractions/#comments</comments>
		<pubDate>Tue, 22 Apr 2008 03:59:44 +0000</pubDate>
		<dc:creator>sur</dc:creator>
		
		<category><![CDATA[distractions]]></category>

		<guid isPermaLink="false">http://expressica.com/2008/04/21/avoiding-the-distractions/</guid>
		<description><![CDATA[I was reading something about how to avoid the distractions and the article exemplified it using a scene from the Indian mythology &#8216;Mahabharata&#8217; where the Guru Dronacharya asked all the students to aim at the bird&#8217;s eye sitting at a branch of the tree, then he asked what you can see&#8230; most students replied they [...]]]></description>
			<content:encoded><![CDATA[<p>I was reading something about how to avoid the distractions and the article exemplified it using a scene from the Indian mythology &#8216;Mahabharata&#8217; where the Guru Dronacharya asked all the students to aim at the bird&#8217;s eye sitting at a branch of the tree, then he asked what you can see&#8230; most students replied they can clearly see the branch, tree and the bird&#8230; only Arjuna said he can only see the bird&#8217;s eye&#8230;  At that very young age he had learned the willingness of how to avoid the distractions which are joyful to you.</p>
<p>Here in this post I admit that gaming, especially playing &#8216;Tekken3&#8242; is one of the biggest distraction for me. As whenever I spend continuous hours on work, I get the time out and start playing &#8216;Tekken3&#8242; which surely very much joyful. But, actually I know I make reason to myself to play that game and not actually to take some time off to have rest. Playing game certainly gives some enjoyment but not exactly the rest, I still be in the same position on my desk, sitting on my chair, and playing the game instead of doing the work&#8230; so its almost that I am doing work and not giving rest to my body. So, basically I was not willing enough to say that the game is a distraction for me&#8230; instead I kept on saying that I am playing it to take a time out of the work, But its for sure a wastage of time. And now I am sure enough to say its purely a wastage of time as I have made a resolution to say NO TO GAMES. I am in my 20s and need to conquer many of my dreams and need to work really hard to do so&#8230; which will certainly require killing of all these distractions in my life. And I&#8217;ve started very well by signing off from games&#8230; Though its true that I have a dream to run a Gaming company&#8230; and if I would be able to do so&#8230; the Gaming will also be my work <img src='http://expressica.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
So, to take time out from my work I would rather now read my newspaper and I can now allocate the time I used to spend in reading newspaper back to work. Reading newspaper is a required task to be accomplished and would not be a reason to take a forced time out from the work&#8230; moreover I can relax while reading newspaper that I couldn&#8217;t do while gaming. I must say I have dumped a biggest distraction of mine.</p>
]]></content:encoded>
			<wfw:commentRss>http://expressica.com/2008/04/21/avoiding-the-distractions/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Acts as solr: Logical Search</title>
		<link>http://expressica.com/2008/04/15/acts-as-solr-logical-search/</link>
		<comments>http://expressica.com/2008/04/15/acts-as-solr-logical-search/#comments</comments>
		<pubDate>Tue, 15 Apr 2008 08:37:00 +0000</pubDate>
		<dc:creator>sur</dc:creator>
		
		<category><![CDATA[acts_as_solr]]></category>

		<category><![CDATA[logical_search]]></category>

		<guid isPermaLink="false">http://expressica.com/2008/04/15/acts-as-solr-logical-search/</guid>
		<description><![CDATA[There are a couple of ways described in acts_as_solr documentation for the logical search, with AND or OR operations. But I needed to dig a bit into the code as the documentation is not complete and doesn&#8217;t suggest all the possible implementations of making the complex Logic Gates for searching.
Here I am consolidating various possibilities [...]]]></description>
			<content:encoded><![CDATA[<p>There are a couple of ways described in acts_as_solr documentation for the logical search, with AND or OR operations. But I needed to dig a bit into the code as the documentation is not complete and doesn&#8217;t suggest all the possible implementations of making the complex Logic Gates for searching.<br />
Here I am consolidating various possibilities of Logical Search&#8230;</p>
<p>Find all blogs with category ruby or rails</p>
<pre name="code" class="ruby">

  Blog.find_by_solr("category:rails category:ruby", :operator => :or)
</pre>
<p>another way</p>
<pre name="code" class="ruby">

  Blog.find_by_solr("category:rails OR category:ruby")
</pre>
<p>Find all blogs with categories ruby and rails</p>
<pre name="code" class="ruby">
  Blog.find_by_solr("category:rails category:ruby", :operator => :and)
</pre>
<p>another way</p>
<pre name="code" class="ruby">
  Blog.find_by_solr("category:rails AND category:ruby")
</pre>
<p>Grouping for more precision</p>
<p>NOTE: mind the grouping using parenthesis, you might get unexpected results without proper grouping.</p>
<p>Find all blogs with categories ruby or rails with author Sur</p>
<pre name="code" class="ruby">
  Blog.find_by_solr("(category:rails OR category:ruby) author:sur")
</pre>
<p>Find all blogs with categories ruby AND rails with author Sur</p>
<pre name="code" class="ruby">
  Blog.find_by_solr("(category:rails AND category:ruby) author:sur")
</pre>
<p>Find all blogs with categories ruby or rails with author Sur or David</p>
<pre name="code" class="ruby">
  Blog.find_by_solr("(category:rails OR category:ruby) (author:sur OR author:David)")
</pre>
<p>Find all blogs with categories ruby and rails with author Sur or David</p>
<pre name="code" class="ruby">
  Blog.find_by_solr("(category:rails AND category:ruby) (author:sur OR author:David)")
</pre>
]]></content:encoded>
			<wfw:commentRss>http://expressica.com/2008/04/15/acts-as-solr-logical-search/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Mongrel to THIN</title>
		<link>http://expressica.com/2008/04/14/mongrel-to-thin/</link>
		<comments>http://expressica.com/2008/04/14/mongrel-to-thin/#comments</comments>
		<pubDate>Tue, 15 Apr 2008 04:30:30 +0000</pubDate>
		<dc:creator>sur</dc:creator>
		
		<category><![CDATA[mongrel]]></category>

		<category><![CDATA[thin]]></category>

		<guid isPermaLink="false">http://expressica.com/2008/04/14/mongrel-to-thin/</guid>
		<description><![CDATA[For Rails applications I am using THIN on my local machine since a couple of weeks and found it better than Mongrel. I&#8217;ve started replacing mongrel with THIN on servers as well. THIN leverages the best of the available resources&#8230; It uses mongrel&#8217;s parser along with the Eventmachine and the Rack Ruby libraries which together [...]]]></description>
			<content:encoded><![CDATA[<p>For Rails applications I am using <a href="http://code.macournoyer.com/thin/">THIN</a> on my local machine since a couple of weeks and found it better than Mongrel. I&#8217;ve started replacing mongrel with THIN on servers as well. THIN leverages the best of the available resources&#8230; It uses mongrel&#8217;s parser along with the Eventmachine and the Rack Ruby libraries which together provide better speed, greater requests/sec and certainly consumes lesser memory.</p>
<p>Install THIN by issuing</p>
<pre name="code" class="ruby">
  sudo gem install thin
</pre>
<p>THIN accepts more or less similar switches as that of mongrel. You start THIN by issuing</p>
<pre name="code" class="ruby">
  thin start -p 9090 -d -e production
</pre>
<p>-p &#8212; port, defaults to 3000<br />
-e &#8212; environment, defaults to development<br />
-d &#8212; daemonize mode</p>
<p>THIN provides an in built support for clustering and running multiple servers for the same applications. You can start say 3 servers for the single application by providing the -s switch as&#8230;</p>
<pre name="code" class="ruby">
  thin start -p 9090 -d -e production -s 3
</pre>
<p>And similar to mongrel it will start three servers on the ports 9090, 9091 and 9092.</p>
]]></content:encoded>
			<wfw:commentRss>http://expressica.com/2008/04/14/mongrel-to-thin/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Design-o-Logics: Today&#8217;s market is the market of Design</title>
		<link>http://expressica.com/2008/03/24/design-o-logics-todays-market-is-the-market-of-design/</link>
		<comments>http://expressica.com/2008/03/24/design-o-logics-todays-market-is-the-market-of-design/#comments</comments>
		<pubDate>Tue, 25 Mar 2008 05:10:00 +0000</pubDate>
		<dc:creator>sur</dc:creator>
		
		<category><![CDATA[design]]></category>

		<guid isPermaLink="false">http://expressica.com/2008/03/24/design-o-logics-todays-market-is-the-market-of-design/</guid>
		<description><![CDATA[Today&#8217;s market is the market of the Design but the technology. Not only related to the web applications but in a very generic sense. The greatly designed application basecamp turned Rails into a favorite framework of numerous programmers all over the globe. But the non-tech end users who are using basecamp don&#8217;t even think on [...]]]></description>
			<content:encoded><![CDATA[<p>Today&#8217;s market is the market of the Design but the technology. Not only related to the web applications but in a very generic sense. The greatly designed application basecamp turned Rails into a favorite framework of numerous programmers all over the globe. But the non-tech end users who are using basecamp don&#8217;t even think on which tech it has been built. Its all design and usability that matters. If you are in product business, the technology matters when it comes to scalability. A lots of frameworks offers good scalability&#8230; Rails applications are now even much more scalable. The great thing, which certainly adds up much a +ve biasing to select Rails as a framework of choice is the boost it adds to the development speed for a product business. But, for a services and consultancy most people opt for whats in demand in the market. I really like working on rails, naturally in consultancy it gives good business and in product it adds up a speed which second to none.<br />
But the only thing which is mandatory to be on top with any tech you select for your product is the design and the vice-versa doesn&#8217;t stand here.</p>
<h4>Great words from great design enginners&#8230;</h4>
<blockquote><p>
 With the market being ultra-competitive and high on style, it is not enough to just have a good product &#8212; it has to score good on looks too.
</p></blockquote>
<blockquote><p>
Design gives the consumer an experience and not just a product, which, in turn, leads to a loyal customer base. This is one area where investments are small when compared to the benefits a company can get out of it.
</p></blockquote>
<blockquote><p>
It takes time fort a startup to realize the worth of design. A startup is also, more often than not, cash strapped and thus does not have funds to invest in designing, which is an area that requires huge investments.
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://expressica.com/2008/03/24/design-o-logics-todays-market-is-the-market-of-design/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Nginx: Set up error pages</title>
		<link>http://expressica.com/2008/03/22/nginx-set-up-error-pages/</link>
		<comments>http://expressica.com/2008/03/22/nginx-set-up-error-pages/#comments</comments>
		<pubDate>Sun, 23 Mar 2008 04:10:48 +0000</pubDate>
		<dc:creator>sur</dc:creator>
		
		<category><![CDATA[nginx]]></category>

		<guid isPermaLink="false">http://expressica.com/2008/03/22/nginx-set-up-error-pages/</guid>
		<description><![CDATA[Setting up custom error pages are needed whenever the app goes in maintenance or when the code gets crashed  &#8230; In Nginx, its fairly simple but once when you know it.
Say your app example.com is residing in /var/www/apps/example
Nginx configurations
say your existing configuration looks like&#8230;

  server{
      listen 80;
  [...]]]></description>
			<content:encoded><![CDATA[<p>Setting up custom error pages are needed whenever the app goes in maintenance or when the code gets crashed <img src='http://expressica.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> &#8230; In Nginx, its fairly simple but once when you know it.</p>
<p>Say your app example.com is residing in /var/www/apps/example</p>
<h4>Nginx configurations</h4>
<p><b>say your existing configuration looks like&#8230;</b></p>
<pre name="code" class="ruby">
  server{
      listen 80;
      server_name .example.com;
      location / {
           proxy_set_header  X-Forwarded-For $proxy_add_x_forwarded_for;
           proxy_set_header Host $http_host;
           proxy_redirect false;
           proxy_pass http://127.0.0.1:9002;
      }
  }
</pre>
<p><b>add the error page configurations</b></p>
<pre name="code" class="ruby">
  server{
      listen 80;
      server_name .example.com;
      location / {
           proxy_set_header  X-Forwarded-For $proxy_add_x_forwarded_for;
           proxy_set_header Host $http_host;
           proxy_redirect false;
           proxy_pass http://127.0.0.1:9002;
      }
      error_page 500 502 503 504  /500.html;
      location = /500.html {
          root  /var/www/maintenance/example;
      }
  }
</pre>
<p>Create the required html error page at /var/www/maintenance/example/500.html.<br />
Now, restart the nginx to reload the configurations by issuing /etc/init.d/nginx restart.<br />
And you are done!</p>
]]></content:encoded>
			<wfw:commentRss>http://expressica.com/2008/03/22/nginx-set-up-error-pages/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New in Ruby 1.9: Block Scoping</title>
		<link>http://expressica.com/2008/03/16/ruby-19-block-scoping/</link>
		<comments>http://expressica.com/2008/03/16/ruby-19-block-scoping/#comments</comments>
		<pubDate>Sun, 16 Mar 2008 17:29:29 +0000</pubDate>
		<dc:creator>sur</dc:creator>
		
		<category><![CDATA[ruby]]></category>

		<category><![CDATA[ruby1.9]]></category>

		<guid isPermaLink="false">http://expressica.com/2008/03/16/ruby-19-block-scoping/</guid>
		<description><![CDATA[Ruby 1.9 provides the block scoping of the local variables. It shadows the outside local variable in the block and allocates a new object_id in the memory to the block variable, which essentially means much more flexibility in using the lambdas without worrying about the name of the block variable. Remember that instance, class and [...]]]></description>
			<content:encoded><![CDATA[<p>Ruby 1.9 provides the block scoping of the local variables. It shadows the outside local variable in the block and allocates a new object_id in the memory to the block variable, which essentially means much more flexibility in using the lambdas without worrying about the name of the block variable. Remember that instance, class and global variables are still the same and can be used outside and inside the block as usual.</p>
<p>ruby <= 1.8</p>
<pre name="code" class="ruby">
a = 9
p a # => 9
[1, 2, 3].each{|a|}
p a # => 3
</pre>
<p>ruby 1.9 (shadows the local variable a)</p>
<pre name="code" class="ruby">
a = 9
p a # => 9
[1, 2, 3].each{|a|}
p a # => 9
</pre>
]]></content:encoded>
			<wfw:commentRss>http://expressica.com/2008/03/16/ruby-19-block-scoping/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ruby interface for OpenSSL</title>
		<link>http://expressica.com/2008/03/04/ruby-interface-for-openssl/</link>
		<comments>http://expressica.com/2008/03/04/ruby-interface-for-openssl/#comments</comments>
		<pubDate>Wed, 05 Mar 2008 00:57:20 +0000</pubDate>
		<dc:creator>sur</dc:creator>
		
		<category><![CDATA[openssl]]></category>

		<category><![CDATA[ruby]]></category>

		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://expressica.com/2008/03/04/ruby-interface-for-openssl/</guid>
		<description><![CDATA[If you have installed ruby using apt-get or if you have not mentioned the configuration option for openssl while installing from source, you can expect openssl will not work with ruby.
Here is the solution for the same&#8230;
Step 1
Install gcc and make(if you don&#8217;t have already on your box)

  sudo apt-get install gcc make

Step 2
Install [...]]]></description>
			<content:encoded><![CDATA[<p>If you have installed ruby using apt-get or if you have not mentioned the configuration option for openssl while installing from source, you can expect openssl will not work with ruby.</p>
<p>Here is the solution for the same&#8230;</p>
<h4>Step 1</h4>
<p>Install gcc and make(if you don&#8217;t have already on your box)</p>
<pre name="code" class="ruby">
  sudo apt-get install gcc make
</pre>
<h4>Step 2</h4>
<p>Install the system level OpenSSL and dev libraries</p>
<pre name="code" class="ruby">
  sudo apt-get install openssl libssl-dev
</pre>
<h4>Step 3</h4>
<p>Install the ruby&#8217;s openssl interface to the system&#8217;s openssl</p>
<p>switch the directory to the ruby&#8217;s source code&#8217;s openssl</p>
<pre name="code" class="ruby">
  cd /usr/local/src/ruby1.8.6/ext/openssl
</pre>
<p>install the ruby&#8217;s openssl interface</p>
<pre name="code" class="ruby">
  sudo ruby extconf.rb
  make
  make install
</pre>
<p>try requiring the openssl in irb</p>
<pre name="code" class="ruby">
  require 'openssl'
</pre>
<p>if returns true, installed successfully!</p>
]]></content:encoded>
			<wfw:commentRss>http://expressica.com/2008/03/04/ruby-interface-for-openssl/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
