<?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>Mauricio de Amorim &#187; Erros</title>
	<atom:link href="http://mauriciodeamorim.com.br/category/erros/feed/" rel="self" type="application/rss+xml" />
	<link>http://mauriciodeamorim.com.br</link>
	<description>Tecnologia e desenvolvimento web</description>
	<lastBuildDate>Tue, 21 Feb 2012 22:09:22 +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>Downgrade Firefox no Mac para rodar Cucumber com Selenium Webdriver</title>
		<link>http://mauriciodeamorim.com.br/2011/08/23/downgrade-firefox-no-mac-para-rodar-cucumber-com-selenium-webdriver/</link>
		<comments>http://mauriciodeamorim.com.br/2011/08/23/downgrade-firefox-no-mac-para-rodar-cucumber-com-selenium-webdriver/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 17:46:39 +0000</pubDate>
		<dc:creator>Mauricio de Amorim</dc:creator>
				<category><![CDATA[Configuração]]></category>
		<category><![CDATA[Dicas rápidas]]></category>
		<category><![CDATA[Erros]]></category>
		<category><![CDATA[cucumber]]></category>
		<category><![CDATA[Dicas]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MacOS]]></category>
		<category><![CDATA[QA]]></category>
		<category><![CDATA[selenium]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://mauriciodeamorim.com.br/?p=813</guid>
		<description><![CDATA[Se você atualizou o Firefox para as versões 4, 5 ou 6 provavelmente está tendo problemas para rodar testes de Cucumber com o Selenium Webdriver, obtendo o erro abaixo: unable to obtain stable firefox connection in 60 seconds ( ) (Selenium::WebDriver::Error::WebDriverError) Para corrigir &#8220;paliativamente&#8221; e continuar a rodar meus testes fiz o downgrade do Firefox [...]]]></description>
			<content:encoded><![CDATA[<p>Se você atualizou o Firefox para as versões 4, 5 ou 6 provavelmente está tendo problemas para rodar testes de Cucumber com o Selenium Webdriver, obtendo o erro abaixo:</p>
<pre style="background-color: black; color: red">
unable to obtain stable firefox connection in 60 seconds ( )
(Selenium::WebDriver::Error::WebDriverError)
</pre>
<p>Para corrigir &#8220;paliativamente&#8221; e continuar a rodar meus testes fiz o downgrade do Firefox para versão 3.6.19 executando os passos abaixo:</p>
<p>1) Precisei limpar completamente a versão anterior do Firefox usando o <a href="http://freemacsoft.net/#" target="_blank">AppCleaner</a> que é free;</p>
<p>2) Encontrei as versões anteriores do FF no <a href="http://mac.oldapps.com/firefox.php" target="_blank">OldApps.com</a>;</p>
<p>3) Desabilitei o update de versões do FF em Preferences/Advanced/Update</p>
<p>Quem estiver como este mesmo problema no Ubuntu pode resolver com ajuda deste dois posts:</p>
<p><a href="http://code.dblock.org/unable-to-obtain-stable-firefox-connection-in-60-seconds-downgrading-firefox-on-ubuntu" target="_blank">http://code.dblock.org/unable-to-obtain-stable-firefox-connection-in-60-seconds-downgrading-firefox-on-ubuntu</a> </p>
<p><a href="http://blog.troyastle.com/2011/06/downgrade-to-firefox-36-on-ubuntu-natty.html" target="_blank">http://blog.troyastle.com/2011/06/downgrade-to-firefox-36-on-ubuntu-natty.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mauriciodeamorim.com.br/2011/08/23/downgrade-firefox-no-mac-para-rodar-cucumber-com-selenium-webdriver/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Resolvendo problema com Bundler – snapshot (Gemfile.lock)</title>
		<link>http://mauriciodeamorim.com.br/2010/10/19/resolvendo-problema-com-bundler-snapshot-gemfile-lock/</link>
		<comments>http://mauriciodeamorim.com.br/2010/10/19/resolvendo-problema-com-bundler-snapshot-gemfile-lock/#comments</comments>
		<pubDate>Tue, 19 Oct 2010 09:44:43 +0000</pubDate>
		<dc:creator>Mauricio de Amorim</dc:creator>
				<category><![CDATA[Dicas]]></category>
		<category><![CDATA[Dicas rápidas]]></category>
		<category><![CDATA[Erros]]></category>
		<category><![CDATA[bundle]]></category>
		<category><![CDATA[bundler]]></category>

		<guid isPermaLink="false">http://mauriciodeamorim.com.br/?p=766</guid>
		<description><![CDATA[Esses dias me deparei com um problema ao utilizar o Bundler com Rails 3, erroneamente eu rodei comando: bundle install --deployment Com isso obtive o seguinte erro: You have modified your Gemfile in development but did not check the resulting snapshot (Gemfile.lock) into version control Isto é um bug que foi reportado esses dias no [...]]]></description>
			<content:encoded><![CDATA[<p>Esses dias me deparei com um problema ao utilizar o <a href="http://gembundler.com/" target="_blank">Bundler</a> com Rails 3, erroneamente eu rodei comando:</p>
<pre> bundle install --deployment </pre>
<p>Com isso obtive o seguinte erro: </p>
<pre style="background-color: black; color: red">
You have modified your Gemfile in development but did not check
the resulting snapshot (Gemfile.lock) into version control
</pre>
<p>Isto é um <a href="http://github.com/carlhuda/bundler/issues/issue/749" target="_blank">bug</a> que foi reportado esses dias no projeto do <a href="http://gembundler.com/" target="_blank"">Bundler</a> que pode ser resolvido com este fix:</p>
<pre>rm -rf .bundle &#038;&#038; bundle install</pre>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://mauriciodeamorim.com.br/2010/10/19/resolvendo-problema-com-bundler-snapshot-gemfile-lock/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Erro ao instalar MySql com Homebrew no MacOS</title>
		<link>http://mauriciodeamorim.com.br/2010/07/11/erro-ao-instalar-mysql-com-homebrew-no-macos/</link>
		<comments>http://mauriciodeamorim.com.br/2010/07/11/erro-ao-instalar-mysql-com-homebrew-no-macos/#comments</comments>
		<pubDate>Sun, 11 Jul 2010 04:43:36 +0000</pubDate>
		<dc:creator>Mauricio de Amorim</dc:creator>
				<category><![CDATA[Erros]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[homebrew]]></category>
		<category><![CDATA[MacOS]]></category>
		<category><![CDATA[MySql]]></category>

		<guid isPermaLink="false">http://mauriciodeamorim.com.br/?p=688</guid>
		<description><![CDATA[Ao tentar instalar o MySql com Homebrew no meu MacOS Snow Leopard 10.6.4 obtive o seguinte erro: macos-snow ~ $ brew install mysql ==> Downloading ftp://ftp.cwru.edu/pub/bash/readline-6.0.tar.gz curl: (7) couldn't connect to host Este erro pode ocorrer se você re-instalou o seu SO ou está com uma máquina nova porque o MySql depende do bash e [...]]]></description>
			<content:encoded><![CDATA[<p>Ao tentar instalar o MySql com <a href="http://mxcl.github.com/homebrew/" target="_blank">Homebrew</a> no meu MacOS Snow Leopard 10.6.4 obtive o seguinte erro:</p>
<pre style="background-color: black; color: white;">
macos-snow ~  $ brew install mysql
<span style="color: #F9D64C">==> Downloading ftp://ftp.cwru.edu/pub/bash/readline-6.0.tar.gz</span>
curl: <span style="color: #FF3F3F">(7) couldn't connect to host</span>
</pre>
<p>Este erro pode ocorrer se você re-instalou o seu SO ou está com uma máquina nova porque o MySql depende do <a href="http://pt.wikipedia.org/wiki/Bash" target="_blank">bash</a> e o <a href="http://www.linuxfromscratch.org/lfs/view/6.5/chapter06/readline.html" target="_blank">Readline</a> é um componente para edição e histórico da linha de comando <a href="http://www.jorgebernal.info/development/fixing-snow-leopard-ruby-readline" target="_blank">por isso o Readline é instalado</a> antes da instalação do MySql.</p>
<p>A solução mais rápida foi editar a fórmula para instalação do Readline em /usr/local/Library/Formula/readline.rb e trocar o endereço <b>ftp://ftp.cwru.edu/pub/bash/readline-6.0.tar.gz</b> por <b>ftp://ftp.gnu.org/pub/gnu/readline/readline-6.0.tar.gz</b>, no meu caso isto aconteceu porque o primeiro endereço não estava respondendo.</p>
<pre style="background-color: black; color: white;">
class Readline  Formula
  url <b style="color: #FF3F3F">'ftp://ftp.cwru.edu/pub/bash/readline-6.0.tar.gz'</b>
  md5 'b7f65a48add447693be6e86f04a63019'
  homepage 'http://tiswww.case.edu/php/chet/readline/rltop.html' 

   ...
OS X provides the BSD Readline library. In order to prevent conflicts when
programs look for libreadline we are defaulting this GNU Readline installation
to keg-only.
   ...
</pre>
<p>Fica aqui a dica também se você quiser editar fórmulas para instalar com o Homebrew, no diretório /usr/local/Library/Formula/ irá encontrá-las. Para criar novas fórmulas visite <a href="http://wiki.github.com/mxcl/homebrew/formula-cookbook" target="_blank">Wiki do Homebrew</a> ou leia este post do <a href="http://akitaonrails.com/2010/02/27/limpando-meu-ambiente-de-desenvolvimento-parte-2-homebrew" target="_blank">AkitaOnRails</a>.</p>
<p><b>Mais informações: </b><br />
<a href="http://www.mail-archive.com/cygwin@cygwin.com/msg94439.html" target="_blank"> &#8211; Bash-4.0 available for FTP</a><br />
<a href="http://tim.theenchanter.com/2010/01/getting-ruby-to-use-readline-instead-of.html" target="_blank"">- Use readline instead of libedit</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mauriciodeamorim.com.br/2010/07/11/erro-ao-instalar-mysql-com-homebrew-no-macos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

