<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>io e il mio mac</title>
	<atom:link href="http://ilduca69.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ilduca69.wordpress.com</link>
	<description>ilduca69 e il suo Macbook Pro</description>
	<lastBuildDate>Fri, 22 Aug 2008 02:53:16 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>it</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='ilduca69.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/c98e10a915cd6fa2c29cba2e9a8e707c?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>io e il mio mac</title>
		<link>http://ilduca69.wordpress.com</link>
	</image>
			<item>
		<title>Ruby On Rails e Leopard</title>
		<link>http://ilduca69.wordpress.com/2008/04/13/ruby-on-rails-e-leopard/</link>
		<comments>http://ilduca69.wordpress.com/2008/04/13/ruby-on-rails-e-leopard/#comments</comments>
		<pubDate>Sun, 13 Apr 2008 09:58:36 +0000</pubDate>
		<dc:creator>ilduca69</dc:creator>
				<category><![CDATA[oggi]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://ilduca69.wordpress.com/?p=7</guid>
		<description><![CDATA[Nel precedente post è descritto come ho risolto il problema di MySQL. Adesso vediamo come installare Ruby On Rails e usare MySQL come database per lo sviluppo di applicazioni dinamiche.
Ruby On Rails ( http://it.wikipedia.org/wiki/Ruby_On_Rails ), per chi non lo sapesse, è un framework di Ruby ( http://it.wikipedia.org/wiki/Ruby ) e permette di creare applicazioni dinamiche web-oriented.
Ci sono 2 modi che [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ilduca69.wordpress.com&blog=3265250&post=7&subd=ilduca69&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Nel precedente post è descritto come ho risolto il problema di MySQL. Adesso vediamo come installare Ruby On Rails e usare MySQL come database per lo sviluppo di applicazioni dinamiche.</p>
<p>Ruby On Rails ( <a title="Ruby On Rails" href="http://it.wikipedia.org/wiki/Ruby_On_Rails" target="_self">http://it.wikipedia.org/wiki/Ruby_On_Rails</a> ), per chi non lo sapesse, è un framework di Ruby ( <a title="Ruby" href="http://it.wikipedia.org/wiki/Ruby" target="_self">http://it.wikipedia.org/wiki/Ruby</a> ) e permette di creare applicazioni dinamiche web-oriented.</p>
<p>Ci sono 2 modi che conosco per installare Ruby On Rails (ROR): scaricare e installare <a title="Locomotive 2.0" href="http://locomotive.raaum.org/" target="_self">Locomotive 2.0</a> oppure scaricarsi i sorgenti e compilarli via Terminale. Occorre avere i Developers Tools installati (si trovano nel disco di Leopard, nella cartella Optionals Install).</p>
<p>Useremo il Terminale e la Shell sarà la bash.<br />
Apriamo una finestra del Terminale (Applicazioni → Utility) e creiamo la cartella dove raccogliere i sorgenti che dovremo poi compilare dandogli poi i giusti privilegi e permessi (ogni riga è un comando a cui seguirà invio): </p>
<pre><code>sudo mkdir -p /usr/local/src
sudo chgrp admin /usr/local/src
sudo chmod -R 775 /usr/local/src</code></pre>
<p>spostiamoci sulla cartella appena creata: </p>
<pre><code>cd /usr/local/src</code></pre>
<p>adesso con un editor di testo come BBEdit, TextWrangler o TextMate occorrerà aprire il file nascosto <strong>bash_login</strong> che si trova nella cartella Inizio. Se non ci fosse create un file vuoto ed in ogni caso scriveremo (il percorso tra le virgolette &egrave; senza spazi):<br />
<code><br />
export PATH="/usr/local/bin:/usr/local/sbin:<br />/usr/local/mysql/bin:$PATH"<br />
</code><br />
salviamo il file con il nome <strong>.bash_login</strong> e chiudiamo l&#8217;editor, così avremo tutto ciò che ci occorrerà nella stessa directory dove abbiamo installato MySQL. Per verificare che tutto funziona, basta digitare da Terminale: </p>
<pre><code>. ~/.bash_login</code></pre>
<p>Se non ci sarà nessun messaggio di errore vuol dire che è tutto a posto.<br />
Digitiamo adesso </p>
<pre><code>which ruby</code></pre>
<p> che dovrà restituire come risposta</p>
<pre><code>/usr/local/bin/ruby</code></pre>
<p>.<br />
La seconda parte domani&#8230;..</p>
<pre><code></code></pre>
<pre><code></code></pre>
<pre><code></code></pre>
<pre><code></code></pre>
<pre><code></code></pre>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ilduca69.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ilduca69.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ilduca69.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ilduca69.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ilduca69.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ilduca69.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ilduca69.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ilduca69.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ilduca69.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ilduca69.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ilduca69.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ilduca69.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ilduca69.wordpress.com&blog=3265250&post=7&subd=ilduca69&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ilduca69.wordpress.com/2008/04/13/ruby-on-rails-e-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e51bf255543ab18b872507fc556ec576?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ilduca69</media:title>
		</media:content>
	</item>
		<item>
		<title>Impazzire per MySQL</title>
		<link>http://ilduca69.wordpress.com/2008/04/10/impazzire-per-mysql/</link>
		<comments>http://ilduca69.wordpress.com/2008/04/10/impazzire-per-mysql/#comments</comments>
		<pubDate>Wed, 09 Apr 2008 22:46:14 +0000</pubDate>
		<dc:creator>ilduca69</dc:creator>
				<category><![CDATA[oggi]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://ilduca69.wordpress.com/?p=6</guid>
		<description><![CDATA[Come installare MySQL sul proprio MacBook Pro? Semplice, si scarica il pacchetto dal sito  MySQL e una volta aperto il disco immagine un bel doppio clic sul pacchetto di installazione. Bellissimo, facilissimo&#8230; poi cosa vedo&#8230;
un pannello aggiuntivo nelle preferenze: doppio clic, si installa in un attimo, lo chiudo, perché prima voglio installare anche lo startup [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ilduca69.wordpress.com&blog=3265250&post=6&subd=ilduca69&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Come installare MySQL sul proprio MacBook Pro? Semplice, si scarica il pacchetto dal sito  <a href="http://dev.mysql.com/downloads/mysql/5.0.html">MySQL</a> e una volta aperto il disco immagine un bel doppio clic sul pacchetto di installazione. Bellissimo, facilissimo&#8230; poi cosa vedo&#8230;<br />
un pannello aggiuntivo nelle preferenze: doppio clic, si installa in un attimo, lo chiudo, perché prima voglio installare anche lo startup item, così ogni volta che (ri)avvio il portatile sarà già tutto funzionante.</p>
<p>Detto fatto riavvio il MacBook Pro, apro le preferenze di sistema e&#8230; sorpresa MySQL non sta andando! Clicco sul pulsante Start MySQL Server invano; provo anche il clic+moccolo™ senza sortire nessun effetto&#8230; Uhm&#8230; Apro una finestra del Finder e vado alla cartella /Library/StartupItems/ : vuota??? Dove l&#8217;ha installato?</p>
<p>Il giorno dopo mi leggo la documentazione del database (perché farlo partire da Terminale tutte le volte è una seccatura) così appuro che MySQL si trova in /usr/local. Mela-Shift-G e inserisco il percorso /usr/local: infatti è lì, ma c&#8217;è anche una cartella MySQLCOM nella quale risiedono 2 files: MySQLCOM e StartupParameters.plist&#8230; Bingo!!!</p>
<p><a href="http://ilduca69.files.wordpress.com/2008/04/local.png"><img class="alignnone size-full wp-image-9" src="http://ilduca69.files.wordpress.com/2008/04/local.png" alt="" /></a></p>
<p><a href="http://ilduca69.files.wordpress.com/2008/04/startup.png"><img class="alignnone size-full wp-image-10" src="http://ilduca69.files.wordpress.com/2008/04/startup.png" alt="" width="374" height="427" /></a></p>
<p>Per qualche motivo l&#8217;installer ha toppato quindi ho dovuto spostare manualmente, autenticandomi un paio di volte come amministratore, il contenuto nella giusta posizione. Riavvio il portatile e&#8230; funziona! Il server MySQL è attivo. Rimane il fatto che il PreferencePanes non funziona, ma almeno mi fa da spia per vedere che è tutto a posto. Però che OO</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ilduca69.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ilduca69.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ilduca69.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ilduca69.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ilduca69.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ilduca69.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ilduca69.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ilduca69.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ilduca69.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ilduca69.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ilduca69.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ilduca69.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ilduca69.wordpress.com&blog=3265250&post=6&subd=ilduca69&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ilduca69.wordpress.com/2008/04/10/impazzire-per-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e51bf255543ab18b872507fc556ec576?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ilduca69</media:title>
		</media:content>

		<media:content url="http://ilduca69.files.wordpress.com/2008/04/local.png" medium="image" />

		<media:content url="http://ilduca69.files.wordpress.com/2008/04/startup.png" medium="image" />
	</item>
		<item>
		<title>il passato e il futuro</title>
		<link>http://ilduca69.wordpress.com/2008/04/06/il-passato-e-il-futuro/</link>
		<comments>http://ilduca69.wordpress.com/2008/04/06/il-passato-e-il-futuro/#comments</comments>
		<pubDate>Sun, 06 Apr 2008 05:25:55 +0000</pubDate>
		<dc:creator>ilduca69</dc:creator>
				<category><![CDATA[oggi]]></category>

		<guid isPermaLink="false">http://ilduca69.wordpress.com/?p=4</guid>
		<description><![CDATA[Appena finito di sistemare il Powerbook G3 originale, non ho resistito: una foto tra il passato e il futuro!
Chiaramente il mio &#232; quello a destra!

       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ilduca69.wordpress.com&blog=3265250&post=4&subd=ilduca69&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Appena finito di sistemare il Powerbook G3 originale, non ho resistito: una foto tra il passato e il futuro!<br />
Chiaramente il mio &egrave; quello a destra!<br />
<img src="http://ilduca69.files.wordpress.com/2008/04/immag001.jpg?w=400&#038;h=300" alt="macbook, powerbook G3 e il macbook pro ilduca69" width="400" height="300" /></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ilduca69.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ilduca69.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ilduca69.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ilduca69.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ilduca69.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ilduca69.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ilduca69.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ilduca69.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ilduca69.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ilduca69.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ilduca69.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ilduca69.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ilduca69.wordpress.com&blog=3265250&post=4&subd=ilduca69&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ilduca69.wordpress.com/2008/04/06/il-passato-e-il-futuro/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e51bf255543ab18b872507fc556ec576?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ilduca69</media:title>
		</media:content>

		<media:content url="http://ilduca69.files.wordpress.com/2008/04/immag001.jpg" medium="image">
			<media:title type="html">macbook, powerbook G3 e il macbook pro ilduca69</media:title>
		</media:content>
	</item>
	</channel>
</rss>