<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>My Own Percept&#187; how-to</title>
	<atom:link href="http://myownpercept.com/category/how-to/feed/" rel="self" type="application/rss+xml" />
	<link>http://myownpercept.com</link>
	<description>&#34;Only in quiet waters things mirror themselves undistorted. Only in a quiet mind is adequate perception of the world.&#34;~Hans Margolius</description>
	<lastBuildDate>Fri, 30 Mar 2012 16:42:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>`gem_original_require&#8217;: no such file to load &#8212; zlib (LoadError)</title>
		<link>http://myownpercept.com/2012/01/gem_original_require-no-such-file-to-load-zlib-loaderror/</link>
		<comments>http://myownpercept.com/2012/01/gem_original_require-no-such-file-to-load-zlib-loaderror/#comments</comments>
		<pubDate>Sat, 28 Jan 2012 20:21:30 +0000</pubDate>
		<dc:creator>Marouan OMEZZINE</dc:creator>
				<category><![CDATA[how-to]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[zlib]]></category>

		<guid isPermaLink="false">http://www.myownpercept.com/?p=288</guid>
		<description><![CDATA[<p>You may have faced a such a error, when trying to execute gem list : To solve this issue, move to the zlib/ folder, it should be something like this /usr/src/ruby-1.8.6-pXXX/ext/zlib/ execute the extconf.rb : If every things are ok, you should see: compile and deploy zlib by runnning both commands: Make sure gem command [...]</p>
 ]]></description>
			<content:encoded><![CDATA[<p>You may have faced a such a error, when trying to execute <em>gem list</em> :</p>
<p></p><pre class="crayon-plain-tag">//lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in &lt;code&gt;gem_original_require': no such file to load -- zlib (LoadError)
	from //lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in &lt;/code&gt;require'
	from //lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:1
	from //lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in &lt;code&gt;gem_original_require'
	from //lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in &lt;/code&gt;require'
	from //lib/ruby/site_ruby/1.8/rubygems/commands/query_command.rb:3
	from //lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in &lt;code&gt;gem_original_require'
	from //lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in &lt;/code&gt;require'
	from //lib/ruby/site_ruby/1.8/rubygems/commands/list_command.rb:2
	from //lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in &lt;code&gt;gem_original_require'
	from //lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in &lt;/code&gt;require'
	from //lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:167:in &lt;code&gt;load_and_instantiate'
	from //lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:88:in &lt;/code&gt;[]'
	from //lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:144:in &lt;code&gt;find_command'
	from //lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:131:in &lt;/code&gt;process_args'
	from //lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:102:in &lt;code&gt;run'
	from //lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:58:in &lt;/code&gt;run'
	from /bin/gem:21</pre><p></p>
<p>To solve this issue, move to the <strong>zlib/</strong> folder, it should be something like this <strong>/usr/src/ruby-1.8.6-pXXX/ext/zlib/</strong></p>
<p>execute the <em>extconf.rb</em> :</p><pre class="crayon-plain-tag">root@xen1:/usr/src/ruby-1.8.6-p398/ext/zlib# ruby extconf.rb</pre><p></p>
<p>If every things are ok, you should see:</p><pre class="crayon-plain-tag">checking for deflateReset() in -lz... yes
checking for zlib.h... yes
checking for kind of operating system... Unix
creating Makefile</pre><p></p>
<p>compile and deploy zlib by runnning both commands:</p><pre class="crayon-plain-tag">sudo make 
sudo make install</pre><p></p>
<p>Make sure gem command is woking:</p><pre class="crayon-plain-tag">gem list</pre><p></p>
<p>You should see:</p><pre class="crayon-plain-tag">*** LOCAL GEMS ***</pre><p></p>
]]></content:encoded>
			<wfw:commentRss>http://myownpercept.com/2012/01/gem_original_require-no-such-file-to-load-zlib-loaderror/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to recursively delete .svn directories</title>
		<link>http://myownpercept.com/2011/04/how-to-recursively-delete-svn-directories/</link>
		<comments>http://myownpercept.com/2011/04/how-to-recursively-delete-svn-directories/#comments</comments>
		<pubDate>Wed, 20 Apr 2011 15:19:59 +0000</pubDate>
		<dc:creator>Marouan OMEZZINE</dc:creator>
				<category><![CDATA[how-to]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.myownpercept.com/?p=313</guid>
		<description><![CDATA[<p>Just move to the directory where you want to delete, recursively, the .svn directories and type the folowing line:</p>
 ]]></description>
			<content:encoded><![CDATA[<p>Just move to the directory where you want to delete, recursively, the .svn directories and type the folowing line:</p>
<p></p><pre class="crayon-plain-tag">rm -rf &lt;code&gt;find  . -type d -name .svn&lt;/code&gt;</pre><p> </p>
]]></content:encoded>
			<wfw:commentRss>http://myownpercept.com/2011/04/how-to-recursively-delete-svn-directories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Error: Failed to get the adb version: Cannot run program &#8230; on Ubuntu 10.04 (Lucid Lynx)</title>
		<link>http://myownpercept.com/2010/10/error-failed-to-get-the-adb-version-cannot-run-program-on-ubuntu-10-04-lucid-lynx/</link>
		<comments>http://myownpercept.com/2010/10/error-failed-to-get-the-adb-version-cannot-run-program-on-ubuntu-10-04-lucid-lynx/#comments</comments>
		<pubDate>Sat, 23 Oct 2010 17:51:05 +0000</pubDate>
		<dc:creator>Marouan OMEZZINE</dc:creator>
				<category><![CDATA[how-to]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[Lucid Lynx]]></category>
		<category><![CDATA[Ubuntu 10.04]]></category>

		<guid isPermaLink="false">http://www.myownpercept.com/?p=308</guid>
		<description><![CDATA[<p>I met the following error when trying to launch an Android project using eclipse: After googling I found those useful steps to make it running properly: 1. install getlibs from http://frozenfox.freehostia.com/cappy/getlibs-all.deb 2. open terminal and go to your android folder and then platforms/android-1.6/tools 3. run this command from terminal getlibs aapt Source: http://ubuntuforums.org/showthread.php?t=1317567</p>
 ]]></description>
			<content:encoded><![CDATA[<p>I met the following error when trying to launch an Android project using eclipse:</p><pre class="crayon-plain-tag">[2010-10-23 19:31:02 - adb]Failed to get the adb version: Cannot run program &quot;/usr/src/android-sdk-linux_x86/tools/adb&quot;: java.io.IOException: error=2, No such file or directory</pre><p>After googling I found those useful steps to make it running properly:</p>
<blockquote><p>1. install getlibs from <strong>http://frozenfox.freehostia.com/cappy/getlibs-all.deb</strong></p>
<p>2. open terminal and go to your android folder and then <strong>platforms/android-1.6/tools </strong></p>
<p>3. run this command from terminal <em>getlibs aapt</em></p></blockquote>
<p>Source: <a href="http://ubuntuforums.org/showthread.php?t=1317567">http://ubuntuforums.org/showthread.php?t=1317567</a></p>
]]></content:encoded>
			<wfw:commentRss>http://myownpercept.com/2010/10/error-failed-to-get-the-adb-version-cannot-run-program-on-ubuntu-10-04-lucid-lynx/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to install Sun Java JRE / JDK on Ubuntu 10.04 (Lucid Lynx)</title>
		<link>http://myownpercept.com/2010/10/how-to-install-sun-java-jre-jdk-on-ubuntu-10-04-lucid-lynx/</link>
		<comments>http://myownpercept.com/2010/10/how-to-install-sun-java-jre-jdk-on-ubuntu-10-04-lucid-lynx/#comments</comments>
		<pubDate>Sat, 23 Oct 2010 15:52:42 +0000</pubDate>
		<dc:creator>Marouan OMEZZINE</dc:creator>
				<category><![CDATA[how-to]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[JDK]]></category>
		<category><![CDATA[JRE]]></category>
		<category><![CDATA[Lucid Lynx]]></category>
		<category><![CDATA[Sun Java]]></category>
		<category><![CDATA[Ubuntu 10.04]]></category>

		<guid isPermaLink="false">http://www.myownpercept.com/?p=304</guid>
		<description><![CDATA[<p>Copy and paste the following commands into your terminal: Verify your java version: Done</p>
 ]]></description>
			<content:encoded><![CDATA[<p>Copy and paste the following commands into your terminal:</p><pre class="crayon-plain-tag">sudo add-apt-repository &quot;deb http://archive.canonical.com/ lucid partner&quot; 
sudo apt-get update 
sudo apt-get install sun-java6-jre sun-java6-jdk sun-java6-plugin sun-java6-fonts</pre><p> </p>
<p>Verify your java version: </p>
<p></p><pre class="crayon-plain-tag">java -version</pre><p> </p>
<p>Done <img src='http://myownpercept.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://myownpercept.com/2010/10/how-to-install-sun-java-jre-jdk-on-ubuntu-10-04-lucid-lynx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fatal error: Class &#8216;Net_SMTP&#8217; not found in /usr/lib/php/Mail/smtp.php on line 349</title>
		<link>http://myownpercept.com/2010/08/fatal-error-class-net_smtp-not-found-in-usrlibphpmailsmtp-php-on-line-349/</link>
		<comments>http://myownpercept.com/2010/08/fatal-error-class-net_smtp-not-found-in-usrlibphpmailsmtp-php-on-line-349/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 12:48:18 +0000</pubDate>
		<dc:creator>Marouan OMEZZINE</dc:creator>
				<category><![CDATA[how-to]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[Net_SMTP]]></category>
		<category><![CDATA[pear]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.myownpercept.com/?p=299</guid>
		<description><![CDATA[<p>Error: Solution: All you need is to install the missing pear package:</p>
 ]]></description>
			<content:encoded><![CDATA[<p><strong>Error</strong>: </p>
<p></p><pre class="crayon-plain-tag">Warning: include_once(Net/SMTP.php) [function.include-once]: failed to open stream: No such file or directory in /usr/lib/php/Mail/smtp.php on line 348 
Warning: include_once() [function.include]: Failed opening 'Net/SMTP.php' for inclusion (include_path='.:/usr/lib/php') in /usr/lib/php/Mail/smtp.php on line 348 
Fatal error: Class 'Net_SMTP' not found in /usr/lib/php/Mail/smtp.php on line 349</pre><p> </p>
<p><strong>Solution</strong>:<br />
All you need is to install the missing pear package: </p>
<p></p><pre class="crayon-plain-tag">sudo pear install Net_SMTP</pre><p></p>
]]></content:encoded>
			<wfw:commentRss>http://myownpercept.com/2010/08/fatal-error-class-net_smtp-not-found-in-usrlibphpmailsmtp-php-on-line-349/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating init.d script for Juggernaut</title>
		<link>http://myownpercept.com/2010/07/creating-init-d-script-for-juggernaut/</link>
		<comments>http://myownpercept.com/2010/07/creating-init-d-script-for-juggernaut/#comments</comments>
		<pubDate>Sat, 24 Jul 2010 10:26:04 +0000</pubDate>
		<dc:creator>Marouan OMEZZINE</dc:creator>
				<category><![CDATA[how-to]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[init.d]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[shell script]]></category>

		<guid isPermaLink="false">http://www.myownpercept.com/?p=295</guid>
		<description><![CDATA[<p>The Juggernaut plugin for Ruby on Rails aims to revolutionize your Rails app by letting the server initiate a connection and push data to the client. In other words your app can have a real time connection to the server with the advantage of instant updates. Although the obvious use of this is for chat, [...]</p>
 ]]></description>
			<content:encoded><![CDATA[<p>The Juggernaut plugin for Ruby on Rails aims to revolutionize your Rails app by letting the server initiate a connection and push data to the client. In other words your app can have a real time connection to the server with the advantage of instant updates. Although the obvious use of this is for chat, the most exciting prospect is collaborative cms and wikis.</p>
<p></p><pre class="crayon-plain-tag">#!/bin/sh -e 
APP_PATH=/home/zooz.com/current 
JUGGERNAUT_CONFIG=&quot;$APP_PATH/juggernaut.yml&quot; 
JUGGERNAUT_PID=&quot;$APP_PATH/tmp/pids/juggernaut.pid&quot; 
JUGGERNAUT_LOG=&quot;$APP_PATH/log/juggernaut.log&quot; 
RAILS_ENV=production 
case $1 in 
        start) 
                echo &quot;Starting Juggernaut ...&quot; 
                juggernaut -d -c $JUGGERNAUT_CONFIG --pid $JUGGERNAUT_PID --log $JUGGERNAUT_LOG 
        ;; 
        stop) 
                echo &quot;Stopping Juggernaut ...&quot; 
                juggernaut -k * -c $JUGGERNAUT_CONFIG --pid $JUGGERNAUT_PID --log $JUGGERNAUT_LOG 
        ;; 
        restart) 
                echo &quot;Juggernaut restart ...&quot; 
                echo &quot;Stopping Juggernaut ...&quot; 
                juggernaut -k * -c $JUGGERNAUT_CONFIG --pid $JUGGERNAUT_PID --log $JUGGERNAUT_LOG 
                echo &quot;Starting Juggernaut ...&quot; 
                juggernaut -d -c $JUGGERNAUT_CONFIG --pid $JUGGERNAUT_PID --log $JUGGERNAUT_LOG 
        ;; 
esac</pre><p></p>
]]></content:encoded>
			<wfw:commentRss>http://myownpercept.com/2010/07/creating-init-d-script-for-juggernaut/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ERROR 1045 (28000): Access denied for user &#8216;root&#8217;@&#039;localhost&#8217; (using password: NO)</title>
		<link>http://myownpercept.com/2009/07/error-1045-28000-access-denied-for-user-root/</link>
		<comments>http://myownpercept.com/2009/07/error-1045-28000-access-denied-for-user-root/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 14:10:29 +0000</pubDate>
		<dc:creator>Marouan OMEZZINE</dc:creator>
				<category><![CDATA[how-to]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.myownpercept.com/?p=274</guid>
		<description><![CDATA[<p>Today I got the error below : after typing : I don&#8217;t know why ? but I know how to solve it. First of all let&#8217;s disable password authentication : Stop your MySQL daemon: or Then run the following command line in background : Secondly run : Finally, In your MySQL command line prompt issue [...]</p>
 ]]></description>
			<content:encoded><![CDATA[<p>Today I got the error below :</p><pre class="crayon-plain-tag">ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)</pre><p></p>
<p>after typing :</p><pre class="crayon-plain-tag">mysql -u root</pre><p></p>
<p>I don&#8217;t know why ? but I know how to solve it.<br />
First of all let&#8217;s disable password authentication :<br />
Stop your MySQL daemon:</p><pre class="crayon-plain-tag">/etc/init.d/mysql stop</pre><p>or</p><pre class="crayon-plain-tag">/etc/init.d/mysqld stop</pre><p></p>
<p>Then run the following command line in background :</p><pre class="crayon-plain-tag">mysqld_safe --skip-grant-tables &amp;</pre><p></p>
<p>Secondly run :</p><pre class="crayon-plain-tag">mysql -u root</pre><p></p>
<p>Finally, In your MySQL command line prompt issue the following command:</p>
<p></p><pre class="crayon-plain-tag">USE mysql;
UPDATE user SET password=PASSWORD(&quot;my_password&quot;) WHERE user=&quot;root&quot;;
FLUSH PRIVILEGES;
EXIT</pre><p></p>
<p>Password is now reset to <strong>my_password</strong>. So just restart your MySQL server using :</p>
<p></p><pre class="crayon-plain-tag">/etc/init.d/mysql restart</pre><p>or</p><pre class="crayon-plain-tag">/etc/init.d/mysqld restart</pre><p></p>
<p>and use your new password to authenticate : </p>
<p></p><pre class="crayon-plain-tag">mysql -u root -p</pre><p></p>
<p>All that remains is to enter your password.</p>
]]></content:encoded>
			<wfw:commentRss>http://myownpercept.com/2009/07/error-1045-28000-access-denied-for-user-root/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>ERROR: &#8216;phpize&#8217; failed on ubuntu</title>
		<link>http://myownpercept.com/2009/06/error-phpize-failed-on-ubuntu/</link>
		<comments>http://myownpercept.com/2009/06/error-phpize-failed-on-ubuntu/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 08:55:22 +0000</pubDate>
		<dc:creator>Marouan OMEZZINE</dc:creator>
				<category><![CDATA[how-to]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[pecl]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[phpize]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.myownpercept.com/?p=251</guid>
		<description><![CDATA[<p>Today when I tried to install a pear package using the pecl command line on ubuntu, I got the following error : Solution : Just install php5-dev package or php4-dev if you are running php 4.x</p>
 ]]></description>
			<content:encoded><![CDATA[<p>Today when I tried to install a pear package using the pecl command line on ubuntu, I got the following error :</p><pre class="crayon-plain-tag">pecl install pecl_http
downloading pecl_http-1.6.3.tgz ...
Starting to download pecl_http-1.6.3.tgz (173,005 bytes)
.....................done: 173,005 bytes
71 source files, building
running: phpize
sh: phpize: not found
ERROR: `phpize' failed</pre><p></p>
<p><strong>Solution :</strong><br />
Just install php5-dev package</p>
<p></p><pre class="crayon-plain-tag">apt-get install php5-dev</pre><p>or php4-dev if you are running php 4.x</p><pre class="crayon-plain-tag">apt-get install php4-dev</pre><p></p>
]]></content:encoded>
			<wfw:commentRss>http://myownpercept.com/2009/06/error-phpize-failed-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LoadError : no such file to load — readline (LoadError) when running script/console on ubuntu</title>
		<link>http://myownpercept.com/2009/06/loaderror-no-such-file-to-load-readline-loaderror-when-running-scriptconsole-on-ubuntu/</link>
		<comments>http://myownpercept.com/2009/06/loaderror-no-such-file-to-load-readline-loaderror-when-running-scriptconsole-on-ubuntu/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 12:51:27 +0000</pubDate>
		<dc:creator>Marouan OMEZZINE</dc:creator>
				<category><![CDATA[how-to]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[extconf]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.myownpercept.com/?p=228</guid>
		<description><![CDATA[<p>Q : What&#8217;s the best thing that may happen to a developer ? A : A Bug at the beginning of the day I ran script/console in a rails project to debug something on console, but I got this LoadError: How to fix ? I figured out that some libraries are missing after installing ruby [...]</p>
 ]]></description>
			<content:encoded><![CDATA[<blockquote><p>Q : What&#8217;s the best thing that may happen to a developer ?<br />
A : A Bug <img src='http://myownpercept.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  at the beginning of the day <img src='http://myownpercept.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p></blockquote>
<p>I ran script/console in a rails project to debug something on console,  but I got this LoadError:</p><pre class="crayon-plain-tag">Loading development environment (Rails 2.1.0)
/usr/local/lib/ruby/1.8/irb/completion.rb:10:in &lt;code&gt;require&rsquo;: no such file to load &mdash; readline (LoadError)
        from /usr/local/lib/ruby/1.8/irb/completion.rb:10
        from /usr/local/lib/ruby/1.8/irb/init.rb:252:in &lt;/code&gt;require&rsquo;
        from /usr/local/lib/ruby/1.8/irb/init.rb:252:in &lt;code&gt;load_modules&rsquo;
        from /usr/local/lib/ruby/1.8/irb/init.rb:250:in &lt;/code&gt;each&rsquo;
        from /usr/local/lib/ruby/1.8/irb/init.rb:250:in &lt;code&gt;load_modules&rsquo;
        from /usr/local/lib/ruby/1.8/irb/init.rb:21:in &lt;/code&gt;setup&rsquo;
        from /usr/local/lib/ruby/1.8/irb.rb:54:in `start&rsquo;
        from /usr/local/bin/irb:13</pre><p></p>
<p><strong>How to fix ?</strong><br />
I figured out that some libraries are missing after installing ruby from sources (I got those troubles after upgrading my ubuntu from 8.10 to 9.04 and then reinstalling ruby from sources to solve a non-compatibility problem of the already installed ruby binary package with ubuntu 9.04) :</p><pre class="crayon-plain-tag">sudo apt-get install libncurses5-dev
sudo apt-get install libreadline5-dev</pre><p>Then move to your ruby source folder, subfolder ext/readline and then configure, build and install stuffs.</p>
<p></p><pre class="crayon-plain-tag">cd /usr/src/ruby-1.8.6-p368/ext/readline/
ruby extconf.rb
sudo make
sudo make install</pre><p>you may get something like this : ( when running <em>ruby extconf.rb</em>)</p><pre class="crayon-plain-tag">marouan@myownpercept:/usr/src/ruby-1.8.6-p368/ext/readline$ sudo ruby extconf.rb
checking for tgetnum() in -lncurses... yes
checking for readline/readline.h... yes
checking for readline/history.h... yes
checking for readline() in -lreadline... yes
checking for rl_filename_completion_function()... yes
checking for rl_username_completion_function()... yes
checking for rl_completion_matches()... yes
checking for rl_deprep_term_function in stdio.h,readline/readline.h,readline/history.h... yes
checking for rl_completion_append_character in stdio.h,readline/readline.h,readline/history.h... yes
checking for rl_basic_word_break_characters in stdio.h,readline/readline.h,readline/history.h... yes
checking for rl_completer_word_break_characters in stdio.h,readline/readline.h,readline/history.h... yes
checking for rl_basic_quote_characters in stdio.h,readline/readline.h,readline/history.h... yes
checking for rl_completer_quote_characters in stdio.h,readline/readline.h,readline/history.h... yes
checking for rl_filename_quote_characters in stdio.h,readline/readline.h,readline/history.h... yes
checking for rl_attempted_completion_over in stdio.h,readline/readline.h,readline/history.h... yes
checking for rl_library_version in stdio.h,readline/readline.h,readline/history.h... yes
checking for rl_event_hook in stdio.h,readline/readline.h,readline/history.h... yes
checking for rl_cleanup_after_signal()... yes
checking for rl_clear_signals()... yes
checking for rl_vi_editing_mode()... yes
checking for rl_emacs_editing_mode()... yes
checking for replace_history_entry()... yes
checking for remove_history()... yes
creating Makefile</pre><p></p>
]]></content:encoded>
			<wfw:commentRss>http://myownpercept.com/2009/06/loaderror-no-such-file-to-load-readline-loaderror-when-running-scriptconsole-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to remove the blue border around an image link</title>
		<link>http://myownpercept.com/2009/04/remove-border-around-image/</link>
		<comments>http://myownpercept.com/2009/04/remove-border-around-image/#comments</comments>
		<pubDate>Sun, 12 Apr 2009 17:34:22 +0000</pubDate>
		<dc:creator>Marouan OMEZZINE</dc:creator>
				<category><![CDATA[how-to]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://www.myownpercept.com/?p=155</guid>
		<description><![CDATA[<p>[ad#only_in_post] You want to use an image as a link.However, a blue border appears around the image. This border is meant to inform users that the image is a link. Well, it&#8217;s a link but this is ugly :s and may not fit your need. [ad#hire_me] Solution You simply have to add a border-style, set [...]</p>
 ]]></description>
			<content:encoded><![CDATA[<p><!--digg--></p>
<p style="text-align: center;">[ad#only_in_post]</p>
<p>You want to use an image as a link.However, a blue border appears around the image.</p><pre class="crayon-plain-tag">&lt;a href=&quot;http://www.myownpercept.com/&quot;&gt;  
  &lt;img src=&quot;logo.png&quot; alt=&quot;&quot; /&gt;
&lt;/a&gt;</pre><p>This border is meant to inform users that the image is a link. Well, it&#8217;s a link but this is ugly :s and may not fit your need.<br />
[ad#hire_me]  </p>
<h2>Solution</h2>
<ol>
<li>You simply have to add a border-style, set to none, as a style to your img tag<br />
<pre class="crayon-plain-tag">&lt;a href=&quot;http://www.myownpercept.com/&quot;&gt;
  &lt;img style=&quot;border-style: none;&quot; src=&quot;logo.png&quot; alt=&quot;&quot; /&gt;
&lt;/a&gt;</pre>
</li>
<li>A cleaner way, that will pass the W3C validation, is by adding those lines to your CSS file :<br />
<pre class="crayon-plain-tag">img {
	border-style: none;
}</pre>
</li>
<li>A dirty old way, but works,  is by adding border attribute to the img tag.<br />
<pre class="crayon-plain-tag">&lt;a href=&quot;http://www.myownpercept.com/&quot;&gt;  
  &lt;img src=&quot;logo.png&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;
&lt;/a&gt;</pre>
</li>
]]></content:encoded>
			<wfw:commentRss>http://myownpercept.com/2009/04/remove-border-around-image/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

