<?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>Shaping Clouds &#187; silence_warning</title>
	<atom:link href="http://shapingclouds.com/tag/silence_warning/feed/" rel="self" type="application/rss+xml" />
	<link>http://shapingclouds.com</link>
	<description>A blog on developing, deploying and maintaining web applications at Firmhouse</description>
	<lastBuildDate>Mon, 14 Nov 2011 22:00:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Solution for undefined method `alias_method_chain&#8217; after upgrading to Rails 2.3.2</title>
		<link>http://shapingclouds.com/2009/06/11/solution-for-undefined-method-alias_method_chain-after-upgrading-to-rails-2-3-2/</link>
		<comments>http://shapingclouds.com/2009/06/11/solution-for-undefined-method-alias_method_chain-after-upgrading-to-rails-2-3-2/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 22:34:32 +0000</pubDate>
		<dc:creator>Michiel</dc:creator>
				<category><![CDATA[General Posts]]></category>
		<category><![CDATA[alias_method_chain]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[passenger]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[silence_warning]]></category>

		<guid isPermaLink="false">http://shapingclouds.com/?p=223</guid>
		<description><![CDATA[Tonight I was working on an old Rails app which I upgraded to Rails 2.3.2. All code went fine and on my local Mac installation all worked perfect. When I tried to deploy to the live environment I got the following strange error: undefined method `alias_method_chain&#8217; for I18n::Backend::Simple:Class At first, I thought this had something [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Tonight I was working on an old Rails app which I upgraded to Rails 2.3.2. All code went fine and on my local Mac installation all worked perfect. When I tried to deploy to the live environment I got the following strange error:</p>
<p style="padding-left: 30px;">undefined method `alias_method_chain&#8217; for I18n::Backend::Simple:Class</p>
<p>At first, I thought this had something to do with new i18n stuff in Rails 2.3.2 and after half an hour of Googling I finally got the answer. ActiveSupport and ActiveRecord in Rails now require ruby-iconv to be installed. This is probably available in most installations &#8211; because there where only 2 pages of unhelpfull answers on Google &#8211; but it wasn&#8217;t on my production environment.</p>
<p>I hope this blogpost will save you some Googling and it will fix the undefined method `alias_method_chain&#8217; for I18n::Backend::Simple:Class error message. Also this error can happen with the following message: undefined method `silence_warnings&#8217; for main:Object.</p>
<p><strong>So the solution is: install ruby-iconv</strong>.<strong> </strong> If you&#8217;re running FreeBSD, that&#8217;s in /usr/ports/convertors/ruby-iconv (via: <a href="http://forums.freebsd.org/archive/index.php/t-763.html">http://forums.freebsd.org/archive/index.php/t-763.htm</a>l)</p>
]]></content:encoded>
			<wfw:commentRss>http://shapingclouds.com/2009/06/11/solution-for-undefined-method-alias_method_chain-after-upgrading-to-rails-2-3-2/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

