<?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"
	>

<channel>
	<title>WallerDev</title>
	<atom:link href="http://wallerdev.com/feed" rel="self" type="application/rss+xml" />
	<link>http://wallerdev.com</link>
	<description>Enterprise Ready</description>
	<pubDate>Wed, 15 Oct 2008 00:32:18 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>undefined symbol: rb_Digest_MD5_Init</title>
		<link>http://wallerdev.com/2008/10/14/undefined-symbol-rb_digest_md5_init</link>
		<comments>http://wallerdev.com/2008/10/14/undefined-symbol-rb_digest_md5_init#comments</comments>
		<pubDate>Wed, 15 Oct 2008 00:32:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://wallerdev.com/?p=14</guid>
		<description><![CDATA[So you may be getting an error like this after installing openssh and trying to build ruby again from source:

/usr/local/lib/ruby/1.8/i686-linux/digest/md5.so: /usr/local/lib/ruby/1.8/i686-linux/digest/md5.so: undefined symbol: rb_Digest_MD5_Init - /usr/local/lib/ruby/1.8/i686-linux/digest/md5.so (LoadError)

The problem as I soon figured out is that you forgot to run

make clean

That way the md5 lib will be rebuilt with openssh support since it is built fine [...]]]></description>
			<content:encoded><![CDATA[<p>So you may be getting an error like this after installing openssh and trying to build ruby again from source:<br />
<code><br />
/usr/local/lib/ruby/1.8/i686-linux/digest/md5.so: /usr/local/lib/ruby/1.8/i686-linux/digest/md5.so: undefined symbol: rb_Digest_MD5_Init - /usr/local/lib/ruby/1.8/i686-linux/digest/md5.so (LoadError)<br />
</code><br />
The problem as I soon figured out is that you forgot to run<br />
<code><br />
make clean<br />
</code><br />
That way the md5 lib will be rebuilt with openssh support since it is built fine without openssh support.</p>
]]></content:encoded>
			<wfw:commentRss>http://wallerdev.com/2008/10/14/undefined-symbol-rb_digest_md5_init/feed</wfw:commentRss>
		</item>
		<item>
		<title>Reverting to a specific commit hash with git</title>
		<link>http://wallerdev.com/2008/09/23/reverting-to-a-specific-commit-hash-with-git</link>
		<comments>http://wallerdev.com/2008/09/23/reverting-to-a-specific-commit-hash-with-git#comments</comments>
		<pubDate>Tue, 23 Sep 2008 05:24:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Git]]></category>

		<guid isPermaLink="false">http://wallerdev.com/?p=13</guid>
		<description><![CDATA[Well, it took me awhile to figure this out so hopefully it will help somebody else.

git reset --hard 9bb0d4ff290d651d1299efd48b420decfc3c90c6

Where 9bb0d4ff290d651d1299efd48b420decfc3c90c6 is the hash of the commit you want to go back to (listed in git log).
]]></description>
			<content:encoded><![CDATA[<p>Well, it took me awhile to figure this out so hopefully it will help somebody else.<br />
<code><br />
git reset --hard 9bb0d4ff290d651d1299efd48b420decfc3c90c6<br />
</code><br />
Where 9bb0d4ff290d651d1299efd48b420decfc3c90c6 is the hash of the commit you want to go back to (listed in git log).</p>
]]></content:encoded>
			<wfw:commentRss>http://wallerdev.com/2008/09/23/reverting-to-a-specific-commit-hash-with-git/feed</wfw:commentRss>
		</item>
		<item>
		<title>no such file to load &#8212; /vendor/rails/railties/lib/initializer</title>
		<link>http://wallerdev.com/2008/07/30/no-such-file-to-load-vendorrailsrailtieslibinitializer</link>
		<comments>http://wallerdev.com/2008/07/30/no-such-file-to-load-vendorrailsrailtieslibinitializer#comments</comments>
		<pubDate>Wed, 30 Jul 2008 20:47:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://wallerdev.com/?p=12</guid>
		<description><![CDATA[When deploying with capistrano, using git, and rails as a submodule in vendor/rails, you might run into the following error:


** [out :: domain] (in /var/www/apps/domain/releases/20080730043012)
** [out :: domain] rake aborted!
** [out :: domain] no such file to load &#8211;/var/www/apps/domain/releases/20080730043012/config/../vendor/rails/railties/lib/initializer
** [out :: domain] /var/www/apps/domain/releases/20080730043012/Rakefile:4
** [out :: domain] (See full trace by running task with &#8211;trace)

When you [...]]]></description>
			<content:encoded><![CDATA[<p>When deploying with capistrano, using git, and rails as a submodule in vendor/rails, you might run into the following error:</p>
<pre name="code" class="xml">

** [out :: domain] (in /var/www/apps/domain/releases/20080730043012)
** [out :: domain] rake aborted!
** [out :: domain] no such file to load &#8211;/var/www/apps/domain/releases/20080730043012/config/../vendor/rails/railties/lib/initializer
** [out :: domain] /var/www/apps/domain/releases/20080730043012/Rakefile:4
** [out :: domain] (See full trace by running task with &#8211;trace)
</pre>
<p>When you check to see why it can&#8217;t find the file you&#8217;ll see /vendor/rails is empty.  Once you understand why it&#8217;s empty (because it&#8217;s a git submodule), you&#8217;ll realize that capistrano isn&#8217;t doing the necessary commands to initialize that submodule.  These commands are:</p>
<pre name="code" class="ruby">

git submodule init
git submodule update
</pre>
<p>Luckily, capistrano has added support for this by using the following in your deploy.rb.</p>
<pre name="code" class="ruby">

set :git_enable_submodules, true
</pre>
<p>That will cause capistrano to execute the necessary commands for submodules:</p>
<pre name="code" class="ruby">

if configuration[:git_enable_submodules]
  execute &lt;&lt; &quot;#{git} submodule #{verbose} init&quot;
  execute &lt;&lt; &quot;#{git} submodule #{verbose} update&quot;
end
</pre>
]]></content:encoded>
			<wfw:commentRss>http://wallerdev.com/2008/07/30/no-such-file-to-load-vendorrailsrailtieslibinitializer/feed</wfw:commentRss>
		</item>
		<item>
		<title>super: no superclass method `require&#8217; (NoMethodError)</title>
		<link>http://wallerdev.com/2008/07/30/no-superclass-method-require</link>
		<comments>http://wallerdev.com/2008/07/30/no-superclass-method-require#comments</comments>
		<pubDate>Wed, 30 Jul 2008 07:13:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://wallerdev.com/?p=11</guid>
		<description><![CDATA[I had an issue a few hours ago where I was getting the following message when running script/server after trying to do a deployment.
super: no superclass method `require' (NoMethodError)
The problem seemed to be a mix of haml and rails 2.1.  It worked on my development machine though, so there is probably something more to [...]]]></description>
			<content:encoded><![CDATA[<p>I had an issue a few hours ago where I was getting the following message when running script/server after trying to do a deployment.</p>
<p><code>super: no superclass method `require' (NoMethodError)</code></p>
<p>The problem seemed to be a mix of haml and rails 2.1.  It worked on my development machine though, so there is probably something more to it than that.</p>
<p>After spending some time trying to find the issue I eventually found that this was the reason of failure :</p>
<p>(/usr/lib/ruby/gems/1.8/gems/haml-2.0.1/lib/haml.rb:1033):</p>
<pre name="code" class="ruby">

%w[haml/template sass sass/plugin].each(&amp;method(:require))
</pre>
<p>I wasn&#8217;t totally sure what that is expected to do.  I figured at first maybe it was supposed to be a Symbol#to_proc conversion, but method isn&#8217;t a symbol, so I&#8217;m still not totally sure what that is supposed to do.  Anyway, what&#8217;s important is that I replaced it with:</p>
<pre name="code" class="ruby">

%w[haml/template sass sass/plugin].each { |x| require x }
</pre>
<p>After that everything worked just fine.</p>
<p>The full trace I received with the error is listed below:</p>
<p><code>=> Booting Mongrel (use 'script/server webrick' to force WEBrick)<br />
=> Rails 2.1.0 application starting on http://0.0.0.0:1200<br />
=> Call with -d to detach<br />
=> Ctrl-C to shutdown server<br />
** Starting Mongrel listening at 0.0.0.0:1200<br />
** Starting Rails with production environment...<br />
Exiting<br />
/var/www/apps/domain/releases/20080730050116/vendor/rails/activesupport/lib/active_support/dependencies.rb:144:in `require': super: no superclass method `require' (NoMethodError)<br />
	from /var/www/apps/domain/releases/20080730050116/vendor/rails/activesupport/lib/active_support/dependencies.rb:503:in `new_constants_in'<br />
	from /var/www/apps/domain/releases/20080730050116/vendor/rails/activesupport/lib/active_support/dependencies.rb:144:in `require'<br />
	from /var/www/apps/domain/releases/20080730050116/vendor/rails/activesupport/lib/active_support/core_ext/module/attribute_accessors.rb:36:in `to_proc'<br />
	from /usr/lib/ruby/gems/1.8/gems/haml-2.0.1/lib/haml.rb:1033:in `each'<br />
	from /usr/lib/ruby/gems/1.8/gems/haml-2.0.1/lib/haml.rb:1033:in `init_rails'<br />
	from /var/www/apps/domain/releases/20080730050116/vendor/plugins/haml/init.rb:7:in `evaluate_init_rb'<br />
	from ./script/../config/../vendor/rails/railties/lib/rails/plugin.rb:103:in `evaluate_init_rb'<br />
	from /var/www/apps/domain/releases/20080730050116/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'<br />
	from ./script/../config/../vendor/rails/railties/lib/rails/plugin.rb:99:in `evaluate_init_rb'<br />
	from ./script/../config/../vendor/rails/railties/lib/rails/plugin.rb:44:in `load'<br />
	from ./script/../config/../vendor/rails/railties/lib/rails/plugin/loader.rb:33:in `load_plugins'<br />
	from ./script/../config/../vendor/rails/railties/lib/rails/plugin/loader.rb:32:in `each'<br />
	from ./script/../config/../vendor/rails/railties/lib/rails/plugin/loader.rb:32:in `load_plugins'<br />
	from ./script/../config/../vendor/rails/railties/lib/initializer.rb:311:in `load_plugins'<br />
	from ./script/../config/../vendor/rails/railties/lib/initializer.rb:150:in `process'<br />
	from ./script/../config/../vendor/rails/railties/lib/initializer.rb:105:in `send'<br />
	from ./script/../config/../vendor/rails/railties/lib/initializer.rb:105:in `run'<br />
	from /var/www/apps/domain/releases/20080730050116/config/environment.rb:13<br />
	from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'<br />
	from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'<br />
	from /var/www/apps/domain/releases/20080730050116/vendor/rails/activesupport/lib/active_support/dependencies.rb:144:in `require'<br />
	from /var/www/apps/domain/releases/20080730050116/vendor/rails/activesupport/lib/active_support/dependencies.rb:503:in `new_constants_in'<br />
	from /var/www/apps/domain/releases/20080730050116/vendor/rails/activesupport/lib/active_support/dependencies.rb:144:in `require'<br />
	from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:147:in `rails'<br />
	from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:113:in `cloaker_'<br />
	from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:149:in `call'<br />
	from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:149:in `listener'<br />
	from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:99:in `cloaker_'<br />
	from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:50:in `call'<br />
	from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:50:in `initialize'<br />
	from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:84:in `new'<br />
	from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:84:in `run'<br />
	from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run'<br />
	from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281<br />
	from /var/www/apps/domain/releases/20080730050116/vendor/rails/activesupport/lib/active_support/dependencies.rb:137:in `load_without_new_constant_marking'<br />
	from /var/www/apps/domain/releases/20080730050116/vendor/rails/activesupport/lib/active_support/dependencies.rb:137:in `load'<br />
	from /var/www/apps/domain/releases/20080730050116/vendor/rails/activesupport/lib/active_support/dependencies.rb:503:in `new_constants_in'<br />
	from /var/www/apps/domain/releases/20080730050116/vendor/rails/activesupport/lib/active_support/dependencies.rb:137:in `load'<br />
	from /var/www/apps/domain/releases/20080730050116/vendor/rails/railties/lib/commands/servers/mongrel.rb:64<br />
	from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'<br />
	from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'<br />
	from /var/www/apps/domain/releases/20080730050116/vendor/rails/activesupport/lib/active_support/dependencies.rb:144:in `require'<br />
	from /var/www/apps/domain/releases/20080730050116/vendor/rails/activesupport/lib/active_support/dependencies.rb:503:in `new_constants_in'<br />
	from /var/www/apps/domain/releases/20080730050116/vendor/rails/activesupport/lib/active_support/dependencies.rb:144:in `require'<br />
	from /var/www/apps/domain/releases/20080730050116/vendor/rails/railties/lib/commands/server.rb:49<br />
	from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'<br />
	from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'<br />
	from script/server:3</code></p>
]]></content:encoded>
			<wfw:commentRss>http://wallerdev.com/2008/07/30/no-superclass-method-require/feed</wfw:commentRss>
		</item>
		<item>
		<title>Undefined method &#8216;capture_erb_with_buffer&#8217;</title>
		<link>http://wallerdev.com/2008/06/21/undefined-method-capture_erb_with_buffer</link>
		<comments>http://wallerdev.com/2008/06/21/undefined-method-capture_erb_with_buffer#comments</comments>
		<pubDate>Sat, 21 Jun 2008 17:50:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Rails]]></category>

		<category><![CDATA[haml]]></category>

		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://wallerdev.com/?p=10</guid>
		<description><![CDATA[I just ran into this issue when starting a new rails project, and attempting to use the script/generate resource generator.  You might get an error like this:
/Library/Ruby/Gems/1.8/gems/haml-2.0.0/lib/haml/helpers/action_view_mods.rb:46:in `alias_method': undefined method `capture_erb_with_buffer' for module `ActionView::Helpers::CaptureHelper' (NameError)
If you do, the solution is to open up that file (action_view_mods.rb) in a text editor and find the lines:


 [...]]]></description>
			<content:encoded><![CDATA[<p>I just ran into this issue when starting a new rails project, and attempting to use the script/generate resource generator.  You might get an error like this:</p>
<p><code>/Library/Ruby/Gems/1.8/gems/haml-2.0.0/lib/haml/helpers/action_view_mods.rb:46:in `alias_method': undefined method `capture_erb_with_buffer' for module `ActionView::Helpers::CaptureHelper' (NameError)</code></p>
<p>If you do, the solution is to open up that file (action_view_mods.rb) in a text editor and find the lines:</p>
<pre name="code" class="ruby">

        alias_method :capture_erb_with_buffer_without_haml, :capture_erb_with_buffer
        alias_method :capture_erb_with_buffer, :capture_erb_with_buffer_with_haml
</pre>
<p>And change them to:</p>
<pre name="code" class="ruby">

        alias_method :capture_erb_with_buffer, :capture_erb_with_buffer_with_haml
        alias_method :capture_erb_with_buffer_without_haml, :capture_erb_with_buffer
</pre>
<p>For some reason it was referencing an aliased method before it aliased it.</p>
]]></content:encoded>
			<wfw:commentRss>http://wallerdev.com/2008/06/21/undefined-method-capture_erb_with_buffer/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
