<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Installing Edge Ferret/acts_as_ferret</title>
	<atom:link href="http://pathfindersoftware.com/2008/11/installing-edge-ferretacts_as_ferret/feed/" rel="self" type="application/rss+xml" />
	<link>http://pathfindersoftware.com/2008/11/installing-edge-ferretacts_as_ferret/</link>
	<description>The Fastest Way to Launch Successful Software</description>
	<lastBuildDate>Thu, 19 Jan 2012 16:36:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Anthony Caliendo</title>
		<link>http://pathfindersoftware.com/2008/11/installing-edge-ferretacts_as_ferret/#comment-8976</link>
		<dc:creator>Anthony Caliendo</dc:creator>
		<pubDate>Tue, 16 Dec 2008 21:36:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=1246#comment-8976</guid>
		<description>Yes, you need to have an existing ferret index in order to use that rake task.
You can either create a custom rake task, or, as you did, hop into the console and manually invoke Foo.rebuild_index.

I would vote the custom rake task route, as a new person/new environment will need to do that as well.

Here is a snipet (replace Foo and Bar with your classes):
desc &#039;create fresh ferret index&#039;
task :ferret_build =&gt; :environment do
  [Foo, Bar].each(&amp;:rebuild_index)
end

Also, thanks for the github tip.  I&#039;ll update my post to use that as the URL.</description>
		<content:encoded><![CDATA[<p>Yes, you need to have an existing ferret index in order to use that rake task.<br />
You can either create a custom rake task, or, as you did, hop into the console and manually invoke Foo.rebuild_index.</p>
<p>I would vote the custom rake task route, as a new person/new environment will need to do that as well.</p>
<p>Here is a snipet (replace Foo and Bar with your classes):<br />
desc &#8216;create fresh ferret index&#8217;<br />
task :ferret_build =&gt; :environment do<br />
  [Foo, Bar].each(&amp;:rebuild_index)<br />
end</p>
<p>Also, thanks for the github tip.  I&#8217;ll update my post to use that as the URL.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alderete</title>
		<link>http://pathfindersoftware.com/2008/11/installing-edge-ferretacts_as_ferret/#comment-8975</link>
		<dc:creator>Alderete</dc:creator>
		<pubDate>Thu, 04 Dec 2008 11:10:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=1246#comment-8975</guid>
		<description>OK, it looks like the problem is that the SVN repository is no longer being maintained for acts_as_ferret; the repository is now hosted at RubyForge, with a mirror on GitHub. The correct command to install the acts_as_ferret plug-in from the repository is thus:

&lt;code&gt;script/plugin install git://github.com/jkraemer/acts_as_ferret.git&lt;/code&gt;

Once I did that and rebuilt my indexes, my searches now work. Note that I rebuilt my indexes manually, in script/console, using Model.rebuild_index, e.g., &quot;Person.rebuild_index&quot;. Now that it&#039;s working, I&#039;m too afraid to try the Rake task to do the rebuilding...</description>
		<content:encoded><![CDATA[<p>OK, it looks like the problem is that the SVN repository is no longer being maintained for acts_as_ferret; the repository is now hosted at RubyForge, with a mirror on GitHub. The correct command to install the acts_as_ferret plug-in from the repository is thus:</p>
<p><code>script/plugin install git://github.com/jkraemer/acts_as_ferret.git</code></p>
<p>Once I did that and rebuilt my indexes, my searches now work. Note that I rebuilt my indexes manually, in script/console, using Model.rebuild_index, e.g., &#8220;Person.rebuild_index&#8221;. Now that it&#8217;s working, I&#8217;m too afraid to try the Rake task to do the rebuilding&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alderete</title>
		<link>http://pathfindersoftware.com/2008/11/installing-edge-ferretacts_as_ferret/#comment-8974</link>
		<dc:creator>Alderete</dc:creator>
		<pubDate>Thu, 04 Dec 2008 10:37:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=1246#comment-8974</guid>
		<description>Hmmm, looking at the ferret:rebuild rake task, it appears you need to provide the name of the index(es) to rebuild in an INDEXES environment variable, ala:

&lt;code&gt;INDEXES=&quot;person project publication skill&quot; rake ferret:rebuild --trace&lt;/code&gt;

But this also errors out, just in a slightly different place:

&lt;code&gt;$ INDEXES=&quot;development&quot; rake ferret:rebuild --trace
(in /Users/maalder/Code/Rails/thunderbook.maalder.dev)
** Invoke ferret:rebuild (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute ferret:rebuild
rake aborted!
development
/Users/maalder/Code/Rails/thunderbook.maalder.dev/vendor/plugins/acts_as_ferret/lib/acts_as_ferret.rb:264:in `get_index&#039;
/Users/maalder/Code/Rails/thunderbook.maalder.dev/vendor/plugins/acts_as_ferret/lib/acts_as_ferret.rb:385:in `rebuild_index&#039;
/Users/maalder/Code/Rails/thunderbook.maalder.dev/vendor/plugins/acts_as_ferret/tasks/ferret.rake:12
/Users/maalder/Code/Rails/thunderbook.maalder.dev/vendor/plugins/acts_as_ferret/tasks/ferret.rake:10:in `each&#039;
/Users/maalder/Code/Rails/thunderbook.maalder.dev/vendor/plugins/acts_as_ferret/tasks/ferret.rake:10
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in `call&#039;
[...]&lt;/code&gt;

Also, my former method of rebuilding my indexes, simply deleting them and restarting my application, and then running a search, is creating an &quot;index&quot; that looks nothing like the old version, with only two files per model, one of which is empty, and one of which is only a few lines long.

Maybe getting the latest ferret and acts_as_ferret from the trunk isn&#039;t such a good idea, the currently checked in version is busted...?</description>
		<content:encoded><![CDATA[<p>Hmmm, looking at the ferret:rebuild rake task, it appears you need to provide the name of the index(es) to rebuild in an INDEXES environment variable, ala:</p>
<p><code>INDEXES="person project publication skill" rake ferret:rebuild --trace</code></p>
<p>But this also errors out, just in a slightly different place:</p>
<p><code>$ INDEXES="development" rake ferret:rebuild --trace<br />
(in /Users/maalder/Code/Rails/thunderbook.maalder.dev)<br />
** Invoke ferret:rebuild (first_time)<br />
** Invoke environment (first_time)<br />
** Execute environment<br />
** Execute ferret:rebuild<br />
rake aborted!<br />
development<br />
/Users/maalder/Code/Rails/thunderbook.maalder.dev/vendor/plugins/acts_as_ferret/lib/acts_as_ferret.rb:264:in `get_index'<br />
/Users/maalder/Code/Rails/thunderbook.maalder.dev/vendor/plugins/acts_as_ferret/lib/acts_as_ferret.rb:385:in `rebuild_index'<br />
/Users/maalder/Code/Rails/thunderbook.maalder.dev/vendor/plugins/acts_as_ferret/tasks/ferret.rake:12<br />
/Users/maalder/Code/Rails/thunderbook.maalder.dev/vendor/plugins/acts_as_ferret/tasks/ferret.rake:10:in `each'<br />
/Users/maalder/Code/Rails/thunderbook.maalder.dev/vendor/plugins/acts_as_ferret/tasks/ferret.rake:10<br />
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in `call'<br />
[...]</code></p>
<p>Also, my former method of rebuilding my indexes, simply deleting them and restarting my application, and then running a search, is creating an &#8220;index&#8221; that looks nothing like the old version, with only two files per model, one of which is empty, and one of which is only a few lines long.</p>
<p>Maybe getting the latest ferret and acts_as_ferret from the trunk isn&#8217;t such a good idea, the currently checked in version is busted&#8230;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alderete</title>
		<link>http://pathfindersoftware.com/2008/11/installing-edge-ferretacts_as_ferret/#comment-8973</link>
		<dc:creator>Alderete</dc:creator>
		<pubDate>Thu, 04 Dec 2008 10:19:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=1246#comment-8973</guid>
		<description>I&#039;m having some problems with this. Running the tests via &quot;rake&quot; seemed to compile everything, and ran the tests with 0 failures, 0 errors. Packaging also seemed to work fine, as did installation. I can see the new version of ferret in the output of &quot;gem list&quot;, and I was able to unpack it into vendor/gems.

But when I run &quot;rake ferret:rebuild&quot; to rebuild my indexes, I get errors:

&lt;code&gt;$ rake ferret:rebuild --trace
(in /Users/maalder/Code/Rails/thunderbook.maalder.dev)
** Invoke ferret:rebuild (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute ferret:rebuild
rake aborted!
You have a nil object when you didn&#039;t expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.split
/Users/maalder/Code/Rails/thunderbook.maalder.dev/vendor/plugins/acts_as_ferret/tasks/ferret.rake:9
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in `call&#039;
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in `execute&#039;
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `each&#039;
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `execute&#039;
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:578:in `invoke_with_call_chain&#039;
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize&#039;
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:571:in `invoke_with_call_chain&#039;
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:564:in `invoke&#039;
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2019:in `invoke_task&#039;
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `top_level&#039;
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `each&#039;
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `top_level&#039;
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling&#039;
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1991:in `top_level&#039;
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1970:in `run&#039;
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling&#039;
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in `run&#039;
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/bin/rake:31
/usr/bin/rake:19:in `load&#039;
/usr/bin/rake:19&lt;/code&gt;

I am completely baffled and obviously, without an index, I&#039;m getting no search results at all. Any ideas?</description>
		<content:encoded><![CDATA[<p>I&#8217;m having some problems with this. Running the tests via &#8220;rake&#8221; seemed to compile everything, and ran the tests with 0 failures, 0 errors. Packaging also seemed to work fine, as did installation. I can see the new version of ferret in the output of &#8220;gem list&#8221;, and I was able to unpack it into vendor/gems.</p>
<p>But when I run &#8220;rake ferret:rebuild&#8221; to rebuild my indexes, I get errors:</p>
<p><code>$ rake ferret:rebuild --trace<br />
(in /Users/maalder/Code/Rails/thunderbook.maalder.dev)<br />
** Invoke ferret:rebuild (first_time)<br />
** Invoke environment (first_time)<br />
** Execute environment<br />
** Execute ferret:rebuild<br />
rake aborted!<br />
You have a nil object when you didn't expect it!<br />
You might have expected an instance of Array.<br />
The error occurred while evaluating nil.split<br />
/Users/maalder/Code/Rails/thunderbook.maalder.dev/vendor/plugins/acts_as_ferret/tasks/ferret.rake:9<br />
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in `call'<br />
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in `execute'<br />
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `each'<br />
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `execute'<br />
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:578:in `invoke_with_call_chain'<br />
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'<br />
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:571:in `invoke_with_call_chain'<br />
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:564:in `invoke'<br />
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2019:in `invoke_task'<br />
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `top_level'<br />
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `each'<br />
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `top_level'<br />
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling'<br />
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1991:in `top_level'<br />
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1970:in `run'<br />
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling'<br />
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in `run'<br />
/Library/Ruby/Gems/1.8/gems/rake-0.8.3/bin/rake:31<br />
/usr/bin/rake:19:in `load'<br />
/usr/bin/rake:19</code></p>
<p>I am completely baffled and obviously, without an index, I&#8217;m getting no search results at all. Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kishore</title>
		<link>http://pathfindersoftware.com/2008/11/installing-edge-ferretacts_as_ferret/#comment-8972</link>
		<dc:creator>kishore</dc:creator>
		<pubDate>Mon, 24 Nov 2008 10:46:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=1246#comment-8972</guid>
		<description>is this stable</description>
		<content:encoded><![CDATA[<p>is this stable</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic (User agent is rejected)
Page Caching using memcached (User agent is rejected)

Served from: pathfindersoftware.com @ 2012-02-10 01:52:54 -->
