<?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>Programando na madrugada &#187; Ruby</title>
	<atom:link href="http://www.luizpicanco.com/category/linguagem/ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.luizpicanco.com</link>
	<description>Programação na melhor hora do dia</description>
	<lastBuildDate>Sun, 31 Jul 2011 03:44:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Script para dar commit/deploy automático no Heroku</title>
		<link>http://www.luizpicanco.com/2011/07/31/script-para-dar-commitdeploy-automatico-no-heroku/</link>
		<comments>http://www.luizpicanco.com/2011/07/31/script-para-dar-commitdeploy-automatico-no-heroku/#comments</comments>
		<pubDate>Sun, 31 Jul 2011 03:44:51 +0000</pubDate>
		<dc:creator>Luiz Picanço</dc:creator>
				<category><![CDATA[Linha de Comando]]></category>
		<category><![CDATA[MAC OSX]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[heroku]]></category>
		<category><![CDATA[heroku commits osx]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://www.luizpicanco.com/?p=839</guid>
		<description><![CDATA[Para realizar commit e deploy automático no Heroku, utilizo o seguinte script: git add . git commit -m "Automatic Commit" git push heroku master]]></description>
			<content:encoded><![CDATA[<p>Para realizar commit e deploy automático no Heroku, utilizo o seguinte script:<br />
<code><br />
git add .<br />
git commit -m "Automatic Commit"<br />
git push heroku master<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.luizpicanco.com/2011/07/31/script-para-dar-commitdeploy-automatico-no-heroku/feed/</wfw:commentRss>
		<slash:comments>2077</slash:comments>
		</item>
		<item>
		<title>Erro ao utilizar o mysql no ruby: LIBMYSQL.dll is missing</title>
		<link>http://www.luizpicanco.com/2010/02/21/erro-ao-utilizar-o-mysql-no-ruby-libmysql-dll-is-missing/</link>
		<comments>http://www.luizpicanco.com/2010/02/21/erro-ao-utilizar-o-mysql-no-ruby-libmysql-dll-is-missing/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 04:39:26 +0000</pubDate>
		<dc:creator>Luiz Picanço</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[libmysql]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://www.luizpicanco.com/?p=120</guid>
		<description><![CDATA[Um erro muito comum que costuma acontecer no ruby/rails, em ambiente windows é: &#8220;LIBMYSQL.dll is missing from your computer&#8221; E a mensagem também pode aparecer no console da seguinte forma: ruby.exe - Unable to locate Component This application has failed to start because LIBMYSQL.DLL was not found. Re-installing the application might fix this problem. Esse [...]]]></description>
			<content:encoded><![CDATA[<p>Um erro muito comum que costuma acontecer no ruby/rails, em ambiente windows é: &#8220;LIBMYSQL.dll is missing from your computer&#8221;</p>
<p><img class="aligncenter size-full wp-image-121" title="erro" src="http://www.luizpicanco.com/wp-content/uploads/2010/02/erro.png" alt="LIMYSQL.dll is missing" width="476" height="171" /></p>
<p>E a mensagem também pode aparecer no console da seguinte forma:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">ruby.exe - Unable to locate Component
This application has failed to start because LIBMYSQL.DLL was not
found. Re-installing the application might
fix this problem.</pre></div></div>

<p>Esse erro ocorre porque a dll do mysql, LIBMYSQL.dll, não foi localizada. Para resolver esse problema, faça o seguinte:</p>
<p>1 &#8211; Instale a gem do mysql</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="text" style="font-family:monospace;">gem install mysql</pre></td></tr></table></div>

<p>2 &#8211; Copie o arquivo LIBMYSQL.dll do diretório bin do mysql(ex.: c:\mysql\bin) para o diretório bin do ruby (ex.: c:\ruby\bin)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.luizpicanco.com/2010/02/21/erro-ao-utilizar-o-mysql-no-ruby-libmysql-dll-is-missing/feed/</wfw:commentRss>
		<slash:comments>4988</slash:comments>
		</item>
		<item>
		<title>Erro na instalação de uma Ruby Gem: no such file to load &#8212; mkmf</title>
		<link>http://www.luizpicanco.com/2009/05/06/erro-na-instalacao-de-uma-ruby-gem-no-such-file-to-load-mkmf/</link>
		<comments>http://www.luizpicanco.com/2009/05/06/erro-na-instalacao-de-uma-ruby-gem-no-such-file-to-load-mkmf/#comments</comments>
		<pubDate>Wed, 06 May 2009 17:36:18 +0000</pubDate>
		<dc:creator>Luiz Picanço</dc:creator>
				<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.luizpicanco.com/?p=98</guid>
		<description><![CDATA[Se ao instalar uma gem você se deparou com esse erro: Building native extensions. This could take a while... ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError) ERROR: Failed to build gem native extension. ruby extconf.rb install mechanize extconf.rb:1:in `require': no such file to load -- mkmf (LoadError) from extconf.rb:1 O problema é que o mkmf não [...]]]></description>
			<content:encoded><![CDATA[<p>Se ao instalar uma gem você se deparou com esse erro:</p>
<pre><code>Building native extensions.  This could take a while...
ERROR:  While executing gem ... (Gem::Installer::ExtensionBuildError)
    ERROR: Failed to build gem native extension.

ruby extconf.rb install mechanize
extconf.rb:1:in `require': no such file to load -- mkmf (LoadError)
</code></pre>
<p><span style="font-family: -webkit-monospace; line-height: 18px; font-size: 12px; white-space: pre;"> from extconf.rb:1</span></p>
<p>O problema é que o mkmf não foi encontrado. Ele se encontra no pacote ruby-dev. Para instalá-lo baixa executar o seguinte comando:</p>
<pre><code>sudo apt-get install ruby-dev
</code></pre>
<pre><span style="font-family: -webkit-monospace;">
</span></pre>
<pre><span style="font-family: -webkit-monospace;">
</span></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.luizpicanco.com/2009/05/06/erro-na-instalacao-de-uma-ruby-gem-no-such-file-to-load-mkmf/feed/</wfw:commentRss>
		<slash:comments>2483</slash:comments>
		</item>
	</channel>
</rss>

