<?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>antoniolorusso.com &#187; Development</title>
	<atom:link href="http://antoniolorusso.com/category/development/feed/" rel="self" type="application/rss+xml" />
	<link>http://antoniolorusso.com</link>
	<description>About me and what I do :)</description>
	<lastBuildDate>Wed, 02 May 2012 21:37:09 +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>Ruby 1.9.3-p125 and RVM on Mac</title>
		<link>http://antoniolorusso.com/2012/02/18/ruby-1-9-3-p125-and-rvm-on-mac/</link>
		<comments>http://antoniolorusso.com/2012/02/18/ruby-1-9-3-p125-and-rvm-on-mac/#comments</comments>
		<pubDate>Sat, 18 Feb 2012 15:32:41 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[mac]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/?p=404</guid>
		<description><![CDATA[A new ruby version is out and it&#8217;s time to upgrade! The first try gave me this error: ? ~ rvm install 1.9.3-p125 Error running ' ./configure --prefix=/Users/antonio/.rvm/rubies/ruby-1.9.3-p125 --enable-shared --disable-install-doc --with-libyaml --with-opt-dir=/Users/antonio/.rvm/usr ', please read /Users/antonio/.rvm/log/ruby-1.9.3-p125/configure.log There has been an error while running configure. Halting the installation. Adding the compiler option &#8220;&#8211;with-gcc=clang&#8221; worked: ? ~ rvm [...]]]></description>
			<content:encoded><![CDATA[<p>A <a href="http://www.ruby-lang.org/en/news/2012/02/16/ruby-1-9-3-p125-is-released/">new ruby version</a> is out and it&#8217;s time to upgrade! The first try gave me this error:</p>
<p><code><br />
?  ~  rvm install 1.9.3-p125<br />
Error running ' ./configure --prefix=/Users/antonio/.rvm/rubies/ruby-1.9.3-p125 --enable-shared --disable-install-doc --with-libyaml --with-opt-dir=/Users/antonio/.rvm/usr ', please read /Users/antonio/.rvm/log/ruby-1.9.3-p125/configure.log<br />
There has been an error while running configure. Halting the installation.<br />
</code></p>
<p>Adding the compiler option &#8220;&#8211;with-gcc=clang&#8221; worked:</p>
<p><code><br />
?  ~  rvm install 1.9.3-p125 --with-gcc=clang<br />
Install of ruby-1.9.3-p125 - #complete<br />
</code></p>
<p>enjoy Ruby <img src='http://antoniolorusso.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2012/02/18/ruby-1-9-3-p125-and-rvm-on-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nokogiri, RVM, Homebrew and headhache!!!</title>
		<link>http://antoniolorusso.com/2011/06/11/nokogiri-rvm-homebrew-and-headhache/</link>
		<comments>http://antoniolorusso.com/2011/06/11/nokogiri-rvm-homebrew-and-headhache/#comments</comments>
		<pubDate>Sat, 11 Jun 2011 13:32:48 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[mac]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/?p=391</guid>
		<description><![CDATA[Thanks to a gist (which I forked and slightly changed) I was able to finally install Nokogiri on my mac: If you had MacPorts previously installed, it might still not work so sudo mv /opt/local /opt/local_old and try again. Enjoy &#160; &#160;]]></description>
			<content:encoded><![CDATA[<p>Thanks to a gist (which I forked and slightly changed) I was able to finally install Nokogiri on my mac:</p>
<div id="gist-1020543" class="gist">

        <div class="gist-file">
          <div class="gist-data gist-syntax">
              <div class="highlight"><pre><div class='line' id='LC1'><span class="nb">export </span><span class="nv">BREW_HOME</span><span class="o">=</span>/usr/local</div><div class='line' id='LC2'><br/></div><div class='line' id='LC3'>brew install libxml2</div><div class='line' id='LC4'>brew link libxml2</div><div class='line' id='LC5'>brew install https://github.com/adamv/homebrew-alt/raw/master/duplicates/libxslt.rb</div><div class='line' id='LC6'>brew link libxslt</div><div class='line' id='LC7'>brew install libiconv</div><div class='line' id='LC8'>brew link libiconv</div><div class='line' id='LC9'>gem install nokogiri -- --with-xml2-dir<span class="o">=</span><span class="nv">$BREW_HOME</span>/Cellar/libxml2/2.7.8 --with-xslt-dir<span class="o">=</span><span class="nv">$BREW_HOME</span>/Cellar/libxslt/1.1.26 --with-iconv-dir<span class="o">=</span><span class="nv">$BREW_HOME</span>/Cellar/libiconv/1.13.1/</div></pre></div>
          </div>

          <div class="gist-meta">
            <a href="https://gist.github.com/raw/1020543/b4097ee332ff6d70fe232add8814a6e5f67e67c5/gistfile1.bash" style="float:right;">view raw</a>
            <a href="https://gist.github.com/1020543#file_gistfile1.bash" style="float:right;margin-right:10px;color:#666">gistfile1.bash</a>
            <a href="https://gist.github.com/1020543">This Gist</a> brought to you by <a href="http://github.com">GitHub</a>.
          </div>
        </div>
</div>

<p>If you had MacPorts previously installed, it might still not work so<br />
<code>sudo mv /opt/local /opt/local_old</code><br />
and try again.</p>
<p>Enjoy <img src='http://antoniolorusso.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2011/06/11/nokogiri-rvm-homebrew-and-headhache/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Rails and PostgreSQL</title>
		<link>http://antoniolorusso.com/2010/06/21/rails-and-postgresql/</link>
		<comments>http://antoniolorusso.com/2010/06/21/rails-and-postgresql/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 22:17:54 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[postgres]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/2010/06/21/rails-and-postgresql/</guid>
		<description><![CDATA[Complaining, screaming, sweating, swearing &#8230;. why it doesnt work &#8230; jeeeeeezzz/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_specification.rb:76:in `establish_connection': Please install the postgres adapter: `gem install activerecord-postgres-adapter` (no such file to load -- active_record/connection_adapters/postgres_adapter) (RuntimeError) And then a light &#8230; &#8220;I upgraded postgresql recently!&#8221; Just reinstall the postgres gem and you are done&#8230; What a night!]]></description>
			<content:encoded><![CDATA[<p>Complaining, screaming, sweating, swearing &#8230;. why it doesnt work &#8230; jeeeeeezzz<code>/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract/connection_specification.rb:76:in `establish_connection': Please install the postgres adapter: `gem install activerecord-postgres-adapter` (no such file to load -- active_record/connection_adapters/postgres_adapter) (RuntimeError)</code></p>
<p>And then a light &#8230; &#8220;I upgraded postgresql recently!&#8221;</p>
<p>Just reinstall the postgres gem and you are done&#8230;</p>
<p>What a night!</p>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2010/06/21/rails-and-postgresql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>map and grep: from Perl to PHP</title>
		<link>http://antoniolorusso.com/2010/05/17/map-and-grep-from-perl-to-php/</link>
		<comments>http://antoniolorusso.com/2010/05/17/map-and-grep-from-perl-to-php/#comments</comments>
		<pubDate>Mon, 17 May 2010 14:57:29 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Perl]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[array_filter]]></category>
		<category><![CDATA[array_map]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[map]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/2010/05/17/map-and-grep-from-perl-to-php/</guid>
		<description><![CDATA[Probably many of you already know but here is the correspondent in PHP of the two fundamentals Perl functions:map =&#62; array_mapgrep =&#62; array_filterToo lazy to give you examples .. I think you can work it out yourself.]]></description>
			<content:encoded><![CDATA[<p>Probably many of you already know but here is the correspondent in PHP of the two fundamentals Perl functions:<br /><code>map =&gt; array_map<br />grep =&gt; array_filter</code><br />Too lazy to give you examples .. I think you can work it out yourself.</p>
<p> <img src='http://antoniolorusso.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2010/05/17/map-and-grep-from-perl-to-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP-FPM on Ubuntu Lucid Lynx</title>
		<link>http://antoniolorusso.com/2010/05/11/php-fpm-on-ubuntu-lucid-lynx/</link>
		<comments>http://antoniolorusso.com/2010/05/11/php-fpm-on-ubuntu-lucid-lynx/#comments</comments>
		<pubDate>Mon, 10 May 2010 23:47:53 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[10.04]]></category>
		<category><![CDATA[lucid lynx]]></category>
		<category><![CDATA[php-fpm]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/2010/05/11/php-fpm-on-ubuntu-lucid-lynx/</guid>
		<description><![CDATA[I have been using the dotdeb repository on karmic for a while, but today, when I installed the new Lucid Lynx, it just became a mess so I decided to keep all the original ubuntu packages (Lucid ships php 5.3.2) and find an alternative repo for php-fpm which I use on my dev machine. Here [...]]]></description>
			<content:encoded><![CDATA[<p>I have been using the dotdeb repository on karmic for a while, but today, when I installed the new Lucid Lynx, it just became a mess so I decided to keep all the original ubuntu packages (Lucid ships php 5.3.2) and find an alternative repo for php-fpm which I use on my dev machine. <br />Here it is:<a href="https://launchpad.net/%7Ebrianmercer/+archive/php/">Brian&#8217;s php5-fpm : Brian Mercer</a></p>
<p>Happy 10.04! <img src='http://antoniolorusso.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2010/05/11/php-fpm-on-ubuntu-lucid-lynx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Website Optimiser and the bugged Techie Guide</title>
		<link>http://antoniolorusso.com/2010/03/31/google-website-optimiser-and-the-bugged-techie-guide/</link>
		<comments>http://antoniolorusso.com/2010/03/31/google-website-optimiser-and-the-bugged-techie-guide/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 09:00:21 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Altro]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[content-variation]]></category>
		<category><![CDATA[content_variation]]></category>
		<category><![CDATA[GWO]]></category>
		<category><![CDATA[techie guide]]></category>
		<category><![CDATA[Web Optimiser]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/2010/03/31/google-website-optimiser-and-the-bugged-techie-guide/</guid>
		<description><![CDATA[I spent hours yesterday to implement the GWO that, instead, should take literally minutes!You want to know why? The bugged Techie Guide!!! On page 19, the script is completely wrong and drove me mad: variation-content should be variation_content and document.write(“&#60;/nosc” + “ript&#62;”) should be document.write(“&#60;nosc” + “ript&#62;”); So, here is he complete correct script:&#60;script&#62;var v [...]]]></description>
			<content:encoded><![CDATA[<p>I spent hours yesterday to implement the GWO that, instead, should take literally minutes!<br />You want to know why? The bugged <a target="_blank" href="http://www.google.com/en//websiteoptimizer/techieguide.pdf">Techie Guide</a>!!!</p>
<p>On page 19, the script is completely wrong and drove me mad: variation-content should be <b>variation_content</b> and document.write(“&lt;/nosc” + “ript&gt;”) should be <b>document.write(“&lt;nosc” + “ript&gt;”)</b>;</p>
<p>So, here is he complete correct script:<br /><code>&lt;script&gt;<br />var v = utmx(‘variation_content’, ‘Section1’);<br />if (v) {<br />document.write(<br />v.replace(“%%product_name%%”, “&lt;? print $product_name ?&gt;”).<br />replace(“%%product_price%%”, “&lt;? print $product_price ?&gt;”).<br />replace(“%%product_id%%”, “&lt;? print $product_id ?&gt;”));<br />document.write(“&lt;nosc” + “ript&gt;”);<br />}<br />&lt;/script&gt;<br />&lt;ul&gt;<br />&lt;li&gt;Product name: &lt;? print $product_name ?&gt;<br />&lt;li&gt;Product price: &lt;? print $product_price ?&gt;<br />&lt;li&gt;&lt;a href=’buy.php?prod-id=&lt;? print $product_id ?&gt;’&gt;<br />Buy Now&lt;/a&gt;<br />&lt;/ul&gt;<br />&lt;/noscript&gt;<br /></code><br />Adapt it to your code and be happy!</p>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2010/03/31/google-website-optimiser-and-the-bugged-techie-guide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nginx and $_SERVER[&#039;HTTPS&#039;]</title>
		<link>http://antoniolorusso.com/2010/03/22/nginx-and-_serverhttps/</link>
		<comments>http://antoniolorusso.com/2010/03/22/nginx-and-_serverhttps/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 17:50:06 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[nginx]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/2010/03/22/nginx-and-_serverhttps/</guid>
		<description><![CDATA[When you are using the FastCGI Php version, you would set HTTPS variable if you are serving parts of you website with SSL. To do that, add the following function into the http section of your nginx configuration map $scheme $fastcgi_https { ## Detect when HTTPS is used default off; https on; } and use [...]]]></description>
			<content:encoded><![CDATA[<p>When you are using the FastCGI Php version, you would set HTTPS variable if you are serving parts of you website with SSL.<br />
To do that, add the following function into the http section of your nginx configuration<br />
<code>map $scheme $fastcgi_https { ## Detect when HTTPS is used<br />
default off;<br />
https on;<br />
}<br />
</code><br />
and use the variable into your server section<br />
<code>fastcgi_param  HTTPS $fastcgi_https;</code></p>
<p>Lazy explanation as usual <img src='http://antoniolorusso.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=b551158c-e2e9-8fde-ae41-d8c9797abc56" alt="" /></div>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2010/03/22/nginx-and-_serverhttps/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>upstream sent too big header while reading response header from upstream</title>
		<link>http://antoniolorusso.com/2010/03/10/upstream-sent-too-big-header-while-reading-response-header-from-upstream/</link>
		<comments>http://antoniolorusso.com/2010/03/10/upstream-sent-too-big-header-while-reading-response-header-from-upstream/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 17:21:46 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[buffer]]></category>
		<category><![CDATA[fastcgi]]></category>
		<category><![CDATA[php-fpm]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/2010/03/10/upstream-sent-too-big-header-while-reading-response-header-from-upstream/</guid>
		<description><![CDATA[if you have this error from nginx with php-fpm and output_buffers = On in your php.ini then try to increment the buffer size in nginx:fastcgi_buffers 8 16k;fastcgi_buffer_size 32k;]]></description>
			<content:encoded><![CDATA[<p>if you have this error from nginx with php-fpm and output_buffers = On in your php.ini then try to increment the buffer size in nginx:<br /><code><br />fastcgi_buffers 8 16k;<br />fastcgi_buffer_size 32k;<br /></code></p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=17e62287-9b5f-808e-aa5e-5f8b6e6450ee" /></div>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2010/03/10/upstream-sent-too-big-header-while-reading-response-header-from-upstream/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Suhosin and memory_limit</title>
		<link>http://antoniolorusso.com/2010/01/18/suhosin-and-memory_limit/</link>
		<comments>http://antoniolorusso.com/2010/01/18/suhosin-and-memory_limit/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 13:00:29 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[ini_set]]></category>
		<category><![CDATA[suhosin]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/2010/01/18/suhosin-and-memory_limit/</guid>
		<description><![CDATA[I had some problem with a script that needed more memory to be executed and was using ini_set(&#8216;memory_limit&#8217;, &#8217;50M&#8217;). For some reasons the memory was not incremented as expected.After googleing around for a solution I just had an intuition: could be suhosin? Indeed, the problem was in the suhosin module that is enable by default [...]]]></description>
			<content:encoded><![CDATA[<p>I had some problem with a script that needed more memory to be executed and was using <b>ini_set(&#8216;memory_limit&#8217;, &#8217;50M&#8217;).</b> For some reasons the memory was not incremented as expected.<br />After googleing around for a solution I just had an intuition: could be <i>suhosin</i>? Indeed, the problem was in the <i>suhosin</i> module that is enable by default on Ubuntu: it does not allow to redefine the memory limit over the limit specified in the php.ini file.<br />To make ini_set work normally under Ubuntu, comment out the <i><u>suhosin</u></i> extension in <i>/etc/php5/apachew/conf.d/suhosin.ini</i></p>
<p> <img src='http://antoniolorusso.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=49530aa3-b720-8bdb-8012-a9ae94d8b5ab" /></div>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2010/01/18/suhosin-and-memory_limit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Macports, Snow Leopard and XCode 3.2</title>
		<link>http://antoniolorusso.com/2009/10/18/macports-snow-leopard-and-xcode-3-2/</link>
		<comments>http://antoniolorusso.com/2009/10/18/macports-snow-leopard-and-xcode-3-2/#comments</comments>
		<pubDate>Sun, 18 Oct 2009 00:09:47 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/?p=255</guid>
		<description><![CDATA[When I upgraded my macbook to Snow Leopard, macports just worked as it was before, or so I thought, until yesterday when I tried to install ImageMagick and rmagick ruby gem and I got this error: gem install rmagick ERROR: Error installing rmagick: ERROR: Failed to build gem native extension. /opt/local/bin/ruby extconf.rb checking for Ruby [...]]]></description>
			<content:encoded><![CDATA[<p>When I upgraded my macbook to Snow Leopard, macports just worked as it was before, or so I thought, until yesterday when I tried to install ImageMagick and rmagick ruby gem and I got this error:<br />
<code>gem install rmagick<br />
ERROR:  Error installing rmagick:<br />
ERROR: Failed to build gem native extension.<br />
/opt/local/bin/ruby extconf.rb<br />
checking for Ruby version &gt;= 1.8.5... yes<br />
checking for gcc... yes<br />
checking for Magick-config... yes<br />
checking for ImageMagick version &gt;= 6.3.5... yes<br />
checking for HDRI disabled version of ImageMagick... yes<br />
checking for stdint.h... no<br />
checking for sys/types.h... no<br />
checking for wand/MagickWand.h... no<br />
Can't install RMagick 2.11.1. Can't find MagickWand.h.<br />
*** extconf.rb failed ***<br />
Could not create Makefile due to some reason, probably lack of<br />
necessary libraries and/or headers.  Check the mkmf.log file for more<br />
details.  You may need configuration options.<br />
Provided configuration options:<br />
--with-opt-dir<br />
--without-opt-dir<br />
--with-opt-include<br />
--without-opt-include=${opt-dir}/include<br />
--with-opt-lib<br />
--without-opt-lib=${opt-dir}/lib<br />
--with-make-prog<br />
--without-make-prog<br />
--srcdir=.<br />
--curdir<br />
--ruby=/opt/local/bin/ruby<br />
</code><br />
After having lost the best of my youth trying to fix this issue, I can&#8217;t remember exactly how I did it, but I came up with this idea of reinstalling ruby and&#8230; guess what? It did work!<br />
So the lesson here is &#8230; whenever you upgrade to a major release of XCode, you have to reinstall all your macports. These commands can save your day or two:<br />
<code>$ sudo port selfupdate<br />
$ sudo port sync<br />
$ sudo port upgrade --force installed<br />
</code><br />
 <img src='http://antoniolorusso.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2009/10/18/macports-snow-leopard-and-xcode-3-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
